WiFlyHQ
WiFlyHQ copied to clipboard
Failed to get prompt after some successful messages
Hi, I am using Seeedstudio Stalker V2.1 and RN-XV rev3. I am sending data to a server (ubidots.com) and after some successful messages sent I get "Failed to get prompt" and "WiFly has crashed and will reboot..."
Successful message
Sleeping Interruption Awake from sleep Free RAM Memory=433 2014/8/7 17:23:0 Thu 26.75ºC, Battery Voltage -> 3.82V ,Charge status --> On Trying to send data: 3.82V open things.ubidots.com 80 Connected to 539eec807625422e808b2a92 close: got CLOS open things.ubidots.com 80 Connected to 539eebc27625422e1a16dfd3 close: got CLOS
Error message
Sleeping Interruption Awake from sleep Free RAM Memory=433 2014/8/7 17:24:0 Thu 26.75ºC, Battery Voltage -> 3.82V ,Charge status --> On Trying to send data: 3.82V open things.ubidots.com 80 Failed to get prompt WiFly has crashed and will reboot...
Any suggestion?
It fails quite often. And if you track it down, reboot is not called out in the library Wifly.cpp in the open(). You must call it and even then, it seems that its not enough, you must reset the arduino as well. I havent tracked down exactly why the wifi module doesnt reboot enough. I've made some workarounds after weeks of fiddling with it and Id like to upload my code but im not that familiar with github yet.
Hi @quique123 do you still have your workaround? Could you please email it to me? That would be so great! Thanks!