serial  1.2.1
Cross-platform, serial port library written in C++
Data Fields
serial::PortInfo Struct Reference

#include <serial.h>

Collaboration diagram for serial::PortInfo:
Collaboration graph
[legend]

Data Fields

std::string port
 
std::string description
 
std::string hardware_id
 

Detailed Description

Structure that describes a serial device.

Field Documentation

std::string serial::PortInfo::description

Human readable description of serial device if 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).


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