-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sleep feature requested! #9
Comments
send Data after module wake up doesn't work even if i pack it in your function style: in WiFlyHQ.cpp - File:
in WiFlyHQ.h - File:
Sending Data like this:
Thank everybody for HELP! |
Looks like that will need some design and debug work. I'll add it to the feature requests. If you do get it going in the meantime, please consider forking the library and pushing the change back. |
ok! i'll try it ... |
hey, did either of you guys ever figure this out? |
negative, however it should be an easy feature to add. |
I haven't tested this so thoroughly, but seems to work fine: WiFlyCQ.cpp:
WiFlyCQ.h:
Application:
I haven't tried to send commands to the WiFly while sleeping, I have used a timer with a slight delay (2s) to allow the WiFly to wakeup, this works fine. I use a Arduino Fio v3 board. I'm a total git newbie, but will try to commit. |
Looks great. If you fork the repo, make your change and push it, and then do a pull request I can add the change. Let me know if run into problems, I can send more detailed steps. |
is it possible to add the sleep feature into the library?
i tried to send the sleep command by myself ... (and had some problems)
the following commands are send by my arduino code:
wlan.println("sleep"); // this works! the module is into the sleep mode
the module is set on autowakeup (set sys wake ) // this works! the module wake up!
but sending new data is not possible, i get the following message:
Failed to turn off echo
Failed to turn off sys print
Failed to set comm remote
Failed to exit
Failed to exit command mode
Failed to start Wlan-Interface
Joining MYNETWORK
open 192.168.19.19 80
Failed to get prompt
WiFly has crashed and will reboot...
My Firmware Version is 2.32 and i use an Arduino Uno R3
Hope you can help me!
The text was updated successfully, but these errors were encountered: