![]() |
EduArt Sensor Ring Library 4.0.0
|
Uniquely identifies a communication endpoint as a (Direction, BoardAddress, DeviceId) tuple. More...
#include <ComEndpoint.hpp>
Public Member Functions | |
| bool | operator== (const ComEndpoint &other) const |
| Equality comparison for ComEndpoint (compares direction, board address, and device ID). | |
| bool | operator!= (const ComEndpoint &other) const |
| Inequality comparison for ComEndpoint. | |
| std::string | toString () const |
| Human-readable representation for logging. | |
Public Attributes | |
| Direction | direction |
| Host->Board (Input) or Board->Host (Output). | |
| std::uint8_t | boardAddress |
| 0 = broadcast, 1-126 = individual board (board_index + 1) | |
| std::uint8_t | deviceId |
| 0x00 = board, 0x01 = ToF, 0x02 = Thermal, 0x03 = WS2812b | |
Uniquely identifies a communication endpoint as a (Direction, BoardAddress, DeviceId) tuple.
| std::string eduart::sensorring::com::ComEndpoint::toString | ( | ) | const |
Human-readable representation for logging.