ERROR 17 [NRF_ERROR_BUSY] at ..\..\..\..\..\..\components\libraries\log\src\nrf_log_backend_uart.c:83

Hello sir,

              I am sending  the  data of 252 bytes through send_notification()  at each interval of time  but when i send through send_notification() then following error occurs  ERROR 17  [NRF_ERROR_BUSY] at ..\..\..\..\..\..\components\libraries\log\src\nrf_log_backend_uart.c:83. Here  i used the uint32_t ble_cus_custom_value_update(ble_cus_t * p_cus, uint8_t custom_value);  for sending the data  from device to nrf connect app.The error occurs when i try to send  the  data when the bytes is above 350.In SDK configuration i have used NRF_SDH_BLE_GATT_MAX_MTU_SIZE is 255 which is maximum value.So every time i have been saving the data of 252 bytes in one variable after 252 bytes full then again i have been sending the data to same variable after clearing the data and send through send notification.But after 312 bytes the following  ERROR 17 [NRF_ERROR_BUSY] at ..\..\..\..\..\..\components\libraries\log\src\nrf_log_backend_uart.c:83 error occurs.So unable to fix it .Can you tell me how to fix it .

  • Hi Amey, 

    Could you tell a little more about your application ? Do you use UART for anything except for logging ?

    Do you printout any log inside send_notification() or in function inside that ? 

    Seems like you are trying to print out the payload into UART logging ? 
    I suspect that you receive error 17 because the UART logging is too slow for printing out all the payload. 

Related