typedef struct SurgeCmdMsg { uint8_t type; union { // FOR SURGE_TYPE_SETRATE uint32_t newrate; // FOR SURGE_TYPE_FOCUS uint16_t focusaddr; } args; } __attribute__ ((packed)) SurgeCmdMsg; enum { AM_SURGECMDMSG = 18 };