Skip to contentSkip to conversation

connecting to a serial dongle with a PIN

Bluez-users Russell Senior 2 participants 2 messages Apr 26, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Could someone please explain to me how I connect from a USB bluetooth dongle to a bluetooth serial dongle that uses a PIN. I try this:

  # l2ping 00:0B:CE:00:7A:8F
  Can't connect: Permission denied

A simultaneous hcidump shows:

  # hcidump -V
  HCI sniffer - Bluetooth packet analyzer ver 1.17
  device: hci0 snap_len: 1028 filter: 0xffffffff
  < HCI Command: Create Connection (0x01|0x0005) plen 13
Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

      Create Connection (0x01|0x0005) status 0x00 ncmd 1
Quoted 1 line

HCI Event: PIN Code Request (0x16) plen 6

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

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 10

      PIN Code Request Negative Reply (0x01|0x000e) ncmd 1
Quoted 1 line

HCI Event: Connect Complete (0x03) plen 11

status 0x18 handle 41 bdaddr 00:0B:CE:00:7A:8F type ACL encrypt 0x00
Error: Unknown LMP PDU

This is on a Debian/unstable system with:

   bluez-hcidump  1.17-1
   bluez-pin      0.25-1
   bluez-utils    2.15-1

installed. Linux kernel v2.6.11.7.

Thanks!

Signature · 13 lines
Russell Senior         ``I have nine fingers; you have ten.''
[email protected]


-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
maintainer
#1 lore raw

Hi Russell,

Quoted 13 lines

Could someone please explain to me how I connect from a USB bluetooth dongle to a bluetooth serial dongle that uses a PIN. I try this:

  # l2ping 00:0B:CE:00:7A:8F
  Can't connect: Permission denied

A simultaneous hcidump shows:

  # hcidump -V
  HCI sniffer - Bluetooth packet analyzer ver 1.17
  device: hci0 snap_len: 1028 filter: 0xffffffff
  < HCI Command: Create Connection (0x01|0x0005) plen 13
Quoted 1 line

HCI Event: Command Status (0x0f) plen 4

Quoted 8 lines
      Create Connection (0x01|0x0005) status 0x00 ncmd 1
Quoted 1 line

HCI Event: PIN Code Request (0x16) plen 6

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

Quoted 1 line

HCI Event: Command Complete (0x0e) plen 10

      PIN Code Request Negative Reply (0x01|0x000e) ncmd 1
Quoted 1 line

HCI Event: Connect Complete (0x03) plen 11

status 0x18 handle 41 bdaddr 00:0B:CE:00:7A:8F type ACL encrypt 0x00
Error: Unknown LMP PDU

it seems that the PIN helper program can't be executed. Look at the mailing list archives for help in this case.

Regards

Marcel

-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users