I tried a lot of things in this app for a lot of time,changed a lot of libraries for the client app in python, nothing worked, i spent at least 5 weeks on this part. The problem: Rpi3 connects just at the level of my phone os bluetooth, but the server client that i wrote in my android app doesnt accept it, also, can't send/receive data from one to another (ofc) S = socket.socket(socket.AF_BLUETOOTH, socket.SOCK_STREAM, socket.BTPROTO_RFCOMM) Used this python code(from my Pi3) for tryn to connect as a client on my server class.I used this tutorial for inspiration of my bluetooth server class that runs on my Android app (and convert it to kotlin) My goal is : send via bluetooth certain string comand from my Android app to a Raspberry Pi device so it can runs a script,and after it is done, send back the message to my Android appġ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |