Connecting a Holux M1000 bluetooth GPS to Linux

systemctl enable bluetooth.service
systemctl start bluetooth.service
hcitool scan
bluez-simple-agent hci0 00:1B:C1:00:FF:4E

Basically you need to use your Konsole and do the following:
sdptool browse 00:1B:C1:00:FF:4E

Browsing 00:1B:C1:00:FF:4E …
Service Name: SPP slave
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

That returns all services on your BT device.

Then look for your GPS item and what channel (here: 1) its on. Then do this:

rfcomm bind /dev/rfcomm0
rfcomm bind /dev/rfcomm0 00:1B:C1:00:FF:4E 1

That basically binds the BT device to /dev/rfcomm0. So then just go into minicom and tell it to use /dev/rfcomm0
Baud Rate? 38400 bps
Data bit? 8
Parity? No
Stop bit? 1


Thanks to:

Schreibe einen Kommentar