mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
BLE Intent API: fixed characteristic read check
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user