Lines Matching defs:head
29 #define USE_UART_CHECKSUM // all the data and head will have a checksum
52 uint32_t dataSize; // data size not include head
55 uint32_t headCheckSum = 0; // head checksum
108 const uint8_t *head = reinterpret_cast<const uint8_t *>(this);
110 headCheckSum = std::accumulate(head, head + headCheckSumLen, 0u);
116 const uint8_t *head = reinterpret_cast<const uint8_t *>(this);
118 return (headCheckSum == std::accumulate(head, head + headCheckSumLen, 0u));
233 virtual void ProcessResponsePackage(const UartHead &head);