DeviceInfo
DeviceInfo

Contains information on an attached device

DeviceStatus
STATUS_UNKNOWN

0 - Device Status is Unknown, the port may or may not be already open.

STATUS_AVAILABLE

1 - The Device is available, the port is currently closed.

STATUS_UNAVAILABLE

2 - The Device is unavailable, the port is currently in use.

status
DeviceStatus status() const

Gets the DeviceStatus for the device

Returns

A DeviceStatus that represents the connetion status of the device

serial
std::string serial() const

Gets the serial address for the device

Returns

The serial number of the device