You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
628 B
36 lines
628 B
3 years ago
|
/**
|
||
|
* TODO file description
|
||
|
*
|
||
|
* Created on 2021/12/13.
|
||
|
*/
|
||
|
|
||
|
#ifndef ESPNODE_DATA_REPORT_H
|
||
|
#define ESPNODE_DATA_REPORT_H
|
||
|
|
||
|
#include <stdint-gcc.h>
|
||
|
#include <stdbool.h>
|
||
|
#include <freertos/FreeRTOS.h>
|
||
|
#include <freertos/semphr.h>
|
||
|
|
||
|
struct data_report {
|
||
|
bool iaq_ready;
|
||
|
float iaq;
|
||
|
float iaq_static;
|
||
|
float iaq_co2_ppm_equiv;
|
||
|
float iaq_voc_ppm_equiv;
|
||
|
|
||
|
bool thpg_ready;
|
||
|
float temperature;
|
||
|
float pressure;
|
||
|
float humidity;
|
||
|
float gasr;
|
||
|
|
||
|
bool co2_ready;
|
||
|
float co2_ppm;
|
||
|
};
|
||
|
|
||
|
extern SemaphoreHandle_t g_mux_data_report;
|
||
|
extern struct data_report g_data_report;
|
||
|
|
||
|
#endif //ESPNODE_DATA_REPORT_H
|