Skip to content

Commit 102d6dd

Browse files
committed
ble_interface: remove the log error when TX characteristic cannot be written
- Apparently, the characteristic is always written, but sometimes the 'onCharacteristicWrite' event is not received. Signed-off-by: Diego Escalona <diego.escalona@digi.com>
1 parent ae0bd98 commit 102d6dd

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

xbee_android_library/src/main/java/com/digi/xbee/api/android/connection/bluetooth/AndroidBluetoothInterface.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -302,9 +302,6 @@ public synchronized void writeData(byte[] data, int offset, int length) {
302302
} catch (InterruptedException | ShortBufferException e) {
303303
logger.error(e.getMessage(), e);
304304
}
305-
306-
if (!dataWritten)
307-
logger.error("Could not write data in the TX characteristic");
308305
}
309306

310307
@Override

0 commit comments

Comments
 (0)