Share via


Configuring a GPRS Connection Example (Windows Embedded CE 6.0)

1/6/2010

This example illustrates how to configure a General Packet Radio Service (GPRS) connection by creating a provisioning file in XML to configure the CM_GPRSEntries configuration service provider. The DestId parameter provides the GUID for the destination network. In this case, the network is the Internet, one of the default networks.

Example

The following XML code example shows how to configure a GPRS connection.

<characteristic type="CM_GPRSEntries">
   <characteristic type="GPRS1">
      <parm name="DestId" 
      value="{436EF144-B4FB-4863-A041-8F905A62C572}" />
      <characteristic type="DevSpecificCellular">
         <parm name="BearerInfoValid" value="1" />
         <parm name="GPRSInfoValid" value="1" />
         <parm name="GPRSInfoProtocolType" value="2" /> 
         <parm name="GPRSInfoL2ProtocolType" 
         value="PPP" />
         <parm name="GPRSInfoAccessPointName" 
         value="internet3.thephone-company.com" />
         <parm name="GPRSInfoAddress" 
         value="" />
         <parm name="GPRSInfoDataCompression" 
         value="1" />
         <parm name="GPRSInfoHeaderCompression" 
         value="1" />
         <parm name="GPRSInfoParameters" value="" />
      </characteristic>
   </characteristic>
</characteristic>

One provisioning XML file typically contains configuration information for multiple configuration service providers. To use this example, you must replace the XML values as appropriate and add the node as a child of the Open Mobile Alliance (OMA) client provisioning file. For information about the syntax of the client provisioning file, see Configuring Device Connection Settings by using OMA XML. For information about the XML values, see CM_GPRSEntries Configuration Service Provider.

See Also

Concepts

Making a Data Connection Using Connection Manager

Other Resources

Connection Manager OMA XML Provisioning File
Connection Manager Configuration