noble / bleno

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

stateChange never change and freeze on poweredOff #474

Open quartze opened 2 years ago

quartze commented 2 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