This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error Code 0x3401

Hi, I'm calling sd_ble_gatts_hvx and every once in a while I get an error code of 0x3401. I went through the SDK documentation but I could not find what that error code is. Have you seen this error code before? thank you, akbar

Parents
  • Hi,

    I'm using softdevice 7.0.0 and last sdk,

    The same error occur when i want to send notification with notifications not enables despite catching NRF_ERROR_INVALID_STATE :

    err_code = sd_ble_gatts_hvx(p_bts->conn_handle, &params);  
    		if (err_code != NRF_SUCCESS &&
    			err_code != BLE_ERROR_INVALID_CONN_HANDLE &&
    			err_code != NRF_ERROR_INVALID_STATE)
    		{
    			APP_ERROR_CHECK(err_code);
    		}
    

    I'm not using bond manager and CCCD attributes are initialized after BLE_GATTS_EVT_SYS_ATTR_MISSING event :

    case BLE_GATTS_EVT_SYS_ATTR_MISSING:
            err_code = sd_ble_gatts_sys_attr_set(m_conn_handle, NULL, 0);
            APP_ERROR_CHECK(err_code);
    

    How i can avoid this error ?

    Regards,

    Thomas

Reply Children
No Data
Related