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

BLE_ERROR_INVALID_CONN_HANDLE of ATVV service when master not support ATVV.

SDKv14.2  SR3v.12

Hi , My smartphone not support this service ,  error occurs when RCU trying to activate ATVV audio function,and causes system reboot because there is an error check. 

It occurs in static void m_coms_process_data(void) -> err_code = stream_processors[rr](&status)  which is static ret_code_t m_coms_process_audio_atvv_ctl(m_coms_data_process_status_t * p_status) -> m_coms_ble_atvv_ctl_pkt_queue_process() -> ret_code_t ble_atvv_ctl_send(ble_atvv_t const * p_atvv, uint16_t conn_handle, ble_atvv_ctl_type_t type,  void * p_param)   

Last function returns BLE_ERROR_INVALID_CONN_HANDLE, can I just ignore this error?   If this error comes from ATVV , then ignore the error,something like this?  

Because I dont want the RCU keeps rebooting just because the master doesn't support ATVV service.

Thanks.

Parents Reply Children
No Data
Related