Port Mapping

enum class Acroname::BrainStem2CLI::PORT_SPEED

Port speed enumeration

Values:

enumerator kPORT_SPEED_UNKNOWN

kPORT_SPEED_UNKNOWN (0)

enumerator kPORT_SPEED_LOW

kPORT_SPEED_LOW (1)

enumerator kPORT_SPEED_FULL

kPORT_SPEED_FULL (2)

enumerator kPORT_SPEED_HIGH

kPORT_SPEED_HIGH (3)

enumerator kPORT_SPEED_SUPER

kPORT_SPEED_SUPER (4)

enumerator kPORT_SPEED_SUPER_PLUS

kPORT_SPEED_SUPER_PLUS (5)

class DeviceNode

Device Node Structure - Contains information linking the downstream device to the Acroname Hub.

Public Functions

DeviceNode(DeviceNode_t&)

Constructor.

~DeviceNode()

Destructor.

!DeviceNode ()

Finalizer.

Public Members

const unsigned int hubSerialNumber

Acroname Device Information.

Serial number of the Acroname hub where the device was found.

const unsigned int hubPort

Port of the Acroname hub where the device was found.

const unsigned short idVendor

Downstream device information.

Manufactures Vendor ID of the downstream device.

const unsigned short idProduct

Manufactures Product ID of the downstream device.

const PORT_SPEED speed

The devices downstream device speed.

const String ^ productName

USB string descriptor

const String ^ serialNumber

USB string descriptor

const String ^ manufacturer

USB string descriptor

class PortMapping

The PortMapping Gets downstream device USB information for all Acroname hubs.

Public Functions

PortMapping()

Constructor. Calls “update” on construction. The error can be accessed through the “lastError” member.

~PortMapping()

Destructor.

!PortMapping ()

Finalizer.

aErr update(void)

Updates the current device list. Calls the underlying C function getDownstreamDevices

Public Members

cli::array< DeviceNode^> ^ deviceList

List of all devices found downstream of an Acroname hub.

aErr lastError

Provides access to error code of update on construction.