#ifndef _EV_PROTO_H_ #define _EV_PROTO_H_ #include #include #pragma pack(1) struct EVPCommand { enum EVPC { EVPC__FIRST, EVPC_SENSETIMEFACEDETECT, EVPC__LAST, }; }; struct EVPHeader { int16_t cmd; // EVPCommand::EVPC uint32_t size; // sizeof(EVPHeader)+sizeof(subcmd) }; struct EVP_VariableBuffer { int16_t mb_type; // MB_Frame::MBFType uint8_t buff[0]; }; #pragma pack() #endif