SWRA769 august 2023 CC2564C
The following function is responsible for sending a Call Waiting Notification to the Remote Hands-Free unit. This function returns zero on successful execution and a negative value on all errors. If the remote device call waiting feature is supported in the HF device than this works.
The Call Waiting command takes only one parameter, which is the phone number to be sent as part of this response.
"CallWaiting +9198787899889"
HFRE_Send_Call_Waiting_Notification(BluetoothStackID, CurrentClientPortID, TempParam->Params->strParam)
BTPSAPI_DECLARATION int BTPSAPI HFRE_Send_Call_Waiting_Notification(unsigned int BluetoothStackID, unsigned int HFREPortID, char *PhoneNumber)
This function is responsible for Sending Call Waiting Notifications to the Remote Device. This function can only be performed by Audio Gateways which have Call Waiting Notification Enabled and have a valid Service Level Connection. This function accepts as its first input parameter the HFRE Port ID. The final parameter is the Phone Number required as one of the parameters within this response. This parameter is a pointer to a NULL terminated string (if specified) and must have a length less thanHFRE_PHONE_NUMBER_LENGTH_MAXIMUM. This function returns zero if successful or a negative return error code if there was an error.