다음을 통해 공유


Configuring Device Connection Settings by using OMA XML (Windows Embedded CE 6.0)

1/6/2010

Configured connections and their settings are stored in an Open Mobile Alliance (OMA) XML provisioning file.

Configuration Tasks

To create and manage connection settings, you can create an application that modifies the provisioning XML file in order to perform the following tasks.

  • Create network settings for Remote Access Service (RAS) connections through Bluetooth Dial-up Networking (DUN).
  • Modify and delete existing network settings.

To perform these configuration tasks, the application can provide a user interface (UI) that allows users to change these configured settings. For example, you might create a Control Panel application that enables users to configure settings. The application can call the DMProcessConfigXML function to modify the XML provisioning file with the new configuration settings.

This XML file is stored in the appropriate Configuration Service Provider used by Connection Manager.

To configure connections for a device

  1. Create an application with which users can configure the connections on a Windows Embedded CE powered device.

    ** For information about how to create a Control Panel application, see How to Implement a Control Panel Application.

  2. In the application code, convert user input into XML that is targeted to a specific Configuration Service Provider.

    For more information about the XML accepted by each Configuration Service Provider, see Configuration Service Providers Overview.

  3. In the application code, call DMProcessConfigXML to modify the XML provisioning file and change the configuration settings.

Provisioning Code Sample

For an example of how to configure connection settings on a Windows Embedded CE powered device by using a provisioning XML file, see the code sample located at %_WINCEROOT%\PUBLIC\CELLCORE\SDK\SAMPLES\PROVISION.

See Also

Other Resources

Connection Manager OMA XML Provisioning File
Configuration Service Providers