Skip to content

Commit

Permalink
ble_interface: remove the log error when TX characteristic cannot be …
Browse files Browse the repository at this point in the history
…written

- Apparently, the characteristic is always written, but sometimes the
  'onCharacteristicWrite' event is not received.

Signed-off-by: Diego Escalona <[email protected]>
  • Loading branch information
diescalo committed Jul 15, 2019
1 parent ae0bd98 commit 102d6dd
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -302,9 +302,6 @@ public synchronized void writeData(byte[] data, int offset, int length) {
} catch (InterruptedException | ShortBufferException e) {
logger.error(e.getMessage(), e);
}

if (!dataWritten)
logger.error("Could not write data in the TX characteristic");
}

@Override
Expand Down

0 comments on commit 102d6dd

Please sign in to comment.