pairDevice

fun pairDevice(mac: String, password: String): Int

Pairing with a Bluetooth device

Return

Const.EXECUTE_COMPLETE - function completed

Const.REMOVING_BOND_ERROR - Unsuccessful pairing with the device. Function failed

Parameters

mac

Device MAC address

password

Pairing password