Share via


Adding a GPRS Entry Example

4/8/2010

This example illustrates how to establish a GPRS connection. The value defined in the DestId parameter is the GUID that specifies the network to which a GPRS connection will be made (in this case, the network is The Internet, one of the default networks).

Code Example

<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>

Remarks

One provisioning XML file typically contains configuration information for multiple Configuration Service Providers. To use this example, you must replace the values as appropriate, and add the node as a child of the OMA Client Provisioning file. For information about the syntax of this file, see OMA Client Provisioning Files. For examples, see OMA Client Provisioning XML File Examples.

For complete descriptions of the parameters and characteristics, see the CM_GPRSEntries Configuration Service Provider.

See Also

Tasks

CM_GPRSEntries Configuration Service Provider Examples for OMA Client Provisioning