AVRC_VendorRsp() function
* Function AVRC_VendorRsp * Description Send a VENDOR DEPENDENT response to the peer device. This * function can only be called for target role connections. * This function must be called when a VENDOR DEPENDENT * command message is received from the peer through the * tAVRC_MSG_CBACK callback function. * Input Parameters: * handle: Handle of this connection. * label: Transaction label. Must be the same value as * passed with the command message in the callback function. * p_msg: Pointer to VENDOR DEPENDENT message structure. * Output Parameters: * None. * Returns AVRC_SUCCESS if successful. * AVRC_BAD_HANDLE if handle is invalid.
![]()
UINT16 AVRC_VendorRsp(UINT8 handle, UINT8 label, tAVRC_MSG_VENDOR *p_msg)![]()
extern UINT16 AVRC_VendorRsp(UINT8 handle, UINT8 label, tAVRC_MSG_VENDOR *p_msg);![]()
AVRC_VendorRsp(p_rcb->handle, p_data->api_vendor.label, &p_data->api_vendor.msg);![]()
AVRC_VendorRsp(p_msg->handle, p_msg->label, &p_msg->msg.vendor);![]()
AVRC_VendorRsp(p_data->rc_msg.handle, p_data->rc_msg.label, &p_data->rc_msg.msg.vendor);
AVRC_VendorRsp() is called by 3 functions and calls 2 functions:
![]()
AVRC_VendorRsp()
AVRC_VendorRsp():
![]()
AVRC_VendorRsp()