Pairing errors with pc-ble-driver-js in one of our production locations

Hi,
We have a typescript-based code running pc-ble-driver-js on a linux machine, with peripherals that are nrf52840 or nrf52833, which is a setup we have used with minimal side effects so far.
In one of our production locations, there is a peak in driver errors caused by pairing:

  • There is a high number of NRF_ERROR_NO_MEM - I think "too" many of the peripherals are trying to pair at the same time, but I am unsure how we did not have this occur on bigger in-office stores. 1575 occurrences of this in the past 4 days.
  • ​There is also this error which is recurring, which I have not seen before: "Error occured when replying sec params. Errorcode: Unknown value (0x8001)". 549 occurrences of this in the past 4 days. I think https://devzone.nordicsemi.com/f/nordic-q-a/16531/error-when-trying-to-pair-bond-to-a-peripheral-in-nrf-connect-v1-0-on-linux is similar, but no response. 0x8001 maps to, as is written, "unknown error".
  • There is another less popular recurring error which I likewise have never seen before: "BLE Failed to decode event, error code is 9/0x9." 348 occurrences, always coupled with NRF_NO_MEM, in the past 4 days. Error code 9 seems to map to invalid length of response https://devzone.nordicsemi.com/f/nordic-q-a/11653/sdk-10-0-scanner-beacon-sd_ble_enable-returns-error-9.
  • There is also an unusually large number of disconnects due to BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED - 19.5 K in the past 4 days. We are used to this happenng sporadically at the driver level, but not in such large quantities.

What is the cause of these errors?
Thanks!

Roi

Parents Reply Children
No Data
Related