I've also had some trouble getting the WiFi working - while the script that does the .factoryRestore() DID appear to fix my initial issue with having set a userid and password improperly, the SSID has now changed to HF-LPB, and I cannot actually connect with any device (2PCs, iPhone, iPad)
Note that I can see the WiFi connection and all devices attempt to connect, but fail after entering the WiFi password that I set. (If I mis-enter that password, I get a message indicating I've entered a bad password; If I enter the correct password, I get a generic "Unable to connect" message)
Is there a proper procedure for resetting with the on-board buttons? I could not see anything on the wiki about that -though there is a note that you can use the pads on the back of the digiX to reset the wifi. I'm not clear on what to do there, though.
Any help would be greatly appreciated.
Thanks in advance.
**** UPDATE ****
In reading some of the other threads related to WiFi, it appears to me that the factoryRestore() function resets the Baud rate for the WiFi module to 115200 - which means for me that the next time I tried to run the script to reset the WiFi settings, it never actually succeeded -- UNTIL I changed the baud rates within the code to read:
Serial.begin(115200);
wifi.begin(115200);
After doing that, the WiFi completely reset, and I was able to log in to the WiFi again. (Then set the baud rate back to 9600 - so it's compatible with the other example code)
The bottom line for me is that to reset the WiFi module, you have to run the script posted above. It doesn't appear that the reset hardware buttons do anything for the WiFi module -though I'd like to know if anyone has had luck with those for WiFi...
Thanks!