Compartir a través de


Bluetooth AG Service Functions (Compact 2013)

3/26/2014

The functions that you can use when you are developing your Bluetooth OS design are exported from Btdrt.dll, and are provided to help you develop either a shell or dedicated application functionality if you cannot use a WinSock layer. You can call these functions from an application other than the Bluetooth stack layer, in device.exe.

In This Section

The following table shows the Audio Gateway Core Component functions of the Audio Gateway service.

Programming element

Description

BthAGOnNetworkEvent

Called by the Network module when an event occurs.

BthAGOnPhoneEvent

Sends an indicator event to the connected device.

The following table shows the Network Component functions of the Audio Gateway service.

Programming element

Description

BthAGNetworkAnswerCall

Called by the AG service to receive an incoming call.

BthAGNetworkDialNumber

Called by the AG service to place an outgoing call.

BthAGNetworkDropCall

Called by the AG service to terminate an ongoing call.

BthAGNetworkHoldCall

Called by the AG service to put an active call on hold.

BthAGNetworkInit

Called by the AG service to initialize the Network module.

BthAGNetworkTransmitDTMF

Called by the AG service to sends DTMF codes.

BthAGNetworkUnholdCall

Called by the AG service to activate a call that is on hold status.

BthAGNetworkDropSwapCall

Called by the AG service to terminate the active call and activate the call on hold.

BthAGNetworkDeinit

Called by the AG service to deinitialize the Network module.

BthAGNetworkExtRequest

Queries or sets audio gateway network events.

BthAGNetworkSwapCall

Called by the AG service to change the call status from active to hold and vice versa.

BthAGNetworkGetCallState

Called by the AG service to retrieve the current state of the network.

The following table shows the Phone-Extension Component functions of the Audio Gateway (AG) service.

Programming element

Description

BthAGGetLastDialed

Called by the AG service to retrieve the number last dialed on the device.

BthAGGetNameByPhoneNumber

Called by the AG service to retrieve the name of the caller by using the Call Line Identification (CLI).

BthAGGetSpeedDial

Called by the AG service to retrieve the destination number dialed using speed dial.

BthAGOverrideCallIn

Called by the AG service when an incoming call arrives.

BthAGOverrideCallOut

Called by the AG service when a call is placed on the device.

BthAGPhoneExtDeinit

Called by the AG service to deinitialize the Phone Extension module.

BthAGPhoneExtEvent

Called by the AG service when the specified event occurs on the Bluetooth device.

BthAGPhoneExtInit

Called by the AG service to initialize the Phone-Extension module.

BthAGPhoneExtRequest

Provides phone-related informational events.

BthAGSetServiceCallback

Called by the AG service to determine whether the phone has cellular service.

See Also

Reference

Bluetooth Audio Gateway Service Reference