separated TX packet to HVN and Write CMD packet
This commit is contained in:
1 parent
2da5145cbc
commit
abeb3825db
6 files changed
+52
-33
No files matched your search
@@ -487,7 +487,7 @@ bool BLECharacteristic::notify(const void* data, uint16_t len)
|
||||
while ( remaining )
|
||||
{
|
||||
// TODO multiple connection support
|
||||
if ( !Bluefruit.Gap.getTxPacket( Bluefruit.connHandle() ) ) return NRF_ERROR_RESOURCES; //BLE_ERROR_NO_TX_PACKETS;
|
||||
if ( !Bluefruit.Gap.getHvnPacket( Bluefruit.connHandle() ) ) return NRF_ERROR_RESOURCES; //BLE_ERROR_NO_TX_PACKETS;
|
||||
|
||||
uint16_t packet_len = min16(MTU_MPS, remaining);
|
||||
|
||||
|
||||
Reference in new issue
Block a user