#pragma once #include #include constexpr uint8_t MEAS_CHAN_LEN = 32; enum class Measurement : uint8_t { LUX, TEMP, HUM, PRES, GAS, AX, AY, AZ, GX, GY, GZ, #if USE_BSEC CO2, IAQ, #endif MAX, }; struct Message { uint32_t uptime; float measurement[static_cast(Measurement::MAX)]; }; extern QueueHandle_t MEAS_CHANNEL;