mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-13 19:27:33 +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");
|
||||
if (hexData == null) {
|
||||
if (isWrite && (hexData == null)) {
|
||||
logger.error("BLE API: missing EXTRA_PAYLOAD");
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user