#ifndef envproject_H #define envproject_H #include typedef nx_struct datamsg_t { nx_am_addr_t source; nx_int32_t temperature; nx_int16_t light; } datamsg_t; enum{ AM_REPORTMSG_T=1, }; typedef nx_struct reportmsg_t { nx_am_addr_t source; nx_int32_t temperature1, temperature2; nx_int16_t light1, light2; } reportmsg_t; #endif