Rfcomm resource temperorily unavailable problem
Dear all,
We are facing one problem while connecting with rfcomm. hciattach, hciconfig, hcitool scan all are working fine.
presently we are having only
while we try to connect with rfcomm, it says that rfcomm resuorce unavailable. we are think that it is because of PIN information conflict.
Hcidump message is given below,
< HCI Command: Create Connection (0x01|0x0005) plen 13
70 E2 73 6D 0E 00 18 CC 02 00 00 00 01
Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
00 01 05 04
Quoted 1 line
HCI Event: Connect Complete (
0x03) plen 11
00 28 00 70 E2 73 6D 0E 00 01 00
< ACL data: handle 0x0028 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 3 scid 0x0040
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
28 00 0F 00
Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
01 28 00 01 00
Quoted 1 line
HCI Event: Command Complete (
0x0e) plen 6
01 0D 08 00 28 00
Quoted 1 line
HCI Event: Max Slots Change (
0x1b) plen 3
28 00 05
Quoted 1 line
ACL data: handle
0x0028flags0x02dlen 16
L2CAP(s): Connect rsp: dcid 0x0093 scid 0x0040 result 1 status 2
Quoted 1 line
HCI Event: QoS Setup Complete (
0x0d) plen 21
00 28 00 00 01 00 00 00 00 00 00 00 00 FF FF FF FF FF FF FF FF
Quoted 1 line
ACL data: handle
0x0028flags0x02dlen 16
L2CAP(s): Connect rsp: dcid 0x0093 scid 0x0040 result 0 status 0
< ACL data: handle 0x0028 flags 0x02 dlen 16
L2CAP(s): Config req: dcid 0x0093 flags 0x0000 clen 4 MTU 1024
Quoted 1 line
ACL data: handle
0x0028flags0x02dlen 12
L2CAP(s): Config req: dcid 0x0040 flags 0x0000 clen 0
< ACL data: handle 0x0028 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0093 flags 0x0000 result 0 clen 0
Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
01 28 00 01 00
Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
01 28 00 01 00
Quoted 1 line
ACL data: handle
0x0028flags0x02dlen 18
L2CAP(s): Config rsp: scid 0x0040 flags 0x0000 result 0 clen 4 MTU 672
< ACL data: handle 0x0028 flags 0x02 dlen 8
L2CAP(d): cid 0x0093 len 4 [psm 3]
RFCOMM(s): SABM: cr 1 dlci 0 pf 1 ilen 0 fcs 0x1c
Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
01 28 00 01 00
Quoted 1 line
ACL data: handle
0x0028flags0x02dlen 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 0x0028 flags 0x02 dlen 18
L2CAP(d): cid 0x0093 len 14 [psm 3]
RFCOMM(s): PN CMD: cr 1 dlci 0 pf 0 ilen 10 fcs 0x70 mcc_len 8 dlci 20 frame_type 0 credit_flow 15 pri 7 ack_timer 0 frame_size 667 max_retrans 0 credits 7
Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
01 28 00 01 00
Quoted 1 line
ACL data: handle
0x0028flags0x02dlen 18
L2CAP(d): cid 0x0040 len 14 [psm 3]
RFCOMM(s): PN RSP: cr 0 dlci 0 pf 0 ilen 10 fcs 0xaa mcc_len 8 dlci 20 frame_type 0 credit_flow 14 pri 7 ack_timer 0 frame_size 667 max_retrans 0 credits 3
< ACL data: handle 0x0028 flags 0x02 dlen 8
L2CAP(d): cid 0x0093 len 4 [psm 3]
RFCOMM(s): SABM: cr 1 dlci 20 pf 1 ilen 0 fcs 0xfd
Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
01 28 00 01 00
Quoted 1 line
HCI Event: PIN Code Request (
0x16) plen 6
70 E2 73 6D 0E 00
-- here some time it takes after PIN code request -----------------
Can't connect RFCOMM socket: Resource temporarily unavailable < ACL data: handle 0x0028 flags 0x02 dlen 8
L2CAP(d): cid 0x0093 len 4 [psm 3]
RFCOMM(s): DISC: cr 1 dlci 20 pf 1 ilen 0 fcs 0x1c
< ACL data: handle 0x0028 flags 0x02 dlen 8
L2CAP(d): cid 0x0093 len 4 [psm 3]
RFCOMM(s): DISC: cr 1 dlci 0 pf 1 ilen 0 fcs 0xfd< ACL data: handle 0x0028 flags 0x02 dlen 12
L2CAP(s): Disconn req: dcid 0x0093 scid 0x0040
[root@localhost bin]# > HCI Event: Number of Completed Packets (0x13) plen 5
01 28 00 01 00
Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
01 28 00 01 00
Quoted 1 line
HCI Event: Number of Completed Packets (
0x13) plen 5
01 28 00 01 00
Quoted 1 line
ACL data: handle
0x0028flags0x02dlen 8
L2CAP(d): cid 0x0040 len 4 [psm 3]
RFCOMM(s): UA: cr 1 dlci 20 pf 1 ilen 0 fcs 0x36
Quoted 1 line
ACL data: handle
0x0028flags0x02dlen 8
L2CAP(d): cid 0x0040 len 4 [psm 3]
RFCOMM(s): UA: cr 1 dlci 0 pf 1 ilen 0 fcs 0xd7
Quoted 1 line
ACL data: handle
0x0028flags0x02dlen 12
L2CAP(s): Disconn rsp: dcid 0x0093 scid 0x0040
< HCI Command: Disconnect (0x01|0x0006) plen 3
28 00 13
Quoted 1 line
HCI Event: Command Status (
0x0f) plen 4
00 01 06 04
Quoted 1 line
HCI Event: Disconn Complete (
0x05) plen 4
00 28 00 16
Thanks in advance for valuable support.
Hariharan.V.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users