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

Sockets and receive-thread settings of a Context, passed to Context::create(). More...

#include <livox/mid360/context.hpp>

Public Attributes

Ipv4 bind_address {0, 0, 0, 0}
 interface for the four receive sockets
std::uint16_t push_port = kDefaultHostPushPort
 0 = ephemeral (tests)
std::uint16_t point_port = kDefaultHostPointCloudPort
 0 = ephemeral
std::uint16_t imu_port = kDefaultHostImuPort
 0 = ephemeral
std::uint16_t log_port = kDefaultHostLogPort
 firmware log (#44); 0 = ephemeral
std::optional< std::uint16_t > debug_data_port
 Debug raw data (#93).
std::size_t recv_buffer_bytes = 4u << 20
 SO_RCVBUF request per socket.
std::size_t batch_size = 32
 datagrams per recvmmsg

Detailed Description

Sockets and receive-thread settings of a Context, passed to Context::create().

Member Data Documentation

◆ debug_data_port

std::optional<std::uint16_t> livox::mid360::ContextOptions::debug_data_port

Debug raw data (#93).

nullopt = the socket is not opened and Device::start_debug_data() fails with kInvalidState; 0 = ephemeral; kDefaultHostDebugDataPort (44332) is what Livox-SDK2 listens on.


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