Page 1 of 1

1.1.10 Issues

Posted: Sun Nov 03, 2013 8:06 am
by lnevo
A few issues I wanted to report that I'm working through with the new libraries.

1) My OVERRIDE_PORTS macro in feature.txt is STILL not included... From the PULL request info https://github.com/reefangel/Libraries/pull/90

OVERRIDE_PORTS,ReefAngel.AddPortOverrides,Override Port Masks

Are you getting my PMs? Sent a few reminders on this one and also regarding adding the WiFiAlert.. seems I can no longer make pull requests to the dev branch it defaults to master.. not sure what I'm doing wrong..

2) ScheduleTime() function was removed... I was using this in the Moon rise/set lib. Not a big deal, I copied the function from the old libraries into that code.

3) boolean / byte do not name types... Not sure what I'm missing here, but could use some guidance... assuming I'm missing an include..

/home/lnevo/sketchbook/libraries/SunLocation/SunLocation.h:22: error: ‘boolean’ does not name a type
/home/lnevo/sketchbook/libraries/SunLocation/SunLocation.h:35: error: ‘boolean’ does not name a type
/home/lnevo/sketchbook/libraries/SunLocation/SunLocation.h:57: error: ‘byte’ does not name a type

This has worked fine in the past few libraries and the SunLocation code has not changed in a long time...

Re: 1.1.10 Issues

Posted: Sun Nov 03, 2013 8:56 am
by lnevo
Got #3 fixed by #including <Globals.h> in each class...odd. Not sure why that would be needed for byte and boolean types...

Re: 1.1.10 Issues

Posted: Sun Nov 03, 2013 9:53 am
by rimai
I don't think I got a PM from you.

Re: 1.1.10 Issues

Posted: Sun Nov 03, 2013 10:54 am
by lnevo
Something wrong with PMs then. Sent multiple regarding the feature.txt and multiple regarding WiFiAlert.

Re: 1.1.10 Issues

Posted: Sun Nov 03, 2013 5:16 pm
by rossbryant1956
updated the libraries and getting the following errors on a compile:

Code: Select all

C:\Users\owner\Documents\Arduino\libraries\WiFiAlert\WiFiAlert.cpp: In member function 'void WiFiAlert::WiFiSendAlert(char*)':
C:\Users\owner\Documents\Arduino\libraries\WiFiAlert\WiFiAlert.cpp:30: error: 'class ReefAngelClass' has no member named 'portalusername'
C:\Users\owner\Documents\Arduino\libraries\WiFiAlert\WiFiAlert.cpp:32: error: 'class ReefAngelClass' has no member named 'portalkey'

Re: 1.1.10 Issues

Posted: Sun Nov 03, 2013 6:24 pm
by lnevo
I need to post the changes I needed for that to work..

Re: 1.1.10 Issues

Posted: Sun Nov 03, 2013 6:50 pm
by lnevo
http://forum.reefangel.com/viewtopic.php?p=33855#p33855

The rest of the classes I use have been updated on post 2 of my thread.

Re: 1.1.10 Issues

Posted: Sun Nov 03, 2013 7:17 pm
by rossbryant1956
thx, this fixed it. (the wifi issues.) I'll look at the main post next. Thx

Re: 1.1.10 Issues

Posted: Mon Nov 04, 2013 5:57 am
by Amos Poh
Help! after updating to V1.1.10 while uploading a code it says error communicating with programmer! now my RA controller is stuck and the ports are not working. what can i do ?

Re: 1.1.10 Issues

Posted: Mon Nov 04, 2013 6:35 am
by rossbryant1956
if you haven't, try rebooting your PC. I believe some of my old libraries got stuck in memory and a reboot cleared that up.

Re: 1.1.10 Issues

Posted: Mon Nov 04, 2013 7:06 am
by Amos Poh
i tried restarting my PC, but i will give it a try again Thanks :)

Re: 1.1.10 Issues

Posted: Mon Nov 04, 2013 7:48 am
by Amos Poh
i restarted and tried uploading start cannot get it to load,

avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_command(): failed miserably to execute command 0x1d
avrdude: stk500v2_cmd(): failed to send command
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_command(): failed miserably to execute command 0x1d
avrdude: stk500v2_cmd(): failed to send command

Re: 1.1.10 Issues

Posted: Mon Nov 04, 2013 9:12 am
by rimai
Is this for RA or RA+?

Re: 1.1.10 Issues

Posted: Fri Nov 29, 2013 11:51 am
by clw143
lnevo wrote:Got #3 fixed by #including <Globals.h> in each class...odd. Not sure why that would be needed for byte and boolean types...
Does this mean you have a new version :D

I added #include <Globals.h> to the SunLocation.h file and compile is happy.

Re: 1.1.10 Issues

Posted: Fri Nov 29, 2013 11:52 am
by lnevo
I did post new versions with the correction in all the classes I'm using. You can find the links in the second link in my thread (in Signature)