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

ble_nus_data_send error

Hi, 

Recently, I've found a reset issue with my device by ble_nus_data_send error when ble is working.

But the error code is 0x3401(Please, refer the picture). What does that mean? Is there any other header with the definitions than nrf_error.h?

Before handling the error, I need to understand why that error happened and what kind of errors it is.

Thank you.

[code for ble_nus_data_send]

    if(m_conn_handle != BLE_CONN_HANDLE_INVALID)
    {
        // uint32_t err_code;
        do
        {
            err_code_test = ble_nus_data_send(&m_nusdata_array, &lengthm_conn_handle);
            if((err_code_test != NRF_ERROR_INVALID_STATE) &&
               (err_code_test != NRF_ERROR_RESOURCES) &&
               (err_code_test != NRF_ERROR_NOT_FOUND))
            {
                APP_ERROR_CHECK(err_code_test);
            }
        } while(err_code_test == NRF_ERROR_RESOURCES && block);
    }
[exception call stack captured]
Related