We are having some issues with the Gateway: after restart/redeploy of the gateway we get two times the following message “BLE_ERROR_HW_NOT_FOUND” in the BLEAPP_ERROR_CALLBACK. The first one is 40 seconds after restart, the second one is 67 seconds after restart.
It seems that after this error is fired, the BLE is restarted:
2021-09-18 18:06:03.964 [BV] Error CB: BLE_ERROR_HW_NOT_FOUND
2021-09-18 18:06:03.972 DEVINFO(0): NRF52 - ScannerApp - - 01v007
2021-09-18 18:06:03.975 DEVINFO(0): 00:00:00:00:00
These restarts are causing problems, because if we initiate Connect and the BLE is restarted, we get the following error in hte Connect_Callback:
2021-09-18 18:05:39.755 [NUS] NUS_BleApp_Connect_Callback(handle=0, connhandle=0, connected=-1, addr=C6-B9-08-D9-38-AB).
Please also note that we we are doing BleApp_Disable right after restart/redeploy and then 10 seconds laters, we are doing BleApp_Enable. The reason we do that is because we want to make sure all active connections are dropped, otherwise some devices remain connected, but the gateway script is not aware of that.
Can you please help with the reason for restart.
We would also like to know what does connected=-1 mean.