Hello,
I've moved from Ubuntu to SolusOS. I'm very happy with the lightweight distro.
Nevertheless, I'm a bit lost with eopkg manager.
For my development, I'm using Noble which is the Node.js package for communicating with BLE devices.
The Bluetooth is working very good for headphones etc. but I can't make this package working.
Here is the repo:
https://github.com/noble/noble
The installation for Ubuntu is:
sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev
For SolusOS, I've install bluez and bluez-devel package. Others are not available.
Then, I've setup capabilities: cap_net_raw+eip
When using getcap, I have cap_net_raw=eip (not '+' but '='):
/usr/lib/node_modules/electron/cli.js cap_net_raw=eip
When I start my app, I can get the BLE state if I am in sudo. Setcap seems to be not working.
Did I miss something ? Is it normal to have this '=' instead of '+' ?
Even if I can get the BLE state in sudo, I still can't scan any devices.
Using Ubuntu, It's working very good.
Do you have any advice?
Thanks!