Fez.Spider WiFi that is a bit ‘Different’
The attached is a “Test Of Concept” that demonstrates one way to use the Fez.Spider gadgeteer with Ethernet,WiFi and a WebServer. The code does nothing but prove (at least to me) that I can read and write to a Web page.
I am not out to deny GHI sales of WiFi modules but I had a NETGEAR WNCE2001 (A WiFi Bridge) laying around and I wanted to ‘see’ if it would work with my Spider. I first started out using a TCP Server and Client but I’m not smart enought to get it working. I could ‘write’ to the Spider but I never could figure out how to ‘read’ a message sent by the Spider. Oh Well… I gave up and started this project.
The Web Page does nothing but return “OK” to HttpWebRequests “CONNECT”, “POST”, “GET”, and “PUT”.
and only one WebServer.SetupWebEvent(“wifi”);
Michael Dodaro (Integral Design) has some code “.NET Gadgeteer Web Service Surveillance Camera” that
shows how to setup Web Events to a Web service.
NOTE: I have only tested this code on my local internet (home)
I hope sombody can use this as a basis for something more useful.
Use as you wish. No copyright on my part.
Usage is the sample code.
Have a GREAT DAY!