I have installed node-red-contrib-xiaomi-ble and from reading the documentation for noble, finally got it to run using the command:
sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)
However, it now comes up with the error:
cannot connect: Error: COmmand Disallwoed (oxc)
I presume this may be related to the problem documented in
https://github.com/abandonware/noble
that "Some BLE adapters cannot connect to a peripheral while they are scanning"
If this is the case, can anyone tell me how I stop the adapter scanning so that it will connect instead?
Thanks.