Through send_notification data send indefintely

Hello sir,

            I am sending the  data  through  ble_custom_value_update function  the data goes in indefinite loop .I have also used (err_code == NRF_ERROR_RESOURCES) function but still data goes in indefinite manner.I have to get the data once when i send the data through send notification  so how i can stop the data in indefinite loop can you suggest me.

Parents
  • Hello,

    Please elaborate further on your issue.
    Which exact function returns the error code, and what error code is being returned?
    It would be helpful if you also show the section of the code that behaves unexpectedly. Please use the Insert -> Code feature to share code here on DevZone.

    Please make sure to have DEBUG defines 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.

    Best regards,
    Karl

Reply
  • Hello,

    Please elaborate further on your issue.
    Which exact function returns the error code, and what error code is being returned?
    It would be helpful if you also show the section of the code that behaves unexpectedly. Please use the Insert -> Code feature to share code here on DevZone.

    Please make sure to have DEBUG defines 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.

    Best regards,
    Karl

Children
No Data
Related