Replies: 1 comment 2 replies
-
I haven't used bless before, but I would expect that script to have an infinite loop so that it keeps listening for requests from the connected client device. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
bluetoothctl -v
) in case of Linux: 5.64Description
Hello,
I'm interested in doing a quick proof of concept for a Bluetooth operation and came across BLEAK and BLESS for the Peripheral and Central emulation, respectively. These are identical laptops with bluetooth capability running Ubuntu
22.04
, BlueZ5.64
.What I Did
Currently, the central works fine against a GATT client from something like an Android (nRF Connect) or embedded device. However, if I attempt to connect with a BLEAK Client running on BlueZ, it will instantly disconnect given any of the client examples. My understanding is that I require some sort of configuration on the client for the server to trust the connection, but I'm not aware of how to do this with the BLEAK interface.
Example code, client.py
Vanilla logs
Server code (BLESS 0.2.6)
Logs
These are the logs with the BLEAK_LOGS variable enabled
Beta Was this translation helpful? Give feedback.
All reactions