次の方法で共有


BthAGATSetCallback (Windows Embedded CE 6.0)

1/6/2010

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 OS Functions
Bluetooth Application Development Functions

Concepts

AT Command Extension Module