Page 1 of 1

WifiTest Code skecth too big

Posted: Fri Aug 04, 2017 7:40 am
by Rezn8
Finally managed to get a wifi adaptor for my RA.
When I try upload first wifitest code it says sketch too big ?

Re: WifiTest Code skecth too big

Posted: Fri Aug 04, 2017 8:36 am
by Rezn8
I can run the wizard , no problems, when I add wifi attachment, I add my user name to field, and home to DNS server, but when wizard tries to update, I get an error.
Please help

Re: WifiTest Code skecth too big

Posted: Sat Aug 05, 2017 3:20 am
by Rezn8
Opening Serial Port...
Verifying speed at 9600 baud
Connected to serial port COM3
> $$$
> set u b 57600
> set s p 0
> save
> reboot
Opening Serial Port...
Verifying speed at 9600 baud
Removing connection to COM3
Connected to serial port COM3
> $$$
> set u b 57600
> set s p 0
> save
> reboot
Verifying speed at 57600 baud
Removing connection to COM3
Connected to serial port COM3
> $$$
< CMD
Wifi is communicating at 57600 baud rate

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

* Please, enter a SSID
Opening Serial Port...
Connected to serial port COM3
> $$$
< CMD
> ls
< ls
<
< FL# SIZ FLAGS
< 2 78524 3 WiFly_GSX-2.32
< 22 44704 3 wps_app
< 33 1052 10 config
< 34 78524 3 WiFly_GSX-2.32
< 54 49072 3 wps_app
< 67 1052 10 user
< 68 88548 3 wifly-GSX-441-r1057
<
< 165 Free, Boot=68, Backup=34
< <4.41>
> load user
< load user
< AOK
< <4.41>
> save
< save
< Storing in config
< <4.41>
> save
< save
< Storing in config
< <4.41>
> set o d ReefAngelWifi
< set o d ReefAngelWifi
< AOK
< <4.41>
> set w l 5
< set w l 5
< AOK
< <4.41>
> set w s STUDY2
< set w s STUDY2
< AOK
< <4.41>
> set w p qwertyuiop
< set w p qwertyuiop
< AOK
< <4.41>
> set w k 00000000000000000000000000
< set w k 00000000000000000000000000
< AOK
< <4.41>
> set ftp address 198.175.253.161
< set ftp address 198.175.253.161
< AOK
< <4.41>
> save
< save
< Storing in config
< <4.41>
> reboot
< reboot
> $$$
< CMD
> show n
< show n
< SSid=STUDY2
< Chan=3
< Assoc=OK
< Rate=12, 24Mb
< Auth=OK
< Mode=MIXED
< DHCP=OK,renew=32396
< Boot=2069
< Time=FAIL
< Links=1
< <4.41>
> get i
< get i
< IF=UP
< DHCP=ON
< IP=192.168.1.40:2000
< NM=255.255.255.0
< GW=192.168.1.1
< HOST=104.36.18.155:80
< PROTO=TCP,
< MTU=1524
< FLAGS=0x6
< TCPMODE=0x0
< BACKUP=0.0.0.0
< <4.41>
> reboot
< reboot
Removing connection to COM3
---------------------------------------------------------------------
Your Reef Angel Wifi Attachment is now configured with the settings provided.
---------------------------------------------------------------------

If the blue LED is still blinking, it means that the Reef Angel Wifi Attachment could not connect to your wifi network.

Found router DSL-2750U

Port 2000 is now being forwarded to 192.168.1.40

Re: WifiTest Code skecth too big

Posted: Sat Aug 05, 2017 3:22 am
by Rezn8
So I think that means everything is OK with wifi unit ?
Blue light not flashing.
What is my ip address that I need to put into the Uapp setting please ?

Re: WifiTest Code skecth too big

Posted: Sat Aug 05, 2017 3:25 am
by Rezn8
And I cannot access it via ip address in Explorer

Re: WifiTest Code skecth too big

Posted: Sat Aug 05, 2017 3:29 am
by Rezn8
But I can ping it

Re: WifiTest Code skecth too big

Posted: Sat Aug 05, 2017 3:58 am
by Rezn8
And if I try restore original code through Ardiono I get
The following features were automatically added:
Watchdog Timer
Version Menu

The following features were detected:
Dimming Signal
Date/Time Setup Menu
Standard Menu
Binary sketch size: 36,354 bytes (of a 32,256 byte maximum)
processing.app.debug.RunnerException: Sketch too big; see http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing it.
at processing.app.Sketch.size(Sketch.java:1844)
at processing.app.Sketch.build(Sketch.java:1775)
at processing.app.Sketch.exportApplet(Sketch.java:1797)
at processing.app.Sketch.exportApplet(Sketch.java:1783)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2357)
at java.lang.Thread.run(Thread.java:619)

Re: WifiTest Code skecth too big

Posted: Sat Aug 05, 2017 8:37 am
by rimai
The IP address shows at the bottom. 192.168.1.40
The web server is listening to port 2000, so you have to go http//192.168.1.40:2000
But you may have better results using chrome.
The WiFi attachment by itself will not give you anything on the browser though. Your RA is the one that returns data to the browser.
Do you have a standard RA or RA+?