WiFlyHQ: A new library for the WiFly RN-XV

Hi

I'm using the github version of the wiflyhq. It works fine as I'm posting data to a Web server every 60 minutes.

But a few posts later I get a message saying:

Failed to get prompt
Wifly module has crashed and will reboot

But it doesn't reboot. How do I make it reboot?

I'm using the WiflyHQ library which has a reboot method which does this:

send_P(PSTR("reboot\r"));

Is this the same as hitting the reset button?

If so, I could simply call wifly.reboot() if and after my wifly crashes, right? Has anyone used this?