Making a Suspend-and-Resume Data Connection During a Voice Call (Windows Embedded CE 6.0)
1/6/2010
If the system does not support simultaneous voice and data connections, and Connection Manager opens a packet data connection that is suspend-and-resume capable, and then a voice call occurs, the device suspends the data connection during the voice call instead of disconnecting the data connection. In this state, the device caches the data connection and maintains the same IP address. However, the device cannot send or receive data on that connection. When the voice call ends, the connection immediately resumes and can send and receive data.
Configuring a Connection as Send and Receive Capable
Suspend-and-resume functionality is available only with a suspend-and-resume capable connection. By default, General Packet Radio Service (GPRS) connections are configured as suspend-and-resume capable. If a Windows Embedded CE powered device supports GPRS connections through Bluetooth Dial-up Networking profile (DUN) that are not suspend-and-resume capable, or if the device supports other suspend-and-resume connections, such as code division multiple access (CDMA) packet data connections, the OEM must configure the connection information. For more information, see Connection Manager Registry Settings.
Managing Status During a Voice Call
An application informs Connection Manager that it is suspend-and-resume aware by setting the CONNMGR_FLAG_SUSPEND_AWARE bit flag in the dwFlag member of the CONNMGR_CONNECTIONINFO structure for the connection request. With the CONNMGR_FLAG_SUSPEND_AWARE flag set, the application will be notified when the connection-request status changes to CONNMGR_STATUS_SUSPENDED. This status change happens when the connection request uses a suspend-and-resume capable connection, and that connection is suspended. If the connection is not suspend-and-resume capable, to maintain backward-compatibility the application receives the notification CONNMGR_STATUS_DISCONNECTED to inform it that it cannot send or receive data. When the voice call disconnects, the packet data connection resumes and the application will be notified with CONNMGR_STATUS_CONNECTED.
See Also
Concepts
Connection Manager Architecture