WIFI Survey photon module

Hello,

i am trying to port an application from the ESP8266 to the photon module.

It waits for a command from the UART and then performs a wifi survey to find all the available wifi networks.

Then i just write to the serial port the MAC addresses of the found networks.

Do you have any idea how i can do this with the photon module?

I am trying to read the docs but it is all about the Web platform…

I am new to this module, i have just orderd 5 dev kits and i am trying to figure out where to start.

thank you for your time!

Welcome @kostas!

I’m not sure about UART, but here’s the command for finding networks:

WiFi.scan();

And here’s how you print to serial:

Serial.println();
1 Like