-
1Code Edition
Open the WiFi AP example, “File” -> “Examples” -> “AmebaWiFi” -> “WiFiAPMode”
In the highlighted code snippet, fill in your SSID, PASSWORD and CHANNEL.
The code highlighted is the API we used to turn on the AP mode in security mode.
If you want to turn on the AP mode in open mode, please modify the code to
status = WiFi.apbegin(ssid, channel);
-
2Upload and Execution
Then upload the sample code and press reset, and you can see related information shown in serial monitor.
In the figure below, we show the messages shown in serial monitor when two stations connect to Ameba AP in open mode:
In the figure below, we show the messages shown in serial monitor when a station connects to Ameba AP in security mode:
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.