|
|
@ -16,6 +16,7 @@ namespace iflytop { |
|
|
|
|
|
|
|
using namespace std; |
|
|
|
using namespace zcr; |
|
|
|
using namespace core; |
|
|
|
|
|
|
|
class ZCanReceiverCMD { |
|
|
|
public: |
|
|
@ -24,6 +25,8 @@ class ZCanReceiverCMD { |
|
|
|
uint8_t subcmdid; |
|
|
|
uint8_t data[255 * 8]; |
|
|
|
size_t len; |
|
|
|
|
|
|
|
string toString() { return fmt::format("{}-{}:{} {}", packetindex, cmdid, subcmdid, StringUtils().bytesToString(data, len)); } |
|
|
|
}; |
|
|
|
|
|
|
|
class ZCanReceiverHost { |
|
|
|