I just purchased an AsyncLabs BlackWidow 1.0 WiFi board. I have
successfully connected it to a Verizon Actiontec MI242-WR wireless
router (with WPA2 security) using the both the WebServer and
SocketApp example sketches.
However, I have been unsuccessful in getting both the SimpleServer
and Simple Client WiServer example sketches to run properly.
Specifically, the sketches appear to successfully initialize the
connection (via WiServer.init()) and I get a blue connection light.
However, after about five seconds of looping in WiServer.server_task(),
the code appears to crash inside the zg_drv_process() function. The
process of connection initialization, 5 seconds of connection time, then
apparent crash repeats itself over and over. During the 5 seconds of
connection time, I am able to connect to the server (SimpleServer sketch)
using a web browser.
Does anyone have any idea what might be happening to cause the apparent
crash in the zg_drv_process() function?
How do I go about adding Serial.println() debugging statements to
the zg_drv_process() function in g2100.c to debug this function?
When I have tried to add Serial.println() statements to g2100.c,
I get "'Serial' undeclared (first use in this function)" compilation
errors. How do I get Serial.println() to work in g2100.c, i.e. what
header file(s) do I need to include?
Finally, is there some documentation available which describes how
ZeroG Wireless G2100 chip works, so that I can attempt to understand
what the c2100.c code is doing?
Thanks ahead of time for any help that can be provided!
Mark