mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
ble: adjust TransactionBuilder's MTU logging
This commit is contained in:
committed by
José Rebelo
parent
4355236799
commit
01ff179071
+2
-2
@@ -115,7 +115,7 @@ public class TransactionBuilder {
|
||||
|
||||
int maxChunk = getMaxWriteChunk();
|
||||
if (data.length > maxChunk) {
|
||||
LOG.error("writeLegacy - payload for {} is too long: {} > {}",
|
||||
LOG.warn("writeLegacy - payload for {} is longer than current MTU: {} > {}",
|
||||
characteristic.getUuid(), data.length, maxChunk);
|
||||
// TODO throw exception after reviewing device specific code (performConnected...)
|
||||
}
|
||||
@@ -139,7 +139,7 @@ public class TransactionBuilder {
|
||||
|
||||
int maxChunk = getMaxWriteChunk();
|
||||
if (data.length > maxChunk) {
|
||||
LOG.error("write - payload for {} is too long: {} > {}",
|
||||
LOG.warn("write - payload for {} is longer than current MTU: {} > {}",
|
||||
characteristic.getUuid(), data.length, maxChunk);
|
||||
// TODO throw exception after reviewing device specific code (performConnected...)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user