Bluetooth Manager

EMDK For Xamarin - 2.0

Overview

BluetoothMgr controls whether a device will be allowed to pair with Bluetooth devices such as headsets and printers that come into range.

Main Functionality

  • Enable and Disable Bluetooth Pairing

Bluetooth Pairing Enable/Disable

This parm controls whether the device will be permitted to pair with newly discovered Bluetooth devices that come into range. The settings of this parm do not effect existing device pairings.

Parm Name: AllowPairing

Option Name Description Requires
0 Do not change This value (or the absence of this parm from the XML) will cause no changes to the device's ability to pair with discovered Bluetooth devices.

MX: 5.1+

1 Enable Enables the device to pair with newly discovered Bluetooth devices.

MX: 5.1+

2 Disable Disables pairing with newly discovered Bluetooth devices.

MX: 5.1+

Examples

Allow New Pairing

Input


<wap-provisioningdoc>
    <characteristic type="BluetoothMgr" version="5.0">
        <parm name="AllowPairing" value="1"/>
    </characteristic>
</wap-provisioningdoc>

Output


<wap-provisioningdoc>
    <characteristic type="BluetoothMgr" version="5.0">
        <parm name="AllowPairing" value="1"/>
    </characteristic>
</wap-provisioningdoc>

If the operation was successful, the Result XML (output) will be identical to the input XML.

Disallow New Pairing

Input


<wap-provisioningdoc>
    <characteristic type="BluetoothMgr" version="5.0">
        <parm name="AllowPairing" value="2"/>
    </characteristic>
</wap-provisioningdoc>

Output


<wap-provisioningdoc>
    <characteristic type="BluetoothMgr" version="5.0">
        <parm name="AllowPairing" value="2"/>
    </characteristic>
</wap-provisioningdoc>

If the operation was successful, the Result XML (output) will be identical to the input XML.