Specify the Network Encryption Technique Example
4/8/2010
The Wi-Fi Configuration Service Provider allows you to specify the network encryption techniques.
Code Example
The following example shows how to specify the encryption technique of an access-point network. In this example, the network name is "Work Network" and the encryption is done using 802.11 wired equivalent privacy (WEP) key.
<characteristic type="Wi-Fi">
<characteristic type="access-point">
<characteristic type="Work Network">
<parm name="Encryption" value="0"/>
</characteristic>
</characteristic>
</characteristic>
The following example shows how to specify the network encryption technique of a device-to-device network. In this example, the network name is "Work Network" and the encryption is Temporal Key Integrity Protocol (TKIP) sequence counters.
<characteristic type="Wi-Fi">
<characteristic type="ad-hoc">
<characteristic type="Work Network">
<parm name="Encryption" value="4"/>
</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.