bleak only for Bluetooth Low Energy and use with already established Bluetoothsocket (Pyjnius)? #719
Unanswered
PythonKivyuser
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Bleak is Bluetooth low energy only. If you are using RFCOMM, then it sounds like you are using Blueooth Classic. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there, I am trying to code an Android App which uses a basic Bluetooth connection to communicate with an HC-05 Module.
I have already written some code that is able to establish a Bluetooth connection based on a Bluetooth Socket. I realized this with the Pyjnius Python Module.
The Connection works fine till now but I have the problem that after the Phone has lost connection to the Module caused by distance or low battery the connection can't be reestablished because the current Code is using a simple variable to save the connection state.
If the connection is lost the variable can't be updated because I'm not able to get a connection Status.
Is it possible to get the connection Status with the bleak Module and establish the connection with my old code?
And is bleak only for Bluetooth Low Energy connections?
Code:
Beta Was this translation helpful? Give feedback.
All reactions