From: Matt <chemvell@gmail.com>
To: "BlueZ users" <bluez-users@lists.sourceforge.net>
Subject: [Bluez-users] Can't connect RFCOMM socket
Date: Wed, 19 Mar 2008 12:15:17 +0530 [thread overview]
Message-ID: <8f5c4ad0803182345r5ff7fbc3v951ce38596436e3d@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1994 bytes --]
Hi,
I am using bluez-utils-3.28 and am trying to connect to
a Nokia phone from my PC which has a BT dongle.I run hcid .I scan for other
devies using hcitool scan..and connect to my Phone using....
$hcid &
$passkey-agent --default 0000 &
$ hcitool scan
$ rfcomm connect 0 00:0E:6D:E0:E5:13 1
The Phone asks for the pin . I enter "0000" as the PIN .After sometime I get
the error message
Can't connect RFCOMM socket: Resource temporarily unavailable.
hcidump shows that (After I enter the PIN on the phone )
> HCI Event: PIN Code Request (0x16) plen 6
< ACL data: handle 1 flags 0x02 dlen 8
L2CAP(d): cid 0x0064 len 4 [psm 3]
RFCOMM(s): DISC: cr 1 dlci 2 pf 1 ilen 0 fcs 0xb8
< ACL data: handle 1 flags 0x02 dlen 8
L2CAP(d): cid 0x0064 len 4 [psm 3]
RFCOMM(s): DISC: cr 1 dlci 0 pf 1 ilen 0 fcs 0xfd
< ACL data: handle 1 flags 0x02 dlen 12
L2CAP(s): Disconn req: dcid 0x0064 scid 0x0040
> HCI Event: Number of Completed Packets (0x13) plen 5
> HCI Event: Number of Completed Packets (0x13) plen 5
> HCI Event: Number of Completed Packets (0x13) plen 5
> ACL data: handle 1 flags 0x02 dlen 8
L2CAP(d): cid 0x0040 len 4 [psm 3]
RFCOMM(s): UA: cr 1 dlci 2 pf 1 ilen 0 fcs 0x92
> ACL data: handle 1 flags 0x02 dlen 8
L2CAP(d): cid 0x0040 len 4 [psm 3]
RFCOMM(s): UA: cr 1 dlci 0 pf 1 ilen 0 fcs 0xd7
> ACL data: handle 1 flags 0x02 dlen 12
L2CAP(s): Disconn rsp: dcid 0x0064 scid 0x0040
< HCI Command: Disconnect (0x01|0x0006) plen 3
> HCI Event: Command Status (0x0f) plen 4
> HCI Event: Disconn Complete (0x05) plen 4
I tried after removing the link keys
(/var/lib/bluetooth/XX:XX:XX:XX:XX:XX/) .Still I get the same error..What
could be the problem here..?
When I try the same thing with a PC with Fedora Core5 (without the
latest bluez and passkey-agent), I am asked to enter the PIN when I enter it
on the phone and the connection is successful..
Thank you for your time and consideration,
regards,
Matt.
[-- Attachment #1.2: Type: text/html, Size: 2557 bytes --]
[-- Attachment #2: Type: text/plain, Size: 228 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
[-- Attachment #3: Type: text/plain, Size: 164 bytes --]
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next reply other threads:[~2008-03-19 6:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-19 6:45 Matt [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-01-28 19:19 [Bluez-users] Can't connect RFCOMM socket: resource temporarily unavailable Marcel Holtmann
2005-01-31 16:36 ` [Bluez-users] Can't connect RFCOMM socket Filipa Duarte
2005-01-31 17:07 ` Marcel Holtmann
2005-01-19 18:33 soraberri
2005-01-19 20:38 ` Marcel Holtmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8f5c4ad0803182345r5ff7fbc3v951ce38596436e3d@mail.gmail.com \
--to=chemvell@gmail.com \
--cc=bluez-users@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox