Hi!
We're working with a gateway comprised of a workstation running RHEL 8.5, a Bluetooth USB dongle with a nRF52840 chip running the connectivity_4.1.2_usb_with_s132_5.1.0 firmware. The gateway uses PC- BLE-DRIVER-JS to control the dongle and send/receive data.
On one of our working stations, after days of active BLE connections without issues, this error was logged:
info: [libs/bleAdapter] startScan Started scanning...
error: [libs/bleAdapter] pc-ble-driver {
"message": "Error occured when starting scan",
"description": {
"errno": 12289,
"errcode": "BLE_ERROR_NOT_ENABLED",
"erroperation": "starting scan",
"errmsg": "Error occured when starting scan. Errorcode: BLE_ERROR_NOT_ENABLED (0x3001)\n"
}
}
2022-06-15T23:24:32.015Z error: [server] unhandledRejection Error starting scanning: Error: Error occured when starting scan. Errorcode: BLE_ERROR_NOT_ENABLED (0x3001)
.: Error: Error starting scanning: Error: Error occured when starting scan. Errorcode: BLE_ERROR_NOT_ENABLED (0x3001)
.
at /opt/central/code/build/libs/bleAdapter.js:134:28
at /opt/central/code/node_modules/pc-ble-driver-js/api/adapter.js:2389:29
The BLE_ERROR_NOT_ENABLED error, via a short google search leads to a 'you need to enable the SD before advertising' which does not fit here, as we've been scanning and connecting with BLE peripherals for days before this happened.
Any other thoughts as to how we could get this error from the BLE driver?
Thanks!