Partager via


Specify the Wi-Fi Network Name Example

4/8/2010

These examples create an access-point or device-to-device network named "Network Name" and moves it to the top of the network preference order.

Code Examples

The following example shows how to specify the Wi-Fi network name for an access-point network.

<characteristic type="Wi-Fi">
    <characteristic type="access-point">
        <characteristic type="Network Name"/>
    </characteristic>
</characteristic>

The following example shows how to specify the Wi-Fi network name for a device-to-device network.

<characteristic type="Wi-Fi">
    <characteristic type="ad-hoc">
        <characteristic type="Network Name"/>
    </characteristic>
</characteristic>

Remarks

One provisioning XML file typically contains configuration information for multiple Configuration Service Providers. To use theses 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.

See Also

Reference

Wi-Fi Configuration Service Provider