Put the downloaded library to Arduino/libraries directory.
Open FILE->Example->Redback->SimpleServer in the Arduino IDE
Then modify the app-config.h under the Redback file.
For different programs useing different header files, we use the corresponding header files throng the comments or open the related macro definitions in the app-config.h. We modify the app-config.h as follows in this post.
Then we can modify the code according to our router information
From the top to the bottom of according to the 6 red boxes in turn:
The Redback IP address
The connected gateway router
The connected wireless network name of the Redback.
Wireless network encryption method
The last is a wireless network password
This code configured according to my own router information .
At last, you can see the compiled code result.
The WIFIGreen on the board will light up after the code unload to the IDE. Then input the IP address 192.168.7.120( The IP address is modified according the different network segment) set for the redback in the code in the browser (ensure that the computer and redback are on the same network segment). The server will print out the helloworld