livox_mid360_core
C++ driver library for the Livox Mid-360 LiDAR
Loading...
Searching...
No Matches
livox::mid360::CommandHeader Struct Reference

The 24-byte command frame header as decoded by parse_command_frame(). More...

#include <livox/mid360/protocol.hpp>

Public Attributes

std::uint16_t length = 0
 sof .. end of data
std::uint32_t seq_num = 0
 the ACK echoes the request's value
std::uint16_t cmd_id = 0
 raw; compare against CmdId
CmdType cmd_type = CmdType::kReq
 request or ACK
SenderType sender_type = SenderType::kHost
 host or LiDAR
std::array< std::uint8_t, 6 > resv {}
 reserved bytes, as carried on the wire
std::uint16_t crc16 = 0
 header CRC as carried on the wire
std::uint32_t crc32 = 0
 data CRC as carried on the wire (0 when data is empty)

Detailed Description

The 24-byte command frame header as decoded by parse_command_frame().


The documentation for this struct was generated from the following file: