more central support
- rename BLE_GAP_MAX_CONN to BLE_MAX_CONN - change rx callback of BLEClientUart - better support multiple connection
This commit is contained in:
1 parent
d4e3244341
commit
9a74a6f300
9 files changed
+67
-73
No files matched your search
@@ -64,7 +64,7 @@ bool BLEGap::getTxPacket(void)
|
||||
|
||||
bool BLEGap::getTxPacket(uint16_t conn_handle)
|
||||
{
|
||||
VERIFY( (conn_handle < BLE_GAP_MAX_CONN) && (_peers[conn_handle].txpacket_sem != NULL) );
|
||||
VERIFY( (conn_handle < BLE_MAX_CONN) && (_peers[conn_handle].txpacket_sem != NULL) );
|
||||
|
||||
return xSemaphoreTake(_peers[conn_handle].txpacket_sem, ms2tick(BLE_GENERIC_TIMEOUT));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user