Home CONNECTION_PRIORITY_LOW_POWER setting
Reply: 0

CONNECTION_PRIORITY_LOW_POWER setting

BLE
1#
BLE Published in 2017-11-15 00:08:44Z

Is it possible to change Android Bluetooth connection parameters to be CONNECTION_PRIORITY_LOW_POWER before the connection starts? I have tried to add the requestConnectionPriority after the Gatt connection. But it doesn't work.

mBluetoothGatt = bluetoothDevice.connectGatt(mContext, false, callback); mBluetoothGatt.requestConnectionPriority(BluetoothGatt.CONNECTION_PRIORITY_LOW_POWER); //added

Any help would be very appreciated!

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.240197 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO