Hi All,
I received my WiShield on thursday and overall im pleased. But..
as a n00b the WiShield has got me so confused as most of the work is being done outside of the sketch, by that i mean in "Loop" we juts have Wifi.run(). Now call me dumb, but ive had to retrace through all the header files and includes to find out what the heck is going on before i even try and do soem simple blinky type stuf, and im totally lost.
Could i suggest we try and simplify/create some functions that n00bs can use straight from the sketch and not delve into the includes? the WiServer.print seems a step in right direction.
could we have some functions like...
WiServer.btnClicked(str) //Returns the id / name of button pressed on page
WiServer.txtInput(id,str) // Returns the text inputted into a text box of id=id
WiServer.readVar(var) //Gets a variable from the url i.e. http://192.168.1.1/index.html?var1=stri ... r2=string2
WiServer.Signal(int) // Dunno if signal strength is available but would be killer if we could fetch it somehow.
Also when playing with the example skethces i got so sick of entering my WPA details, i cut and pasted the connection init from sketch into a new file MyConfig.h and the just used #include <MyConfig.h> , that way i can jump into any sketch and get my conection details. What would be mega ace would be a way of inititate and killing a connection quickly (save battery life on mobile projects) such as
WiServer.Connect(MyConfigs)
WiServer.Disconnect()
and a IsConnected would be great, because i dont know about you but my sketches dont run until the WiFi connects.
I know i know, some things above will not be possible, but i just hope you guys can see like me, this shield could really benefit tinkerers out there, not just the code heads.
BTW, i want to use the WiShield to make a wireless tea making machine.
