I am just started to use mrk1000 wifi with IoT Cloud. I connect fine with wpa2; but if I use an unsecure hotspot, it will not connect. I use the strings SECRET_SSID and SECRET_PASS, but since there is no password I leave SECRET_PAS empty.
But I think the problem is something else, therefore I need some guidens to solve the problem.
yes, but will like to leave the software as it is...but I think the wifi101 should tjek if pass field is empty, and then connect unsecure. Therefore I need a hack, so it undertand it (with minimal code change).
Your use case is rare most WiFi networks are secured.
When you hack the library you will need to do this every time you/Arduino update the library. So, minimal code change is to change the sketch at the application level not the library.