Until now I have developed several programs to use in my Raspberry Rpi2 and RPi3 as BLE perifpherals using bleno. Can anyone tell me if there is something alternative to Bleno, in Python or even better in C, to develop a code for a BLE peripherals service for my Raspberry?
I've had this same pain as you - trying to get a good BLE Peripheral role library for python - so I went ahead and ported Bleno to python2/3. It's still a WIP, but the Echo demo works just fine.
https://github.com/Adam-Langley/pybleno/
And it's on pypi as "pybleno"
Of course, a big shout out to Sandeep Mistry for the fantastic original node codebase.
Hopefully people find it useful.
Well you can always use the HCI_CHANNEL_USER feature in Linux to talk to the Bluetooth controller directly (from C for example). In fact that's exactly what bleno does. Just follow the HCI protocol in the Bluetooth specification.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With