noble / bleno

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

stateChange never change and freeze on poweredOff #474

Open quartze opened 3 years ago

quartze commented 3 years ago

When im waiting for change state with bleno.on('stateChange') the state is always poweredOff. debug:

bleno platform win32 +3ms
hci-usb reset +2ms
hci-usb write: 01030c00 +1ms
bleno stateChange poweredOff +2ms