// // Created by zwsd // #pragma once #include #include "config_index.hpp" #include "errorcode.hpp" #include "packet_interface.hpp" namespace iflytop { using namespace std; using namespace zcr; class IZcanCmderMaster { public: virtual int32_t sendCmd(int32_t cmdid, int32_t moduleid, int32_t *param, size_t npara, int32_t *ack, size_t nack, int overtime_ms) = 0; virtual int32_t sendCmdAndReceiveBuf(int32_t cmdid, int32_t moduleid, int32_t *param, size_t npara, uint8_t *ack, int32_t *rxsize, int overtime_ms) = 0; }; } // namespace iflytop