When running the script, it will first ask for the com port where the dongle is connected (usually ‘/dev/ttyACM0’). After that, the BleuIO will start advertising. Every 8th second it will turn on one of the onboard Beaglebone Black LEDs whilst changing the BLE advertising name to indicate which LED is on.
We are using the Linux debian image: ‘OMAP3/DM3730 Debian 9.5 2018-10-07 4GB SD LXQT’ (https://beagleboard.org/latest-images).
You can get access to the project HERE
https://github.com/smart-sensor-devices-ab/beaglebone_bleuio_example
We are using the Adafruit_BBIO python library that comes with the Beaglebone to control the onboard LEDs.
Read details of the project at
https://www.bleuio.com/blog/details.php?id=1396&title=Bluetooth-Low-Energy-(BLE)-Tutorial-for-Beaglebone-using-BleuIO