I don't know much about BLE, and I never used it on Linux. I see that the documentation for Bluez does not say it is supported on ARM, which I find a bit surprising, especially considering that the
python example actually uses it and is meant to run on an ARM board. As you say, in principle it is not a problem to have a
node server: you would just need a socket connection (e.g.: UDP, using Bela's UdpClient/UdpServer classes) between the server and the Bela application.
So I'd recommend you try out the
python example and see if you can get it to work for your purposes. It seems to come with a decent documentation, so you should be able to get started. Note that to run the commands listed in the README, you'd have to log onto the board via
- bring up a terminal (like the
Terminal app on Mac, or Putty or Mingw on Windows)
ssh firstname.lastname@example.org (or
ssh email@example.com on Windows) and you will be logged into the board.
Furthermore, to run the
sudo apt-get commands (and possibly more) you need the board to be connected to the internet (I see here that you are sorted with that).
So I'd say try out the python option. If that works out fine, then we can help you to have it communicate it with a Bela program.