#ifndef EGGMETER_H #define EGGMETER_H typedef nx_struct EggMeter_msg { nx_uint16_t temperature; nx_uint16_t humidity; nx_uint16_t activeRadiation; //radiazione visibile nx_uint16_t totalSolarRadiation; //radiazione visibile+IR nx_uint16_t Msp430InternalTemperature; nx_uint16_t Msp430InternalVoltage; nx_uint16_t counter; // per debug } EggMeter_msg_t; enum { T_C = 100, //millisecondi, tempo di campionamento AM_EGGMETER_MSG = 0x01, //identificativo servizio AM }; #endif