Hello everyone,
As a B4A newbie, I am overwhelmed by this problem.
To fetch a lot of data faster, there is the possibility to increase the priority with the function "requestConnectionPriority" as of version Lollipop.
It looks like this in Java:
mBluetoothGatt = gatt;
if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) {
gatt.requestConnectionPriority(BluetoothGatt.CONNECTION_PRIORITY_HIGH);
gatt.requestMtu(505);
} else {
gatt.discoverServices();
}
How should I call "requestConnectionPriority" in B4A?
I would have expected to be able to call something like this.
manager.requestConnectionPriority(CONNECTION_PRIORITY_HIGH)
Thanks for your help
As a B4A newbie, I am overwhelmed by this problem.
To fetch a lot of data faster, there is the possibility to increase the priority with the function "requestConnectionPriority" as of version Lollipop.
It looks like this in Java:
mBluetoothGatt = gatt;
if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) {
gatt.requestConnectionPriority(BluetoothGatt.CONNECTION_PRIORITY_HIGH);
gatt.requestMtu(505);
} else {
gatt.discoverServices();
}
How should I call "requestConnectionPriority" in B4A?
I would have expected to be able to call something like this.
manager.requestConnectionPriority(CONNECTION_PRIORITY_HIGH)
Thanks for your help