![]() |
YDLIDAR X2 SDK
V1.4.1
|
#include <serial.h>
Public Attributes | |
std::string | port |
std::string | description |
std::string | hardware_id |
std::string | device_id |
Structure that describes a serial device.
std::string serial::PortInfo::description |
Human readable description of serial device if available.
std::string serial::PortInfo::device_id |
Hardware Device ID or "" if not available.
std::string serial::PortInfo::hardware_id |
Hardware ID (e.g. VID:PID of USB serial devices) or "n/a" if not available.
std::string serial::PortInfo::port |
Address of the serial port (this can be passed to the constructor of Serial).