Fix MQTT recovery admission and retained client buffer sizing
This commit is contained in:
1 parent
beb5b69a80
commit
110b26c737
11 files changed
+556
-63
No files matched your search
@@ -376,6 +376,10 @@ public:
|
||||
/** True after a successful start and before a stop. */
|
||||
bool isStarted() const { return _started; }
|
||||
|
||||
/** True while SDK buffers/configuration remain allocated, including after
|
||||
* stop. Read on the same owner task as connect/reconnect/disconnect. */
|
||||
bool isInitialized() const { return _client != nullptr; }
|
||||
|
||||
/**
|
||||
* @brief Forcefully stops the MQTT client and disconnects from the server.
|
||||
* This does not trigger the onDisconnect callbacks.
|
||||
|
||||
Reference in new issue
Block a user