wlan.reconnect() #4069
Unanswered
espruino-discuss3
asked this question in
General
Replies: 1 comment
-
Posted at 2014-08-31 by @gfwilliams Hi Ollie, It should always respond to reconnect, as that will effectively totally power the module off and back on. I guess if you are making a client, the ideal solution might be to disconnect when you're done, and only connect right before you need to use the connection. Posted at 2014-09-02 by Ollie I'm using as a server but this approach is keeping the board on the network (save for when it's reconnecting). Thank you again. Best Ollie |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Posted at 2014-08-30 by Ollie
I'm experiencing issues with the CC3000 dropping off the network after a period of time. I see this sort of thing has been mentioned on the forum before.
I'm trying wlan.reconnect in setInterval which returns the wlan.connects callback 'My IP is...' line to the console, so I can keep the CC3000 alive this way by not giving CC3000 the opportunity to timeout/disconnect?
I'm testing it as I write but thought I'd ask here, am I right here, or will the issues with the CC3000 dropping off the network mean it eventually won't respond to these reconnect requests?
Best
Ollie
Beta Was this translation helpful? Give feedback.
All reactions