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!
↧