25 #ifndef LIVOX_GPS_PROTOCOL_H_ 26 #define LIVOX_GPS_PROTOCOL_H_ 79 #endif // LIVOX_GPS_PROTOCOL_H_ uint8_t CalcGpsPacketChecksum(const uint8_t *buf, uint32_t length)
uint32_t GetPacketWrapperLen() override
int32_t Pack(uint8_t *o_buf, uint32_t o_buf_size, uint32_t *o_len, const CommPacket &i_packet) override
int32_t CheckPreamble(const uint8_t *buf) override
uint32_t GetPreambleLen() override
int32_t CheckPacket(const uint8_t *buf) override
uint32_t FindPacketLen(const uint8_t *buf, uint32_t buf_length) override
uint32_t GetPacketLen(const uint8_t *buf) override
int32_t ParsePacket(const uint8_t *i_buf, uint32_t i_len, CommPacket *o_packet) override
uint8_t AscciiToHex(const uint8_t *TwoChar)