Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5359

Networking and servers • Re: Ideas for controlling a Raspberry Pi 5 via Android App

$
0
0
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:

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?

Might Blue Dot provide any assistance or inspiration?

https://bluedot.readthedocs.io/en/lates ... arted.html


or RaspController

viewtopic.php?t=362705

Statistics: Posted by B.Goode — Mon Aug 05, 2024 5:34 pm



Viewing all articles
Browse latest Browse all 5359

Trending Articles