BthAGATSetCallback (Compact 2013)
3/26/2014
This function is called by the Audio Gateway (AG) service to determine how to respond to the AT commands sent by a peer Bluetooth device.
Syntax
void BthAGATSetCallback (
PFN_SendATCommand pfn
);
Parameters
pfn
[in] Points to a callback function to be called when AT commands are received from a peer Bluetooth device.The following is an excerpt from the header file, btagpub.h, that shows the function pointer declaration.
typedef DWORD (*PFN_SendATCommand) (LPSTR szCommand, DWORD cbCommand);
Where szCommand points to the string that specifies the AT command to handle, cbCommand is the size of szCommand.
Return Value
None.
Requirements
Header |
Developer Implemented |
Library |
Developer Implemented |
See Also
Reference
Bluetooth AG Service Callbacks
Bluetooth API Management Functions