SWRA769 august 2023 CC2564C
The following function is responsible for sending the commands to send the Call Entry to a remote Hands-free Device. When received a request to query the remote current calls listfrom the remote Hands-free device. This function returns zero on successful execution and a negative value on all errors.
The Send Call list command takes six parameters: Index, call direction, call status, call Mode, Multiparty, Phone Number (in the same order).
"SendCallList 0 1 1 0 0 5551212"
HFRE_Send_Current_Calls_List(BluetoothStackID, CurrentClientPortID, &CurrentCallListEntry, Final)
BTPSAPI_DECLARATION int BTPSAPI HFRE_Send_Current_Calls_List(unsigned int BluetoothStackID, unsigned int HFREPortID, HFRE_Current_Call_List_Entry_t*CurrentCallListEntry, Boolean_t FinalEntry)
The following function is responsible for Sending Current Calls List Entries to the Remote Device. This function can only be performed by Audio Gateways that have received a requestto query the remote current calls list. This function accepts the Bluetooth Stack ID parameters for which the HFRE Port ID is valid as well as the HFRE Port ID. The thirdparameter to this function is the current call list entry to be sent. The final parameter to this function is a boolean indicating if this is the last call list entry to be sent therefore requiringthat an OK be sent as well. This function returns zero if successful or a negative return error code if there was an error.