Peripheral Device Manager.
More...
import"PeripheralDeviceManager.idl";
Peripheral Device Manager.
◆ DeviceFirmwareUpdateState
Enumeration: State of device firmware update.
Enumerator |
---|
UPDATE_STARTED | Update is running.
|
UPDATE_SUCCESSFUL | Update has finished successfully.
|
UPDATE_FAILED | Update has failed.
|
◆ ZCoordMode
Z Coordinate Mode identifier.
Enumerator |
---|
RACKUNITS | Z coordinate of slot settings is in rack units.
|
FREEFORM | Z coordinate of slot settings is free form text.
|
◆ getDeviceSlot()
DeviceSlot peripheral::DeviceManager::getDeviceSlot |
( |
in int |
idx | ) |
|
Get a DeviceSlot by its index.
- Parameters
-
idx | index of the slot to get (0-based) |
- Returns
- the requested slot
◆ getDeviceSlots()
vector<DeviceSlot> peripheral::DeviceManager::getDeviceSlots |
( |
| ) |
|
Get the list of peripheral device slots.
- Returns
- List of peripheral device slots
◆ getDeviceTypeInfos()
vector<DeviceTypeInfo> peripheral::DeviceManager::getDeviceTypeInfos |
( |
| ) |
|
Get the list of all peripheral device type infos.
- Returns
- List of all peripheral device type infos
◆ getDiscoveredDevices()
vector<Device> peripheral::DeviceManager::getDiscoveredDevices |
( |
| ) |
|
Get the list of currently attached peripheral devices.
- Returns
- List of all discovered peripheral devices
◆ getDiscoveredPackageInfos()
vector<PackageInfo> peripheral::DeviceManager::getDiscoveredPackageInfos |
( |
| ) |
|
Get the list of currently attached peripheral device packages.
- Returns
- List of all discovered peripheral device packages
◆ getDiscoveredPackages()
vector<Package> peripheral::DeviceManager::getDiscoveredPackages |
( |
| ) |
|
Get the list of currently attached peripheral device packages.
- Returns
- List of all discovered peripheral device packages
◆ getFirmwareUpdateState()
Return the state of device firmware updates running on devices connected to this device manager.
- Returns
- Firmware update state
◆ getGatewaySensorManager()
◆ getMetaData()
MetaData peripheral::DeviceManager::getMetaData |
( |
| ) |
|
◆ getPortFuse()
Get the fuse for the sensor port.
- Returns
- A fuse instance, if available
◆ getSensorHubs()
vector<SensorHub> peripheral::DeviceManager::getSensorHubs |
( |
| ) |
|
Get the list of sensor hubs.
- Returns
- List of sensor hubs at ports of requested type
◆ getSettings()
Settings peripheral::DeviceManager::getSettings |
( |
| ) |
|
◆ getStatistics()
Statistics peripheral::DeviceManager::getStatistics |
( |
| ) |
|
Retrieve statistics.
- Returns
- peripheral device statistics
◆ setSettings()
int peripheral::DeviceManager::setSettings |
( |
in Settings |
settings | ) |
|
Change the peripheral DeviceManager's settings.
- Parameters
-
- Returns
- 0 if OK
-
1 if any parameters are invalid
-
2 if this is a secondary instance; use primary to set settings
The documentation for this interface was generated from the following file: