1 of 1 people found this helpful
Look at Bleno (sandeepmistry/bleno · GitHub) - it's a Node.JS module and it works fine (at least in Debian / Ubilinux, I'm assuming it will work fine in the default Yocto firmware as well). I haven't looked into it much, but their example code worked great!
Thank you for your reply, I will definitely go for the Bleno solution!
<SEMI OFF TOPIC>
However, it sounds weird to me that there are no other libraries for Linux. I could be forced to write a piece of code in Python (mandatory for some parts of my projects) and a bluetooth server in Node.js.
Moreover, we have also to take into account the shell command rfkill unblock bluetooth at Edison startup.
I will go for the design of a Python framework for BT LE peripheral but I thought that BT LE was better supported.
</SEMI OFF TOPIC>