-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Implement batch transmission #479
base: develop
Are you sure you want to change the base?
Commits on Jan 24, 2023
-
change EnviroDIY URL to Memphis server and update copyright
For future testing and development
Configuration menu - View commit details
-
Copy full SHA for dd0ddab - Browse repository at this point
Copy the full SHA dd0ddabView commit details
Commits on Feb 4, 2023
-
dataPublisherBase: remove redundant zero init of TX buffer
Saves 750 bytes of flash as the buffer can be placed in .bss to be zero-initialized instead of .data.
Configuration menu - View commit details
-
Copy full SHA for 4320fd2 - Browse repository at this point
Copy the full SHA 4320fd2View commit details
Commits on Feb 9, 2023
-
LoggerBase: make testing button log immediately using normal procedure
Allows easy field verification of functionality as opposed to previous testing function which only served a purpose when attached to a computer (and consumed lots of flash).
Configuration menu - View commit details
-
Copy full SHA for 8c4e590 - Browse repository at this point
Copy the full SHA 8c4e590View commit details
Commits on Feb 10, 2023
-
add 8K data buffer for testing
Device still reports 3K RAM free
Configuration menu - View commit details
-
Copy full SHA for cd37b8f - Browse repository at this point
Copy the full SHA cd37b8fView commit details -
publishers: refactor transmit buffer usage
Use cleaner interface and common functions that avoid repeated snprintf and strlen usage to save ~2.5KB of flash and dozens of lines of code. Removes extra \r\n from HTTP requests as a side effect, which were against spec and caused spurious 400 Bad Request status messages from servers.
Configuration menu - View commit details
-
Copy full SHA for e275718 - Browse repository at this point
Copy the full SHA e275718View commit details -
publishers/EnviroDIYPublisher: send data as one element arrays
For testing the server component
Configuration menu - View commit details
-
Copy full SHA for 40b91c5 - Browse repository at this point
Copy the full SHA 40b91c5View commit details -
publishers/EnviroDIYPublisher: buffer log data and send in batches
Serialize timestamps and variable values to the data buffer, then unserialize and format into JSON arrays. Offers considerable data and power savings.
Configuration menu - View commit details
-
Copy full SHA for 5df9aa6 - Browse repository at this point
Copy the full SHA 5df9aa6View commit details -
publishers/EnviroDIYPublisher: move log buffer logic to its own class
Clean up and make maintenance easier
Configuration menu - View commit details
-
Copy full SHA for 58a17e9 - Browse repository at this point
Copy the full SHA 58a17e9View commit details -
only turn modem on when internet connection is needed by a publisher
Avoids unnecessary time and power consumption when publishers just plan to buffer the data.
Configuration menu - View commit details
-
Copy full SHA for bf548d4 - Browse repository at this point
Copy the full SHA bf548d4View commit details -
dataPublisherBase: correctly retry flushing if modem buffer is full
The modem might not be able to accept the data written to it if its transmit buffer is full. In that case, the portion not accepted needs to be retried later. If we retry too many times, give up so we don't get stuck in an infinite loop.
Configuration menu - View commit details
-
Copy full SHA for 447f582 - Browse repository at this point
Copy the full SHA 447f582View commit details -
publishers/EnviroDIYPublisher: send initial logged data immediately
Send the first few data points logged after initialization immediately instead of buffering them until the programmed interval elapses. Allows verification of functionality during deployment.
Configuration menu - View commit details
-
Copy full SHA for 212ead3 - Browse repository at this point
Copy the full SHA 212ead3View commit details -
publishers/EnviroDIYPublisher: use more intelligent sending algorithm
Avoid repeatedly retrying if the server is down, while still retrying a couple times in case the connection is unreliable.
Configuration menu - View commit details
-
Copy full SHA for e79cbe4 - Browse repository at this point
Copy the full SHA e79cbe4View commit details -
flush log buffer immediately when test button is pushed
Allows immediate transmission of data in buffer without loss before powering off and decomissioning a deployed datalogger.
Configuration menu - View commit details
-
Copy full SHA for b092f32 - Browse repository at this point
Copy the full SHA b092f32View commit details
Commits on Mar 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b98d3e4 - Browse repository at this point
Copy the full SHA b98d3e4View commit details
Commits on Sep 15, 2023
-
Added begin. Can't figure out why needed.
Signed-off-by: Sara Damiano <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fa3aaab - Browse repository at this point
Copy the full SHA fa3aaabView commit details
Commits on Sep 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 81b6963 - Browse repository at this point
Copy the full SHA 81b6963View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba35c84 - Browse repository at this point
Copy the full SHA ba35c84View commit details
Commits on May 20, 2024
-
Made the EnviroDIY host/path/port settable
Signed-off-by: Sara Damiano <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 54bc18a - Browse repository at this point
Copy the full SHA 54bc18aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a9f6e6 - Browse repository at this point
Copy the full SHA 7a9f6e6View commit details -
Signed-off-by: Sara Damiano <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2b97787 - Browse repository at this point
Copy the full SHA 2b97787View commit details
Commits on May 28, 2024
-
Decrease buffer size for Mega, fix warnings
Signed-off-by: Sara Damiano <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 055c11a - Browse repository at this point
Copy the full SHA 055c11aView commit details
Commits on Jun 11, 2024
-
Update Doxygen, add docs for private members
Signed-off-by: Sara Damiano <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c2f646c - Browse repository at this point
Copy the full SHA c2f646cView commit details
Commits on Sep 19, 2024
-
Remove extra emphasized return types.
Signed-off-by: Sara Damiano <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c3a1520 - Browse repository at this point
Copy the full SHA c3a1520View commit details