Share via


Configuring a Bluetooth DUN Connection Example (Windows Embedded CE 6.0)

1/6/2010

This example illustrates how to configure a Bluetooth Dial-Up Network (DUN) connection by creating a XML provisioning file to configure the CM_PPPEntries configuration service provider. The DestId parameter provides the GUID for the destination network.

Example

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

<characteristic type="CM_PPPEntries">
  <characteristic type="BTGPRS_RAS">
    <parm name="DestId" value="{436EF144-B4FB-4863-A041-8F905A62C572}"/>
    <parm name="CountryCode" value=""/>
    <parm name="AreaCode" value=""/>
    <parm name="Phone" value="*99#"/>
    <parm name="UseCountryAndAreaCodes" value="0"/>
    <parm name="RequirePw" value="0"/>
    <parm name="DeviceName" value="ConnMgr_dun1"/>
  </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_PPPEntries Configuration Service Provider.

See Also

Concepts

Making a Data Connection Using Connection Manager

Other Resources

Connection Manager OMA XML Provisioning File
Connection Manager Configuration