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

What encode_command_frame() writes; length and both CRCs are computed from it. More...

#include <livox/mid360/protocol.hpp>

Public Attributes

std::uint32_t seq_num = 0
 echoed by the ACK
std::uint16_t cmd_id = 0
 raw command ID, see CmdId
CmdType cmd_type = CmdType::kReq
 request or ACK
SenderType sender_type = SenderType::kHost
 host or LiDAR
std::span< const std::byte > data {}
 Payload, at most kCommandDataMaxSize bytes.

Detailed Description

What encode_command_frame() writes; length and both CRCs are computed from it.


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