Running node-red on PI4 with latest bookworm variant.
After following the node-red instructions and initalizing, I get the error:
"bleNotify: received input but BLE interface is not initialized"
I have run npm install bleno@npm:@abandonware/bleno and can sucessfully create a peripheral following this example.
For those digging, looks like permissions need to be set. I ran this which seems to have solved the problem.
sudo setcap cap_net_raw+eip $(eval readlink -f which node)
Running node-red on PI4 with latest bookworm variant. After following the node-red instructions and initalizing, I get the error: "bleNotify: received input but BLE interface is not initialized"
I have run npm install bleno@npm:@abandonware/bleno and can sucessfully create a peripheral following this example.
any insights?