This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3220MODA: Responding to any host/domain request while in WIFI AP mode

Part Number: CC3220MODA

Hello,

We are using your CC3220MODASF12MONR and initially it broadcast's its own AP for the user to connect to and setup the system via webpages.  Since it's behaving as the AP and there are only 2 devices available in the network (the AP and the user's device) ,  is it possible to setup the device to respond to any host/domain website request?  Currently we're responding to dock.<name>.local, configured like this:

                      return m_provisioning->set_mode_access_point(m_station_name.c_str(), NULL, "dock.company.local", 60, 3);

  but we'd like it to respond to any-host-request  (and then the specific page request we will handle normally.)    Something like :

                      return m_provisioning->set_mode_access_point(m_station_name.c_str(), NULL, "*", 60, 3);

Examples URLs the user could type and the device would respond to:

eerwerwer/index.html

try/

dock/

fsdghdfgh/

In handling the specific page request, a request for a non-existent route is redirected to index.html .  In other words, my 404 page error response  replies with the index.html page.   This will make it very easy for the user (in fact near impossible not) to land on the starting index.html page and proceed from there.

Currently, we are using an old version of the SDK

c32xx_sdk - simplelink_cc32xx_sdk_3_20_00_06
freertos - 10.2.1

Unfortunately, upgrading to the latest version 6.10  is proving very difficult.

And (if it has any impact) we are currently serving HTTPS pages, but want to (and will) downgrade to HTTP pages to avoid the "invalid certificate" warning.

Thanks,

Hadyn van der Berg