Greetings,
I want to write an Android App to controll a Raspberry Pi 5, i´ve followed a tutorial on youtube for the android app side: https://www.youtube.com/watch?v=8ypJkxU4FCw unfortuatly the app won't connect to the Raspberry Pi (at least not long enough to send anything) The Output from bluetoothctl looks like this:
Between yes and no are about 5 seconds...
When I connect the Smartphoen directly trough the Bluetooth-Settings from android, the connection stays up...
So my question is: Is there a better way to send messages (for controlling something on the Raspi) via bluetooth? E.g. an API for building a bluetooth-server wich handles the connection etc. for the Raspberry Pi?
I want to write an Android App to controll a Raspberry Pi 5, i´ve followed a tutorial on youtube for the android app side: https://www.youtube.com/watch?v=8ypJkxU4FCw unfortuatly the app won't connect to the Raspberry Pi (at least not long enough to send anything) The Output from bluetoothctl looks like this:
Code:
[CHG] Device D8:55:75:BE:72:CE Connected: yes[CHG] Device D8:55:75:BE:72:CE Connected: no
Between yes and no are about 5 seconds...
When I connect the Smartphoen directly trough the Bluetooth-Settings from android, the connection stays up...
So my question is: Is there a better way to send messages (for controlling something on the Raspi) via bluetooth? E.g. an API for building a bluetooth-server wich handles the connection etc. for the Raspberry Pi?
Statistics: Posted by SgtMcGreedy — Mon Aug 05, 2024 5:23 pm