API referenceVetraGlove ProC++

Device and discovery data

Data models

Current version · 2.0.0

DiscoveredGlove and GloveDiscoveryIssue

DiscoveredGlove

Fields

FieldTypeDescription
portstd::stringCandidate serial port path
transport_typeGloveTransportTypeRequired transport field: serial for a wired glove, receiver_usb for a Receiver USB entry, or receiver_peer for a wireless glove.
handstd::optional<Side>Recognized hand
snstd::optional<std::string>Device serial number
activatedstd::optional<bool>Device-reported activation status
errorstd::optional<GloveDiscoveryIssue>Per-port discovery error

GloveDiscoveryIssue

Fields

FieldDescription
code, messageStable error classification and a display description; programs should test code

GloveTransportType

Enum valueMeaning
serialUSB directly wired glove
receiver_usbUSB entry for the Receiver. To select a wireless glove, use its receiver_peer record.
receiver_peerWireless glove behind a Receiver

Wireless gloves behind one Receiver may share port. Distinguish them by hand and device SN rather than using the port as a unique glove identifier.

GloveDeviceInfo

Fields

FieldTypeDescription
canonical_snstd::stringCanonical SN verified through device identity
device_typestd::stringDevice type
modelstd::stringDevice model
firmware_versionstd::stringFirmware version
handSideDevice left/right hand
hand_sourcestd::stringSource of the left/right hand information
transport_typeGloveTransportTypeserial for a wired glove; receiver_peer for a wireless glove