It seems there is no way to configure a timeout by which the Captive portal is shut down because of inactivity. Basically my idea is that if no user has provided credentials for connecting to a WiFi within a specific duration, the Captive Portal should be shut down to minimize the risk of being taken over by a stranger in the neighborhood. This would also be useful if using the connect_or_setup method and the AP isn't available for some reason.
This would be no bullet-proof security, but it might be useful for some applications. What do you think and how could this be implemented? My thought is with a hardware timer, though this may be specific to the underlying platform.
(Micropython beginner here)
It seems there is no way to configure a timeout by which the Captive portal is shut down because of inactivity. Basically my idea is that if no user has provided credentials for connecting to a WiFi within a specific duration, the Captive Portal should be shut down to minimize the risk of being taken over by a stranger in the neighborhood. This would also be useful if using the
connect_or_setup
method and the AP isn't available for some reason.This would be no bullet-proof security, but it might be useful for some applications. What do you think and how could this be implemented? My thought is with a hardware timer, though this may be specific to the underlying platform.