Skip to content
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

chore: added docs to dataCollection.hpp #139

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion src/cellular/dataCollection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

#include "Particle.h"

/**
* @brief struct for holding 10 measurements to upload
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is incorrect. This is the Ensemble 10 state/accumulation structure

*/
typedef struct Ensemble10_eventData_
{
double temperature;
Expand All @@ -20,9 +23,15 @@ typedef struct Ensemble10_eventData_
uint32_t accumulateCount;
}Ensemble10_eventData_t;

/**
* @brief staic variable for 10 measurements
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is incorrect. This is the Ensemble 10 state/accumulation data.

*/
static Ensemble10_eventData_t ensemble10Data;


/**
* @brief collects data with 10 measurmenets for upload
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is incorrect. This is the implementation of Ensemble 10.

* Sends to recorder
*/
void SS_ensemble10Func()
{
int32_t lat, lng;
Expand Down
Loading