mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
queue throttling + slave latency and minor refactor
This commit is contained in:
parent
d67f311c3d
commit
cba29ea50c
2 changed files with 64 additions and 28 deletions
|
|
@ -13,6 +13,7 @@ class SerialBLEInterface : public BaseSerialInterface {
|
|||
bool _isDeviceConnected;
|
||||
uint16_t _conn_handle;
|
||||
unsigned long _last_health_check;
|
||||
unsigned long _last_retry_attempt;
|
||||
|
||||
struct Frame {
|
||||
uint8_t len;
|
||||
|
|
@ -46,6 +47,7 @@ public:
|
|||
_isDeviceConnected = false;
|
||||
_conn_handle = BLE_CONN_HANDLE_INVALID;
|
||||
_last_health_check = 0;
|
||||
_last_retry_attempt = 0;
|
||||
send_queue_len = 0;
|
||||
recv_queue_len = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue