I am trying to connect a WiFiRN171 module on socket 1 of my Fez Raptor. When i then try to use it, it returns a TimeOutException it happens on every method i call on it. Is this a known issue or is this module also broken again ?
Hi RoSchmi i have tried your driver and also no luck
var wifi = new WiFi_RN171(4);
nothing more then this code and the output is testing different baud rates but none seem to bee compatible. I Allready tried different sockets on my raptor no luck either.
I would not know how to change the baud rate so it is safe to assume that is still the way it was set by GHI.
i had changed the directive in your cs file. But not in the program started after i added the directive in the programstarted it did not make a change still nothing
wifi_RN171 = new WiFi_RN171(1, 9600, GTI.SerialParity.None, GTI.HardwareFlowControl.NotRequired);
There is a bug in my program that it does not work if the baudrate was not changed but hardwareflowcontrol was changed.
BTW: hardwareflowcontrol does not work on the raptor.
Perhaps it could help if you post the contents of the output window.
Seem that the RN171 does not answer on the commands.
One way to get out of this would be to make a hardware factory reset.
But this is a little bit tricky an perhaps dangerous to kill it.
A.13 RESTORING DEFAULT CONFIGURATION SETTINGS
You can restore the default factory configuration settings in software and hardware.
• Software - In command mode, use the factory RESET command to restore the
defaults. This command automatically loads the default settings and executes a
save command. Next, send the reboot command so that the module reboots with
the default configuration.
• Hardware - Set GPIO9 high on power up to arm the factory reset function. Then
toggle GPIO9 five (5) times, which restores the configuration to the factory reset.
GPIO9 is sampled at about 1 Hz; therefore, if you are using a CPU to generate the
signal, make sure that GPIO9 transitions (high to low or low to high) are at least 1
second long.
After a hardware reset the Baudrate is 9600.
Would be better if you could do it by commands.
Do you have a USB Serial module to send commands to the RN171 with my Utility?
Another idea is to connect to the RN171 via Telnet port 2000.
In the original GHI configuration the RN171 should boot into AP mode.
Can you see a RN171 SSID when has booted?
Perhaps a look on this thread is helpful: