noble / bleno

A Node.js module for implementing BLE (Bluetooth Low Energy) peripherals
MIT License
2.13k stars 449 forks source link

using bleno in a systemd service #351

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hello, I am using bleno in an systemd service. The service is waiting for the hci service and the blutooth service at my raspberry zero w with raspian installed. I am initialising all event listeners after the bluetooth service is up and running and after checking that the bluetooth device is realy up and assigned in hicitool. My problem is that bleno do not recognize that all neccesary services are up and running it says always that the state is poweredOff and if i reload the bleno module it says that the state of my adapter is unknown. how can i solve this?

sandeepmistry commented 6 years ago

Closing as duplicate of https://github.com/sandeepmistry/bleno/issues/342.