This commit is contained in:
hathach committed 2019-01-22 23:04:29 +07:00
1 parent 89be3a197f
commit 5d76dfa012
7 files changed
+8 -11

No files matched your search

@@ -264,6 +264,7 @@ size_t BLEUart::write (const uint8_t *content, size_t len)
// TODO multiple prph connections
BLEConnection* conn = Bluefruit.Gap.Connection( Bluefruit.connHandle() );
VERIFY(conn, 0);
// Not up to GATT MTU, notify will be sent later by TXD timer handler
if ( _tx_fifo->count() < (conn->getMtu() - 3) )