Gadgeteer WiFi Scanner

Jimmy,

Are you using WiFi Rs21 driver, aren’t you? If you take a look at the WiFi RS21 module driver source code in codeplex there is a testing application that you can use as a guide for you.

As soon as the latest SDK was released I came back to this demo…
I have the latest GHI .Net Gadgeteer SDK Version 1.3.0 installed, and firmware updated on the MCU. I have the WIFI rs21 1.1 module. But its still not working, meaning I am still getting an
errorCode = 7, StackTrace “GHIElectronics.NETMF.Net.WiFi::Enable\r\nGadgeteer.Modules.GHIElectronics.WiFi_RS21::.ctor\r\nWiFi_RS21Tester.Program::InitializeModules\r\nWiFi_RS21Tester.Program::Main\r\n” string
I get this when I run the WiFi_RS21Tester in the source.

Has anyone had success in updating this module to work? If so, how?

Documentation says “Fixed WiFi RS21 driver. First working release with completely redesigned user interface.” And I am really curious about what user interface this is referring to. Any ideas?

What does " But its still not working" mean? More details please.

He probably means “the WiFi Scanner is still not working”.

The last two code postings were basically workarounds for the then-incomplete WiFi driver.
Now that the RedPine / GHI collaboration has generously given us a working driver, I have a handful of updates to do (already started).

The new WiFi API incurs some changes to the code (Connect() was replaced with Join(), ferinstance) and that’s what I’m working through (thank FSM for Object Browser!).

Jimmy,

Is it possble that you use the Gadgteer driver instead of the direct wifi class in your project sine you are using a .NET Gadgeteer system?

Mashby,

Here is a simple peice of code on how to use WiFi RS21 module with FEZ Spider:
[url]http://code.tinyclr.com/project/424/wifi-rs21-module-example-with-fez-spider/[/url]

Yep - I’m using the same methodology in my new code.
I’ll assemble the test results and methodology details for you ASAP.

I tried the example code here: http://code.tinyclr.com/project/424/wifi-rs21-module-example-with-fez-spider/

And I tried the WiFi_RS21Tester example on gadgeteer.codeplex.com.

The module fails on enable(). The light on the wifi module never turns on. Any ideas?

@ Mashby:
With the latest updates, you don’t need to use the Enable() method unless you call Disable().
The current WiFi Scanner is not (yet) written properly for the new libraries; this is still a work in progress.
Now that WiFi connections happen reliably (nice work, guys!), I’m updating the main logic to meet with the new API requirements and adding some input functionality so that you can enter WEP & WPA-PSK keys.

mashby,

Please post you questions about the example code here:
[url]http://www.tinyclr.com/forum/23/5463/[/url]

mashby,

Please post you questions about the example code here:
[url]http://www.tinyclr.com/forum/23/5463/[/url]