Reef Angel Wifi Adress

Post Reply
Christo
Posts: 48
Joined: Thu May 03, 2012 10:03 am

Re: Reef Angel Wifi Adress

Post by Christo »

rimai wrote:Do you happen to have a space?
If so, you need to use $ instead of space.
I have an underscore "_" in my SSID
Christo
Posts: 48
Joined: Thu May 03, 2012 10:03 am

Re: Reef Angel Wifi Adress

Post by Christo »

rimai wrote:Do you happen to have a space?
If so, you need to use $ instead of space.
This is what I get.
P.S. Passphrase edited



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 GlidePath_Wifi'
wait 'AOK'
sendln 'set wlan pass **********'
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 104.36.18.155'
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 57600'
wait 'AOK'
sendln 'set s p 0'
wait 'AOK'
sendln 'set c s 1420'
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
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Reef Angel Wifi Adress

Post by rimai »

This is the macro file. Are you sure you ran it?
Did you get the messageboxes at the start and end?
Roberto.
Christo
Posts: 48
Joined: Thu May 03, 2012 10:03 am

Re: Reef Angel Wifi Adress

Post by Christo »

rimai wrote:This is the macro file. Are you sure you ran it?
Did you get the messageboxes at the start and end?
Yes. Got the message boxes at the beginning and then again
at the end.

If I run the macro, The Wifi attachment then has a green and blue light blinking.
If I run the Wifi utility, I have a Slow blinking Green light with message “ Trying to
connect to your router.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Reef Angel Wifi Adress

Post by rimai »

Trying to connect to router is normal.
It just means that it wasn't able to setup upnp on your router.
Not sure why you get blue when running the macro.
If you enter the correct ssid and passphrase, it should connect.
Can you pull the "get e" log after you run the wifi utility?
Roberto.
Christo
Posts: 48
Joined: Thu May 03, 2012 10:03 am

Re: Reef Angel Wifi Adress

Post by Christo »

Okay... So after a bit of a cool down period I tried again.

Using Wifi utility: After selecting serial port and clicking Connect I get this message:

**ERROR- Please disconnect and reconnect the Reef Angel Wifi Attachment from the USB-TTL cable and try again.

Then Using the macro:

At first I ran 9600 baud rate and got a hole lot of "hieroglyphics" on the screen.
Then I tried 57600 and got this message:

HTTP/1.1 400 Bad Request
Content-Type: text/html; charset=us-ascii
Server: Microsoft-HTTPAPI/2.0
Date: Wed, 24 Jul 2019 07:59:19 GMT
Connection: close
Content-Length: 326

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Bad Request</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Bad Request - Invalid Verb</h2>
<hr><p>HTTP Error 400. The request verb is invalid.</p>
</BODY></HTML>

Now Currently Nothing is connecting to the Wifi Attachment.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Reef Angel Wifi Adress

Post by rimai »

You didn't run the macro correctly.
It must be at 57600 before you run it.
Roberto.
Post Reply