diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/btle/BleIntentApi.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/btle/BleIntentApi.java index d5ee52aaa..7eb1ae6df 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/btle/BleIntentApi.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/btle/BleIntentApi.java @@ -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; }