1.1.10 Issues

Related to the development libraries, released by Curt Binder
Post Reply
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

1.1.10 Issues

Post 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...
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: 1.1.10 Issues

Post 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...
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: 1.1.10 Issues

Post by rimai »

I don't think I got a PM from you.
Roberto.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: 1.1.10 Issues

Post by lnevo »

Something wrong with PMs then. Sent multiple regarding the feature.txt and multiple regarding WiFiAlert.
rossbryant1956
Posts: 471
Joined: Sat Jan 14, 2012 2:08 pm
Location: Montgomery Village, MD

Re: 1.1.10 Issues

Post 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'
Roscoe's Reefs - Starting Over Again:

Building new 29g Nano after landlord went berserk over my 4 75 gallon tanks, Multiple RA's, Water mixing stations, etc. Your help welcomed in remembering all I've forgotten.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: 1.1.10 Issues

Post by lnevo »

I need to post the changes I needed for that to work..
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: 1.1.10 Issues

Post 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.
rossbryant1956
Posts: 471
Joined: Sat Jan 14, 2012 2:08 pm
Location: Montgomery Village, MD

Re: 1.1.10 Issues

Post by rossbryant1956 »

thx, this fixed it. (the wifi issues.) I'll look at the main post next. Thx
Roscoe's Reefs - Starting Over Again:

Building new 29g Nano after landlord went berserk over my 4 75 gallon tanks, Multiple RA's, Water mixing stations, etc. Your help welcomed in remembering all I've forgotten.
Amos Poh
Posts: 107
Joined: Sun Jul 22, 2012 4:51 am
Location: Singapore

Re: 1.1.10 Issues

Post 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 ?
rossbryant1956
Posts: 471
Joined: Sat Jan 14, 2012 2:08 pm
Location: Montgomery Village, MD

Re: 1.1.10 Issues

Post 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.
Roscoe's Reefs - Starting Over Again:

Building new 29g Nano after landlord went berserk over my 4 75 gallon tanks, Multiple RA's, Water mixing stations, etc. Your help welcomed in remembering all I've forgotten.
Amos Poh
Posts: 107
Joined: Sun Jul 22, 2012 4:51 am
Location: Singapore

Re: 1.1.10 Issues

Post by Amos Poh »

i tried restarting my PC, but i will give it a try again Thanks :)
Amos Poh
Posts: 107
Joined: Sun Jul 22, 2012 4:51 am
Location: Singapore

Re: 1.1.10 Issues

Post 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
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: 1.1.10 Issues

Post by rimai »

Is this for RA or RA+?
Roberto.
clw143
Posts: 118
Joined: Fri Jun 21, 2013 8:20 pm
Location: Louisiana

Re: 1.1.10 Issues

Post 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.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: 1.1.10 Issues

Post 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)
Post Reply