B4J Library [PyBridge] Bleak - Bluetooth BLE

Bleak is a Python BLE library: https://bleak.readthedocs.io/en/latest/index.html
The attached project wraps this library and allows scanning for BLE peripherals, connecting, reading, subscribing and writing.

The example project allows connecting to multiple devices at once.

java_vzc4t2s7Yj.gif



Python dependencies:
pip install bleak

Depends on B4J 10.2 beta #4+

Updates:
1.02 - Timeout implementation and Bleak.EnableDebugLogging.
 

Attachments

Last edited:
Tested successfully with B4J B4XPages UI Application and the B4R BLE Server rBLEServer (info).
Easy to use and many thanks for providing. Great work.
 
Last edited:
(bleak._initialize) - Python Error (ModuleNotFoundError) - Method: module.exec: No module named 'bleak'
 
Back
Top