Issues setting up the WiFi Module with provided setup code

Expansion modules and attachments
Post Reply
astralmind
Posts: 98
Joined: Fri Apr 01, 2011 10:53 am

Issues setting up the WiFi Module with provided setup code

Post by astralmind »

Hi,

I've been trying to use the Wifi COnfig pde provided on reefangel.com but it can't compile which seems odd to me as I was able to send the "demo code" easily to my RA. I get tons of errors, saying it can't find files (cpp and h) altough they are in the proper location.

I've only uploaded the demo code so far but it worked.

Any ideas ?


C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\ReefAngel.cpp:22:31: error: ReefAngel_Globals.h: No such file or directory
In file included from C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\ReefAngel.cpp:25:
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:29:66: error: ReefAngel_EEPROM.h: No such file or directory
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:31:32: error: ReefAngel_NokiaLCD.h: No such file or directory
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:32:27: error: ReefAngel_ATO.h: No such file or directory
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:33:32: error: ReefAngel_Joystick.h: No such file or directory
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:34:27: error: ReefAngel_LED.h: No such file or directory
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:35:34: error: ReefAngel_TempSensor.h: No such file or directory
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:36:29: error: ReefAngel_Relay.h: No such file or directory
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:37:27: error: ReefAngel_PWM.h: No such file or directory
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:38:29: error: ReefAngel_Timer.h: No such file or directory
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:39:30: error: ReefAngel_Memory.h: No such file or directory
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\ReefAngel.cpp:26:28: error: ReefAngel_Wifi.h: No such file or directory
In file included from C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\ReefAngel.cpp:25:
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:52: error: 'ParamsStruct' does not name a type
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:54: error: 'ReefAngel_NokiaLCD' does not name a type
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:55: error: 'ReefAngel_JoystickClass' does not name a type
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:56: error: 'ReefAngel_LEDClass' does not name a type
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:58: error: 'ReefAngel_ATOHighClass' does not name a type
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:59: error: 'ReefAngel_ATOLowClass' does not name a type
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:60: error: 'ReefAngel_TempSensorClass' does not name a type
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:61: error: 'ReefAngel_RelayClass' does not name a type
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:74: error: 'ReefAngel_TimerClass' does not name a type
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:75: error: 'byte' does not name a type
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:78: error: 'byte' does not name a type
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:79: error: 'byte' does not name a type
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:80: error: 'byte' does not name a type
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:88: error: 'byte' does not name a type
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:102: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:103: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:103: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:103: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:103: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:103: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:104: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:104: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:104: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:104: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:104: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:104: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:105: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:106: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:107: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:108: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:108: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:108: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:109: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:109: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:109: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:109: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:109: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:110: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:110: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:110: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:111: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:111: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:114: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:115: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:116: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:117: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:118: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:119: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:120: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:121: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:122: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:123: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:124: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:125: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:126: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:130: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:162: error: 'byte' has not been declared
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:177: error: 'byte' does not name a type
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:180: error: 'Total_Menus' was not declared in this scope
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:181: error: 'byte' does not name a type
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:182: error: 'byte' does not name a type
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\/ReefAngel.h:183: error: 'byte' does not name a type
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\ReefAngel.cpp:28: error: 'byte' does not name a type
C:\Users\astralmind\Documents\Arduino\libraries\ReefAngel\ReefAngel.cpp:30: error: expected constructor, destructor, or type conversion before '(' token
astralmind
Posts: 98
Joined: Fri Apr 01, 2011 10:53 am

Re: Issues setting up the WiFi Module with provided setup co

Post by astralmind »

and I can confirm that I can easily compile other PDE like RASimple and a random pde I had generated with RAgen
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Issues setting up the WiFi Module with provided setup co

Post by rimai »

Looks like you got libraries mismatch.
Please update libraries with the update utility: http://www.reefangel.com/update/
When you do the wifi setup, convert to standard. When you are trying to compile RAGen code, convert to developement.
Roberto.
astralmind
Posts: 98
Joined: Fri Apr 01, 2011 10:53 am

Re: Issues setting up the WiFi Module with provided setup co

Post by astralmind »

You Rock ! I was using the Dev Library, didn't think it would make a difference :) Thank you for the ultra speedy help!

Very happy to have received the Wifi Module right before Canada Post's strike !
astralmind
Posts: 98
Joined: Fri Apr 01, 2011 10:53 am

Re: Issues setting up the WiFi Module with provided setup co

Post by astralmind »

Well, I managed to get the code on and properly login onto my network but now the controller is stalled on the Wifi Setup screen Status 8830 Already Setup Exiting.... but not exiting, everytime I reboot it does the same.

I do see an IP adress there though... Anything I'm doing wrong ?
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Issues setting up the WiFi Module with provided setup co

Post by rimai »

You are done. The wifi attachment is configured.
That code is just so you don't have to manually go through typing everything according to the manual to setup the attachment.
Load you RAGen code now, make sure that the wifi is checked in the features tab and you should be able to browse the IP address.
Roberto.
astralmind
Posts: 98
Joined: Fri Apr 01, 2011 10:53 am

Re: Issues setting up the WiFi Module with provided setup co

Post by astralmind »

thanks. I feel dumb just realised I had to reload code for the controller to work. Re flashed RA Simple and obviously it worked. Sorry for the useless questions.

I'll go play a bit with RAgen now and get this thing up and running.

Thank again.
Post Reply