Compartilhar via


Query the Wi-Fi Configuration Service Provider Example

4/8/2010

The following example shows how to query Wi-Fi Configuration Service Provider and all sub-nodes.

<characteristic-query type="Wi-Fi" recursive="true"/>

The following example shows how to query all of the infrastructure-mode (access-point) networks that have been provisioned or can be seen by the device. This example also queries all subnodes because recursive="true". You can query just one level deep by specifying recursive="false".

<characteristic type="Wi-Fi">
    <characteristic-query type="access-point" recursive="true"/>
</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.

See Also

Reference

Wi-Fi Configuration Service Provider