BthAGATSetCallback

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

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
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

Bluetooth Application Development Functions

Concepts

AT Command Extension Module