-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GPRSBee class error on "logging_to_EnviroDIY.ino" #8
Comments
It really looks like your library is not up to date. Given you're also getting an error with finding double libraries for SD.h (which is a built-in that I didn't touch), I think there might be something goofy going on with how your software is finding your libraries. Are you sure you restarted the IDE after updating? You definitely did not update the library with the IDE by recloned from git, right? Can you post the verbose output? |
This example should just be removed; it's pretty "ancient." |
I'm getting a similar GPRSBee error at the end of the below copied verbose report. Arduino: 1.8.8 (Windows 7), Board: "EnviroDIY Mayfly 1284p" C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\brian.jastram\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\brian.jastram\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries U:\My Documents\Arduino\libraries -fqbn=EnviroDIY:avr:envirodiy_mayfly -ide-version=10808 -build-path C:\Users\BRIAN EnviroDIY_Mayfly_Logger_Feb22:576:13: error: 'class GPRSbeeClass' has no member named 'addHTTPHeaders'
EnviroDIY_Mayfly_Logger_Feb22:577:13: error: 'class GPRSbeeClass' has no member named 'addContentType'
U:\My Documents\Arduino\Sketches\EnviroDIY_Mayfly_Logger_Feb22\EnviroDIY_Mayfly_Logger_Feb22.ino: In function 'void setup()': EnviroDIY_Mayfly_Logger_Feb22:681:17: error: 'class GPRSbeeClass' has no member named 'init'
EnviroDIY_Mayfly_Logger_Feb22:683:17: error: 'class GPRSbeeClass' has no member named 'setPowerSwitchedOnOff'
Multiple libraries were found for "GPRSbee.h" |
Just to warn you, this example is NOT what I'd currently recommend using. I would (strongly) suggest switching to the ModularSensors library to send data to enviroDIY. To use this sketch you need to use branch v1.2_hacked of the EnviroDIY fork of the GPRSBee library: https://github.com/EnviroDIY/GPRSbee/tree/v1.2_hacked. That version was the last one to work properly on the Mayfly, and then was modified to allow the authentication headers needed to communicate with the EnviroDIY Data Portal. |
@brianjastram If you're using the Arduino IDE, I would also recommend moving away from that in favor of PlatformIO |
@SRGDamia1, yesterday 4 of us at LimnoTech tried out https://github.com/EnviroDIY/EnviroDIY_Mayfly_Logger/blob/master/examples/logging_to_EnviroDIY/logging_to_EnviroDIY.ino by making modifications in separate personal branches.
Unfortunately, I couldn't get the sketch to Verify, even though I have my libraries updated to the most recent. On my two different laptops (both macOS 10.12.3), I got a
'class GPRSbeeClass' has no member named 'addHTTPHeaders'
error on line 477. However my 3 colleagues, all running windows, had no problem verifying their sketches and now one is logging to Data.EnviroDIY.org.Here is the full error:
Any ideas?
The text was updated successfully, but these errors were encountered: