|
Dobrica Pavlinušić's random unstructured stuff
Bluetooth: Revision 7
This page will try to document my long-living dream of having bluetooth software keyboard HID xkbd-bthid : a software Bluetooth HID KeyboardMy Changes
serial SPmodify systemd scripttab:~# sdptool browese local Failed to connect to SDP server on FF:FF:FF:00:00:00: No such file or directory tab:~# vi /etc/systemd/system/bluetooth.target.wants/bluetooth.service #ExecStart=/usr/lib/bluetooth/bluetoothd # make sdptool browse local work again! ExecStart=/usr/lib/bluetooth/bluetoothd --compat tab:~# systemctl daemon-reload tab:~# systemctl restart bluetooth.service serial server
root@rpi2:~# hciconfig
hci0: Type: BR/EDR Bus: UART
BD Address: B8:27:EB:A3:88:32 ACL MTU: 1021:8 SCO MTU: 64:1
DOWN
RX bytes:9088 acl:39 sco:0 events:343 errors:0
TX bytes:8208 acl:44 sco:0 commands:265 errors:0
root@rpi2:~# hciconfig hci0 up
root@rpi2:~# hciconfig
hci0: Type: BR/EDR Bus: UART
BD Address: B8:27:EB:A3:88:32 ACL MTU: 1021:8 SCO MTU: 64:1
UP RUNNING PSCAN
RX bytes:9784 acl:39 sco:0 events:382 errors:0
TX bytes:8967 acl:44 sco:0 commands:304 errors:0
root@rpi2:~# hciconfig hci0 piscan
tab:~# sdptool browse local | grep SP
tab:~# sdptool add --channel=22 SP
tab:~# rfcomm listen /dev/rfcomm0 22
Waiting for connection on channel 22
serial client |