Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improving offline mode #271

Open
jajberni opened this issue Nov 9, 2022 · 0 comments
Open

Improving offline mode #271

jajberni opened this issue Nov 9, 2022 · 0 comments

Comments

@jajberni
Copy link

jajberni commented Nov 9, 2022

I've been trying to improve the IotWebConf16OffLineMode example by preventing the node from going offline if the user is connected to the AP. This should be possible by reading the ApConnectionState _apConnectionState state variable

ApConnectionState _apConnectionState = NoConnections;
.

Unfortunately, there is no public function exposing this state.

It would be great to add to the IotWebConf.h something like this:

ApConnectionState getApConnectionState () { return this->_apConnectionState; };
jajberni added a commit to jajberni/IotWebConf that referenced this issue Nov 9, 2022
Refers to Issue prampec#271 prampec#271 (comment) and allows to check if a user is already connected to the AP to prevent powering off.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant