clean up
This commit is contained in:
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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user