connecting to an open WiFi- How to handle the "terms & conditions" part

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable


Hello,

When I connect to an open WiFi, I use the following command:

CLIENT_AP_SECURITY WICED_SECURITY_OPEN inside the wifi_config_dct.h.

This gets me connected to an open WiFi (starbucks or CoffeeBean etc...).

However, I still need to accept the "terms & condition" to be really connected to the internet. How do I do this in WICED?

It is easy in a Windows broweser to just accept it and click a button but any idea how to do it in WICED?

regards,

NK

0 Likes
1 Reply
Anonymous
Not applicable

It's called Captive Portal. There is no generic solution here.

You *could* try to load an arbitrary web page, which would get you an http redirect.

Then load the redirected web page and emulate it's "post" operation.

But, there is no guarantee that it would work, as there might be some javascript involved.

( and/or some user name/password, multiple web pages, etc. )

One of the arguments against using Captive Portals in general is exactly that.

Sorry for now really being able to help 😉

Tsachi