Theres this app I found and id like to use it with my pi and python. Basically i want to be able to make python stuff happen when a specific button is pressed in the app. Ive got a bluetooth dongle but dont know what version it uses since ive had it for years and its pretty much ancient.
EDIT: Oops forgot to post app...
https://play.google.com/store/apps/deta ... Controller
EDIT: Oops forgot to post app...
https://play.google.com/store/apps/deta ... Controller
This signature intentionally left blank.
- Posts: 562
- Joined: Sun Sep 27, 2015 3:26 pm
You'll need to add the SP profile to the Pi. Edit this file:
Now, in a terminal on the Pi, enter the following:
-
CODE:
SELECT ALL
-
sudo nano /etc/systemd/system/dbus-org.bluez.service
-
CODE:
SELECT ALL
-
ExecStart=/usr/lib/bluetooth/bluetoothd -C
ExecStartPost=/usr/bin/sdptool add SP
Now, in a terminal on the Pi, enter the following:
-
CODE:
SELECT ALL
-
sudo rfcomm watch hci0