Devices
Devices

Contains helper functions for accessing attached devices

DeviceType
TYPE_ALL

0 - All Devices

TYPE_BASESTATION

1 - Device of a BaseStation type

TYPE_INERTIALDEVICE

2 - Device of an InertialDevice type

DeviceList

Typedef for a map of string COM ports to DeviceInfo objects detailing the information about each device

listBaseStations
static DeviceList listBaseStations()

Gets a list of all the attached (USB) BaseStations.  Note that this is solely going by listed devices that use our driver, so this may pick up similar devices that are not BaseStations.

Returns

A DeviceList representing the COM ports that were found that match MicroStrain BaseStations.  If none were found, the list will be empty.

listInertialDevices
static DeviceList listInertialDevices()

Gets a list of all the attached (USB) InertialDevices.

Returns

A DeviceList representing the COM ports that were found that match MicroStrain InertialDevices.  If none were found, the list will be empty.

listPorts
static DeviceList listPorts()

Gets a simple list of all serial ports and their availability. This function does not tell you which device is on which port, but can be useful for listing actual serial ports.

Returns

A DeviceList representing the ports that were found and their availability.  If none were found, the list will be empty.