Like you said WLAN_SMART_CONFIG_START = 1; is a flag that needs to be set to enter Smart Config mode. Is there a flag that can be set to Clear All Wifi Data (Equivalent to holding the Mode Button for ~10 seconds) ??
@kennethlimcp If I’m not wrong, entering your router credentials using Smart Config adds the SSID and Password you just entered to an already existing list of SSIDs & Passwords. This process has not been very reliable for me (I keep getting GFOD because of this) and often I have to end up clearing all wifi data before the Spark is up and running. So I’d like to have the Flag in hand for worst case scenarios.
OK so I just have to include the “.h” files and it works without having to call the functions in it? I shall test it out now. I currently don’t have a lot of use for it though.
I’m in India so its IST = GMT +530 out here. But drop a post at your convenience. Thanks so much already