Gadgeteer WiFi RS21 Server

The WiFi RS21 module from GHI Electronics is an excellent and easy to use module for settup at WiFi connection.  However, it’s a little tricky setting up a server application. You need to get the IP address assigned to the module from the dhcp server.  This is  done in the NetworkAddressChanged event before you join the network.

I’ve uploaded the example to my Gadgeteer GitHub repository.  You can find out more information about the module on the Gadgeteer Page.

Creating a Gadgeteer Wifi RS21 server

This is the standard way to open and enable the wifi_RS21 interface.

You must subscribe the NetworkAddressChanged event to get IP address

This method will catch the IP Address

Running the server is easy at this point.

The web event received can return any data you desire

Share this Post