Could not connect with pand profile
Dear all
I am developing a embedded device with pand profile. But the device
can not connect to a bluetooth access point with error code 0x22 which is LMP timeout. Below is the hcidump result.
It seems to not give out the pincode. Although the bluepin script is
refined to one line "echo PIN:0000" , i don't know whether it is the problem. And all other things are the default setting.
< HCI Command: Create Connection(0x01|0x0005) plen 13
5A 06 00 E0 08 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: Role Change(0x12) plen 8
00 5A 06 00 E0 08 00 01
Quoted 1 line
HCI Event: PIN Code Request(0x16) plen 6
5A 06 00 E0 08 00
Quoted 1 line
HCI Event: Connect Complete(0x03) plen 11
22 29 00 5A 06 00 E0 08 00 01 00
hciconfig -a
hci0: Type: UART
BD Address: 00:08:E0:04:A4:BF ACL MTU: 192:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:5933 acl:153 sco:0 events:337 errors:0
TX bytes:3632 acl:141 sco:0 commands:71 errors:0
Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy:
Link mode: SLAVE ACCEPT
Name: '00:08:E0:04:A4:BF'
Class: 0x000000
Service Classes: Unspecified
Device Class: Miscellaneous,
HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1) LMP Subver:0x20d
Manufacturer: Cambridge Silicon Radio (10)
Thx for helping
Mike,Lee
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Mike,
Quoted 33 lines
I am developing a embedded device with pand profile. But the device
can not connect to a bluetooth access point with error code0x22which is LMP timeout. Below is the hcidump result.
It seems to not give out the pincode. Although the bluepin script is
refined to one line "echo PIN:0000" , i don't know whether it is the problem. And all other things are the default setting.< HCI Command: Create Connection(0x01|0x0005) plen 13
5A 06 00 E0 08 00 18 CC 02 00 00 00 01Quoted 1 line
HCI Event: Command Status(0x0f) plen 4
00 01 05 04
Quoted 1 line
HCI Event: Role Change(0x12) plen 8
00 5A 06 00 E0 08 00 01
Quoted 1 line
HCI Event: PIN Code Request(0x16) plen 6
5A 06 00 E0 08 00
Quoted 1 line
HCI Event: Connect Complete(0x03) plen 11
22 29 00 5A 06 00 E0 08 00 01 00
hciconfig -a
hci0: Type: UARTBD Address: 00:08:E0:04:A4:BF ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN RX bytes:5933 acl:153 sco:0 events:337 errors:0 TX bytes:3632 acl:141 sco:0 commands:71 errors:0 Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: Link mode: SLAVE ACCEPT Name: '00:08:E0:04:A4:BF' Class: 0x000000 Service Classes: Unspecified Device Class: Miscellaneous, HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1) LMP Subver:
Quoted 2 lines
0x20d
Manufacturer: Cambridge Silicon Radio (10)
make sure that hcid is running, because otherwise you won't have a security manager and the link policy would also not be set.
Regards
Marcel
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users