Bluetooth mesh for Raspberry Pi using python

1.2k Views Asked by At

Do you guys know any tutorials about working with Bluetooth mesh using python that I can study? I am planning to connect 3 Raspberry Pi using Bluetooth mesh that will only send strings of characters. I already did it using wifi but Bluetooth is needed also to be implemented. I am searching online but I am having a hard time seeing any tutorials about it. Thank you so much for the help!

1

There are 1 best solutions below

6
On

The documentation for the BlueZ (The Bluetooth stack used on RPi) API is at:

https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/mesh-api.txt

They have a Python example in the source tree:

https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/test/test-mesh

The Bluetooth SIG have an article introducing Bluetooth MESH:

https://www.bluetooth.com/blog/an-intro-to-bluetooth-mesh-part1/

As well as some study guides they have written:

https://www.bluetooth.com/bluetooth-resources/?types=study-guide&categories=&tags=&keyword=mesh

silvair is an early adopter of of Bluetooth MESH and they have a python library at:

https://python-bluetooth-mesh.readthedocs.io/en/latest/quickstart.html