improve bonding with on-the-fly semaphore
enhance central bond
This commit is contained in:
1 parent
e81f60cd2e
commit
f3136abcda
6 files changed
+101
-37
No files matched your search
@@ -105,8 +105,11 @@ class BLEGap
|
||||
SemaphoreHandle_t hvn_tx_sem;
|
||||
SemaphoreHandle_t wrcmd_tx_sem;
|
||||
|
||||
SemaphoreHandle_t indicate_confirm_sem;
|
||||
bool hvc_received;
|
||||
|
||||
// On-demand semaphore that are created on the fly
|
||||
SemaphoreHandle_t hvc_sem;
|
||||
SemaphoreHandle_t pair_sem;
|
||||
} gap_peer_t;
|
||||
|
||||
gap_peer_t* _get_peer(uint16_t conn_hdl) { return &_peers[conn_hdl]; }
|
||||
|
||||
Reference in new issue
Block a user