The current .NET Framework Version 4.2 using WiFi RS21 Module
I saw some code posted by Duke Nukem ( TOPIC [Question]Potential IPAddress Bug in Wifi )
http://www.tinyclr.com/forum/topic?id=9411&page=3 and it WORKS!
I thought I would take his code and add some Debug.Print(messages).and post the project code. I have asked permission to do so. Any mistakes found are mine. 99.9% of the code is the original code provided by Duke Nukem. I only put it into a project to share with all.
As a note my GHI WiFi RS21 Module PCB is marked as Version 1.2.
Sample Debug output when running the project:
The thread ‘’ (0x2) has exited with code 0 (0x0).
Using mainboard GHI Electronics FEZSpider version 1.0
Press button to begin
RS9110 firmware version Number is 4.4.5
RS9110 driver version Number is 4.4.5
The thread ‘’ (0x3) has exited with code 0 (0x0).
***Connected to network…
***Waiting for response…
***NetworkDown event!
***NetworkAddressChanged event!
***IP Address : 192.168.2.8
***WirelessConnectivityChanged event!
***RSSI : 54
***IP Address : 192.168.2.8
The thread ‘’ (0x7) has exited with code 0 (0x0).
***Response is received : <meta http-equiv=“Content-Type” content="text/html; charse
Time Server : 11/15/2012 02:03:49
***NetworkAddressChanged event!
***IP Address : 192.168.2.8
***NetworkAddressChanged event!
***IP Address : 192.168.2.8
The codes purpose is to read the date and time. I will be expanding the code for other uses but for now I wanted to keep it as close to the original as possible and still be able to display the program output.
It is nice to know that the WiFi module really can work with the current version framework.
I take no credit for the original code. I am only passing it along for others.