mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-14 11:47:32 +01:00
BLE Intent API: fixed characteristic read check
This commit is contained in:
parent
4875b0e1fe
commit
cde9dfb6a5
@ -80,7 +80,7 @@ public class BleIntentApi {
|
|||||||
}
|
}
|
||||||
|
|
||||||
String hexData = intent.getStringExtra("EXTRA_PAYLOAD");
|
String hexData = intent.getStringExtra("EXTRA_PAYLOAD");
|
||||||
if (hexData == null) {
|
if (isWrite && (hexData == null)) {
|
||||||
logger.error("BLE API: missing EXTRA_PAYLOAD");
|
logger.error("BLE API: missing EXTRA_PAYLOAD");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user