Nokia LD-3W 00:11:22:33:44:55
Bluetooth dongle: 55:44:33:22:11:00
Start bluetooth and your dongle (hci0):
# /etc/init.d/bluetooth start
# hciconfig hci0 up
# hcitool dev
Devices:
hci0 55:44:33:22:11:00
# hciconfig hci0 up
# hcitool dev
Devices:
hci0 55:44:33:22:11:00
# hcitool scan
Scanning ...
00:11:22:33:44:55 Nokia LD-3W
Scanning ...
00:11:22:33:44:55 Nokia LD-3W
# sdptool browse --l2cap 00:11:22:33:44:55
Browsing 00:11:22:33:44:55 ...
Service Name: Dev B
Service RecHandle: 0x10000
Service Class ID List:
"Serial Port" (0x1101)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 1
Language Base Attr List:
code_ISO639: 0x656e
encoding: 0x6a
base_offset: 0x100
Browsing 00:11:22:33:44:55 ...
Service Name: Dev B
Service RecHandle: 0x10000
Service Class ID List:
"Serial Port" (0x1101)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 1
Language Base Attr List:
code_ISO639: 0x656e
encoding: 0x6a
base_offset: 0x100
/etc/bluetooth/rfcomm
rfcomm0 {
bind no;
device 00:11:22:33:44:55;
channel 1;
comment "Nokia LD-3W";
}
bind no;
device 00:11:22:33:44:55;
channel 1;
comment "Nokia LD-3W";
}
/var/lib/bluetooth/55:44:33:22:11:00/pincodes
00:11:22:33:44:55 0000
Of you can do it quickly just with:
$ echo "00:11:22:33:44:55 0000" > /var/lib/bluetooth/55:44:33:22:11:00/pincodes
Connect:
# rfcomm connect 0
Start gps daemon:
# gpsd -b /dev/rfcomm0
Test it with gpspipe:
# gpspipe -r
Big thank to nightlybuild@backtrack forum about helping me with my PIN code issue =)










[...] LD-3W Bluetooth GPS on Backtrack Linux – http://www.petrilopia.net/wordpress/software/nokia-ld-3w-bluetooth-gps-on-backtrack-linux/ Tags: fresh, [...]
Like or Dislike:
0
0