This commit is contained in:
hathach committed 2017-07-11 14:31:37 +07:00
1 parent 4e3d92cc2a
commit cb589bd7e7
4 files changed
+4 -11

No files matched your search

@@ -477,7 +477,8 @@ bool BLECharacteristic::notify(const void* data, uint16_t len)
while ( remaining )
{
if ( !Bluefruit.Gap.getTxPacket() ) return BLE_ERROR_NO_TX_PACKETS;
// TODO multiple connection support
if ( !Bluefruit.Gap.getTxPacket( Bluefruit.connHandle() ) ) return BLE_ERROR_NO_TX_PACKETS;
uint16_t packet_len = min16(MTU_MPS, remaining);