RESET ON ADVERTISE START

Hi,

    i am working on nRF52832. i am facing a issue of  RESET when i call advertise_start() again after advertise duration. in debug it shows fatal error.

Parents
  • Hello,

    This sounds like a non-NRF_SUCCESS error code is passed to an APP_ERROR_CHECK, which resets the device, which in turns means that the function call failed for some reason.

    Please make sure to have DEBUG defined in your preprocessor defines, like shown in the included image:

    This will make your logger output a detailed error message whenever a non-NRF_SUCCESS error code is passed to an APP_ERROR_CHECK.

    Please do this, and check the returned error code against the returning function's API reference, to see why it was returned and what you could do to resolve it.

    Best regards,
    Karl

Reply
  • Hello,

    This sounds like a non-NRF_SUCCESS error code is passed to an APP_ERROR_CHECK, which resets the device, which in turns means that the function call failed for some reason.

    Please make sure to have DEBUG defined in your preprocessor defines, like shown in the included image:

    This will make your logger output a detailed error message whenever a non-NRF_SUCCESS error code is passed to an APP_ERROR_CHECK.

    Please do this, and check the returned error code against the returning function's API reference, to see why it was returned and what you could do to resolve it.

    Best regards,
    Karl

Children
Related