fun requestConnectionPriority(priority: Int): Single<Boolean>
Requests connection priority as described in the BluetoothGatt object. This assumes we are connected to the peer.
priority
- Connection priority BluetoothGatt.CONNECTION_PRIORITY_LOW_POWER, BluetoothGatt.CONNECTION_PRIORITY_BALANCED or BluetoothGatt.CONNECTION_PRIORITY_HIGH.
Return
A Single emitting a boolean depending with the result of the boolean (true -> success, false -> failure).