diff --git a/src/IotWebConf.h b/src/IotWebConf.h index 2f65e1c..3b9f123 100644 --- a/src/IotWebConf.h +++ b/src/IotWebConf.h @@ -424,6 +424,11 @@ class IotWebConf * Return the current state. */ NetworkState getState() { return this->_state; }; + + /** + * Return the AP connection state to check if there are some user connected + */ + ApConnectionState getApConnectionState () { return this->_apConnectionState; }; /** * This method can be used to set the AP timeout directly without modifying the apTimeoutParameter.