Found 3 other functions taking a
tAVRC_MSG_PASS
argument:
* Function AVRC_PassRsp * Description Send a PASS THROUGH response to the peer device. This * function can only be called for target role connections. * This function must be called when a PASS THROUGH 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 PASS THROUGH message structure. * Output Parameters: * None. * Returns AVRC_SUCCESS if successful. * AVRC_BAD_HANDLE if handle is invalid.
* Function AVRC_PassCmd * Description Send a PASS THROUGH command to the peer device. This * function can only be called for controller role connections. * Any response message from the peer is passed back through * the tAVRC_MSG_CBACK callback function. * Input Parameters: * handle: Handle of this connection. * label: Transaction label. * p_msg: Pointer to PASS THROUGH message structure. * Output Parameters: * None. * Returns AVRC_SUCCESS if successful. * AVRC_BAD_HANDLE if handle is invalid.
* Function avrc_pass_msg * Description Compose a PASS THROUGH command according to p_msg * Input Parameters: * p_msg: Pointer to PASS THROUGH message structure. * Output Parameters: * None. * Returns pointer to a valid GKI buffer if successful. * NULL if p_msg is NULL.