Connecting to one of available WIFI's #5961
Replies: 1 comment
-
Posted at 2018-01-07 by @MaBecker Hi @hansi, I tried a simple snippet and found that callback is not processed if SSID is not available. Created issue #1297 Posted at 2018-01-07 by @MaBecker Does this Wifi scan snippet work for you?
Posted at 2018-01-07 by Hansi Hello @MaBecker, Thanks! Posted at 2018-01-07 by ClearMemory041063 See attached file ServeHello3.post.jsThe first case
And the other case
Attachments: Posted at 2018-01-08 by ClearMemory041063 Cleaning it up a bit: The code
The left pane output, note faux2 is not in range, but faux is
Attachments: Posted at 2018-01-11 by ClearMemory041063 Listing the WiFI APsUsing either a PICO or an Espruino Original Board connected via the serial port to and ESP8266. The code:
Sample Output
Attachments: Posted at 2018-01-12 by ClearMemory041063 GetAps1 Using the functions in the WiFi moduleThe Code
Sample Output
Attachments: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2018-01-07 by Hansi
Hello,
Please, could anyone help to solve implementation problem?!
I'm making a thing which I want to take sometimes to another place. As a result, I have two different wifi's(one at home, one at an office), and want to check which is present and connect to one of them. Wifi.scan doesn't work on my ESP8266 (NodeMCU Amica), so I tried 'if' statement. But can't write it correctly.
How is better to solve such task, maybe some of you have faced with it already.
Thanks!!!
Beta Was this translation helpful? Give feedback.
All reactions