Aggregator

Easy aggregator interface for telemetry. More...

Macros

#define INIT_AGGREGATOR_THREAD
 Macro for creating the aggregator thread. More...
 

Functions

 CSP_DEFINE_TASK (aggregator)
 Thread for aggregating telemetry data. More...
 
void user_aggregator (void)
 Function stub for user-defined telemetry aggregator. More...
 
void aggregator_submit (telemetry_source, uint16_t data)
 Convenience wrapper function for telemetry submission. More...
 

Macro Definition Documentation

#define INIT_AGGREGATOR_THREAD
Value:
{ \
csp_thread_handle_t agg_handle; \
csp_thread_create(aggregator, "AGGREGATOR", 2048, NULL, 0, &agg_handle); \
}

Macro for creating the aggregator thread.

Function Documentation

void aggregator_submit ( telemetry_source  ,
uint16_t  data 
)

Convenience wrapper function for telemetry submission.

CSP_DEFINE_TASK ( aggregator  )

Thread for aggregating telemetry data.

Currently this just calls the user-defined function user_aggregator in a loop.

void user_aggregator ( void  )

Function stub for user-defined telemetry aggregator.

This function will be called repeatedly in a loop by the aggregator thread.