Wifi prob

Expansion modules and attachments
Post Reply
emict326
Posts: 48
Joined: Thu Mar 15, 2012 8:29 am
Location: Middleburg FL

Wifi prob

Post by emict326 »

after accidently doing a firm wear update on my wifi module it will no longer connect I get
** ERROR - Please disconnect and then reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

I have tried using terra term with the following script

x=0
while x<>121

messagebox 'Start WiFly module configuration' 'Webscan Config Program'

;this macro all sent with 5 msec character delay
timeout=10
send '$$$'
wait 'CMD'
sendln 'factory RESET'
wait 'Set Factory Defaults'

sendln 'reboot'
wait '*READY*'

;----------------------------------------
; Begin user settings


send '$$$'
wait 'CMD'
sendln 'set ftp address 198.175.253.161'
wait'AOK'
sendln 'save'
wait 'config'
sendln 'set wlan ssid ATT992'
wait 'AOK'
sendln 'set wlan pass 1181532401'
wait 'AOK'
sendln 'set option deviceid ReefAngelWifi'
wait 'AOK'
sendln 'set w j 1'
wait 'AOK'
sendln 'set c c 0'
wait 'AOK'
sendln 'set c r 0'
wait 'AOK'
sendln 'set c o 0'
wait 'AOK'
sendln 'set i d 1'
wait 'AOK'
sendln 'set c i 3'
wait 'AOK'
sendln 'set dns name www.reefangel.com'
wait 'AOK'
sendln 'set i h 198.171.134.6'
wait 'AOK'
sendln 'set i r 80'
wait 'AOK'
sendln 'set i f 0x06'
wait 'AOK'
sendln 'set s t 0x10'
wait 'AOK'
sendln 'set u m 2'
wait 'AOK'
sendln 'set i p 2'
wait 'AOK'
sendln 'set u b 9600'
wait 'AOK'
sendln 'set s p 0'
wait 'AOK'
sendln 'set c s 1420'Opening Serial Port...
Verifying speed at 9600 baud
Connected to serial port COM5
> $$$
> set u b 57600
> set s p 0
> save
> reboot
Verifying speed at 57600 baud
Removing connection to COM5
Connected to serial port COM5
> $$$
< CMD
Wifi is communicating at 57600 baud rate

> reboot
< reboot
Removing connection to COM5
---------------------------------------------------------------------
Wifi Attachment Connected to COM5
---------------------------------------------------------------------

Opening Serial Port...
Connected to serial port COM5
> $$$
< CMD
> factory RESET
< factory RESET
< Set Factory Defaults
> reboot
< <4.41>
< reboot
Removing connection to COM5
---------------------------------------------------------------------
Factory Settings Restored
---------------------------------------------------------------------


wait 'AOK'

sendln 'save'
wait 'config'

sendln 'save user'
wait 'user'

sendln'reboot'


;inputbox 'Configure another module (y/n)' 'WiFly Config Program'

; convert inputstr to ASCII int value
; str2code x inputstr

endwhile

and nothing seamed to be fixing the issue please help
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Wifi prob

Post by rimai »

You are not doing it correctly.
You must use teraterm to run that macro.
http://forum.reefangel.com/viewtopic.php?f=3&t=4601
Roberto.
emict326
Posts: 48
Joined: Thu Mar 15, 2012 8:29 am
Location: Middleburg FL

Re: Wifi prob

Post by emict326 »

After reading of the Tera term help form I got it. Thanks
Post Reply