Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

You can use the Wi-Fi Configuration Service Provider to specify the network encryption key index an access-point network or a device-to-device network.

Code Examples

The following example shows how to specify the network encryption key index for an access-point network. In this example, the network name is "Work Network."

Copy Code
<Replace>
	 <CmdID>3</CmdID>
	 <Item>
	
<Target><LocURI>./Vendor/MSFT/Wi-Fi/access-point/Work%20Network/KeyIndex</LocURI></Target>
		 <Data>1</Data>
	 </Item>
</Replace>

The following example shows how to specify the network encryption key index for a device-to-device network.

Copy Code
<Replace>
	 <CmdID>3</CmdID>
	 <Item>
	
<Target><LocURI>./Vendor/MSFT/Wi-Fi/ad-hoc/Work%20Network/KeyIndex</LocURI></Target>
		 <Data>1</Data>
	 </Item>
</Replace>

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 SyncBody node in an OMA DM provisioning file. For more information about the syntax of the provisioning file, see OMA DM Provisioning Files.

See Also