Share via


Configuring a Wireless LAN Connection Example (Windows Embedded CE 6.0)

1/6/2010

This example adds the current wireless LAN (WLAN) connection to CM_NetEntries configuration service provider by creating an XML provisioning file. Connection Manager in Windows Embedded CE 6.0 connects only to an existing WLAN connection. It cannot establish a new WLAN connection.

Example

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

   <characteristic type="CM_NetEntries">
      <characteristic type="Adapter Name">
         <parm name="DestId" 
         value="{A1182988-0D73-439e-87AD-2A5B369F808B}"/>
         <parm name="Adapter" 
         value="Qualified Name"/>
      </characteristic>
   </characteristic>

One provisioning XML file typically contains configuration information for multiple configuration service providers. To use this example, you must replace the values (such as Qualified Name) 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.

Replace Adapter Name with the name of a wireless adapter as it appears on the Configure Network Adapters screen. Replace Qualified Name with the fully qualified name of the wireless adapter. The ipconfig /all command displays the fully qualified name. You can also find the fully qualified name by using the GetAdaptersAddresses function. For more information on the XML values, see CM_NetEntries Configuration Service Provider.

See Also

Concepts

Configuring Device Connection Settings by using OMA XML

Other Resources

Connection Manager OMA XML Provisioning File
Connection Manager Configuration