Expand description
Core types and constants for the LaserCube network protocol.
This crate provides the fundamental data structures and protocol definitions for communicating with LaserCube devices, without any actual network implementation.
Re-exports§
pub use buffer::BufferState;pub use cmds::Command;pub use cmds::CommandType;pub use cmds::SampleData;pub use point::Point;
Modules§
- buffer
- Buffer management for LaserCube devices.
- cmds
- Command definitions for LaserCube protocol.
- point
- Point data representation for laser rendering.
- port
- Ports that the device listens on.
Structs§
- Laser
Info - The fixed-size header along with the variable length model name.
- Laser
Info Header - Fixed-size header portion of the LaserInfo response
Enums§
- Connection
Type - Connection type for the LaserCube.
- Laser
Info Parse Error - Error types that can occur when parsing a LaserInfo response
Constants§
- DEFAULT_
BROADCAST_ ADDR - Default broadcast address
- MAX_
POINTS_ PER_ MESSAGE - Maximum points per data message to stay under typical network MTU.