Skip to contentSkip to conversation

pin code problem - noob

Bluez-users Thomas PEYRIN 2 participants 2 messages Apr 8, 2004 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

hi !

i'm trying to do the authentification between a palm m515 and my laptop with linux (suse 8.2) and a usb dongle (acer). But that doesn't work (the palm work with others devices for authentification) because it seems that bluez can't find the pin code. Here's the dump :

HCIDump - HCI packet analyzer ver 1.7
device: hci0 snap_len: 1028 filter: 0xffffffff

Quoted 1 line

HCI Event: Connect Request(0x04) plen 10

< HCI Command: Accept Connection Request(0x01|0x0009) plen 7

Quoted 2 lines

HCI Event: Command Status(0x0f) plen 4 HCI Event: Link Key Request(0x17) plen 6

< HCI Command: Link Key Request Negative
Reply(0x01|0x000c) plen 6

Quoted 2 lines

HCI Event: Command Complete(0x0e) plen 10 HCI Event: PIN Code Request(0x16) plen 6

< HCI Command: PIN Code Request Negative
Reply(0x01|0x000e) plen 6

Quoted 2 lines

HCI Event: Command Complete(0x0e) plen 10 HCI Event: Connect Complete(0x03) plen 11

and my hciconfig :

hci0: Type: USB

        BD Address: 00:02:72:B2:0E:C4 ACL MTU: 192:8 
SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN AUTH ENCRYPT
        RX bytes:235 acl:0 sco:0 events:26 errors:0
        TX bytes:348 acl:0 sco:0 commands:17 errors:0

but i don't understant why the palm doesn't even ask me for the pin code ...

thanks in advance !

Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! Messenger sur http://fr.messenger.yahoo.com

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#1 lore raw

Hi Thomas,

Quoted 26 lines

i'm trying to do the authentification between a palm m515 and my laptop with linux (suse 8.2) and a usb dongle (acer). But that doesn't work (the palm work with others devices for authentification) because it seems that bluez can't find the pin code. Here's the dump :

HCIDump - HCI packet analyzer ver 1.7
device: hci0 snap_len: 1028 filter: 0xffffffff

Quoted 1 line

HCI Event: Connect Request(0x04) plen 10

< HCI Command: Accept Connection Request(0x01|0x0009) plen 7

Quoted 2 lines

HCI Event: Command Status(0x0f) plen 4 HCI Event: Link Key Request(0x17) plen 6

< HCI Command: Link Key Request Negative Reply(0x01|0x000c) plen 6

Quoted 2 lines

HCI Event: Command Complete(0x0e) plen 10 HCI Event: PIN Code Request(0x16) plen 6

< HCI Command: PIN Code Request Negative Reply(0x01|0x000e) plen 6

Quoted 2 lines

HCI Event: Command Complete(0x0e) plen 10 HCI Event: Connect Complete(0x03) plen 11

and my hciconfig :

hci0: Type: USB

Quoted 8 lines
        BD Address: 00:02:72:B2:0E:C4 ACL MTU: 192:8 
SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN AUTH ENCRYPT
        RX bytes:235 acl:0 sco:0 events:26 errors:0
        TX bytes:348 acl:0 sco:0 commands:17 errors:0

but i don't understant why the palm doesn't even ask me for the pin code ...

don't enable auth and encrypt in hcid.conf, because this sets your device into security mode 3 and this is not needed. Check that the PIN helper script is working. If not replace it with a simple shell script. Look in the mailing list archive for more details.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users