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. |
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 BtModeparameter to set the desired Bluetooth operation mode. For more information about BtModevalues, see Bluetooth Configuration Service Provider.
Code Example
The following example changes the device's Bluetooth radio into Discoverable mode.
Copy Code | |
---|---|
<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.