This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

error in device manager

Hi there! An error occurred in device manger. It was caught at the first APP_ERROR_CHECK in device_manager_evt_handler. Error code is 0x88. I can't find this error code in source. Does anyone have clues about this? There are some information following: image description image description image description Thanks!

Parents
  • Hi, think this error is received from your connected peer (BLE_GAP_SEC_STATUS_UNSPECIFIED = 0x88). Locate the following if statement in DM->BLE_GAP_EVT_AUTH_STATUS:

    if (p_ble_evt->evt.gap_evt.params.auth_status.auth_status != BLE_GAP_SEC_STATUS_SUCCESS)
    

    Place a breakpoint within this check and see if this is where the assert occurs. Then check if p_ble_evt->evt.gap_evt.params.error_src == BLE_GAP_SEC_STATUS_SOURCE_LOCAL or BLE_GAP_SEC_STATUS_SOURCE_REMOTE to determine the source of the error.

    On these kind of errors the application will simply reset by default (DEBUG not set). Thus, the device will start advertising again,hence allowing the peer to reattempt pairing.

  • Thank Vidar! I'll try to catch it, but I don't have a good way to reproduce this case.

Reply Children
No Data
Related