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

  • Hi,

       by doing this i got this error in debug mode

    <info> app_timer: RTC: initialized.
    <error> app: ERROR 7 [NRF_ERROR_INVALID_PARAM] at D:\DeviceDownload (2)\nRF5_SDK_17.1.0_ddde560\nRF5_SDK_17.1.0_ddde560\examples\ble_peripheral\APP_UART\main.c:838
    PC at: 0x0002BECF
    <error> app: End of error report

Reply Children
Related