Welcome to IoTForums.com Community
Register now to participate in discussions, ask questions and share your knowledge on internet of things and automation! Feel free to sign up today.
Register Now

Arduino AMEBA ARDUINO: [RTL8722CSM] [RTL8722DM] [RTL8722DM MINI] AMEBA AP MODE

iot_crab

Just Hatched
Aug 16, 2021
9
3
11
Singapore
In AP mode, Ameba can accept at most 3 station connections, and can be set to open mode or WPA2 mode.

Preparation
  • AmebaD [RTL8722DM / RTL8722CSM / RTL8722DM MINI] x 1

Example

In this example, we turn on the AP mode of Ameba and connect station to Ameba.
Open the WiFi AP example, “File” -> “Examples” -> “AmebaWiFi” -> “WiFiAPMode”
1

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);
Then upload the sample code and press reset, and you can see related information shown in serial monitor.
1

In the figure below, we show the messages shown in serial monitor when two stations connect to Ameba AP in open mode:
1

In the figure below, we show the messages shown in serial monitor when a station connects to Ameba AP in security mode:
1


For More Resources:
If you need additional technical documents or the source code for this project. Please visit the official websites and join the Facebook group and forum.
 
  • Like
Reactions: WebMaster

Log in

or Log in using