#include <sdk_protocol.h>
Public Member Functions | |
int32_t | CheckPacket (const uint8_t *buf) override |
int32_t | CheckPreamble (const uint8_t *buf) override |
uint32_t | GetPacketLen (const uint8_t *buf) override |
uint32_t | GetPacketWrapperLen () override |
uint32_t | GetPreambleLen () override |
int32_t | Pack (uint8_t *o_buf, uint32_t o_buf_size, uint32_t *o_len, const CommPacket &i_packet) override |
int32_t | ParsePacket (const uint8_t *i_buf, uint32_t i_len, CommPacket *o_packet) override |
SdkProtocol (uint16_t seed16, uint32_t seed32) | |
~SdkProtocol ()=default | |
Public Member Functions inherited from livox_ros::Protocol | |
virtual uint32_t | FindPacketLen (const uint8_t *buf, uint32_t buf_length)=0 |
virtual | ~Protocol ()=default |
Private Attributes | |
FastCRC16 | crc16_ |
FastCRC32 | crc32_ |
Definition at line 60 of file sdk_protocol.h.
Definition at line 35 of file sdk_protocol.cpp.
|
default |
Implements livox_ros::Protocol.
Definition at line 120 of file sdk_protocol.cpp.
Implements livox_ros::Protocol.
Definition at line 109 of file sdk_protocol.cpp.
Implements livox_ros::Protocol.
Definition at line 104 of file sdk_protocol.cpp.
|
overridevirtual |
Implements livox_ros::Protocol.
Definition at line 100 of file sdk_protocol.cpp.
|
overridevirtual |
Implements livox_ros::Protocol.
Definition at line 98 of file sdk_protocol.cpp.
|
overridevirtual |
Implements livox_ros::Protocol.
Definition at line 38 of file sdk_protocol.cpp.
|
overridevirtual |
Implements livox_ros::Protocol.
Definition at line 75 of file sdk_protocol.cpp.
|
private |
Definition at line 82 of file sdk_protocol.h.
|
private |
Definition at line 83 of file sdk_protocol.h.