Partager via


Bluetooth Configuration Service Provider Examples for OMA DM

4/8/2010

The following XML example configures the settings for the Bluetooth Configuration Service Provider for OMA DM. To use this example, replace the value for the BtMode parameter to set the desired Bluetooth operation mode. For more information about BtMode values, see Bluetooth Configuration Service Provider.

Code Example

The following example changes the device's Bluetooth radio into Discoverable mode.

<Replace>
  <CmdID>2</CmdID>
  <Item>
    <Target><LocURI>./Vendor/MSFT/Bluetooth/BtMode</LocURI></Target>
    <Data>2</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

Other Resources

Provisioning Using OMA Device Management