6 #ifndef __PERIPHERAL_DEVICE_MANAGER_IDL__
7 #define __PERIPHERAL_DEVICE_MANAGER_IDL__
9 #include <PeripheralDeviceSlot.idl>
10 #include <SensorHub.idl>
11 #include <PeripheralDevicePackage.idl>
12 #include <PortFuse.idl>
13 #include <NumericSensor.idl>
15 #include <UserEvent.idl>
16 #include <GatewaySensorManager.idl>
24 constant
int ERR_INVALID_PARAMS = 1;
25 constant
int ERR_NOT_ON_SECONDARY = 2;
Peripheral Device Manager.
Definition: PeripheralDeviceManager.idl:22
Settings getSettings()
Retrieve the peripheral DeviceManager's settings.
MetaData getMetaData()
Retreive the Peripheral DeviceManager's metadata.
Statistics getStatistics()
Retrieve statistics.
DeviceSlot getDeviceSlot(in int idx)
Get a DeviceSlot by its index.
portsmodel::PortFuse getPortFuse()
Get the fuse for the sensor port.
vector< Package > getDiscoveredPackages()
Get the list of currently attached peripheral device packages.
vector< SensorHub > getSensorHubs()
Get the list of sensor hubs.
vector< DeviceTypeInfo > getDeviceTypeInfos()
Get the list of all peripheral device type infos.
vector< PackageInfo > getDiscoveredPackageInfos()
Get the list of currently attached peripheral device packages.
FirmwareUpdateState getFirmwareUpdateState()
Return the state of device firmware updates running on devices connected to this device manager.
int setSettings(in Settings settings)
Change the peripheral DeviceManager's settings.
vector< DeviceSlot > getDeviceSlots()
Get the list of peripheral device slots.
DeviceFirmwareUpdateState
Enumeration: State of device firmware update.
Definition: PeripheralDeviceManager.idl:91
@ UPDATE_STARTED
Update is running.
Definition: PeripheralDeviceManager.idl:92
@ UPDATE_SUCCESSFUL
Update has finished successfully.
Definition: PeripheralDeviceManager.idl:93
ZCoordMode
Z Coordinate Mode identifier.
Definition: PeripheralDeviceManager.idl:28
@ RACKUNITS
Z coordinate of slot settings is in rack units.
Definition: PeripheralDeviceManager.idl:29
GatewaySensorManager getGatewaySensorManager()
Get gateway sensors configuration.
vector< Device > getDiscoveredDevices()
Get the list of currently attached peripheral devices.
Peripheral Device Slot.
Definition: PeripheralDeviceSlot.idl:66
Gateway Sensor Configuration Interface.
Definition: GatewaySensorManager.idl:20
Interface describing a controllable fuse for a device port.
Definition: PortFuse.idl:17
A sensor with numeric readings.
Definition: NumericSensor.idl:17
Sensor interface
Definition: Sensor.idl:15
Basic IDL definitions.
Definition: Event.idl:10
Peripheral Devices.
Definition: GatewaySensorManager.idl:17
Ports.
Definition: Port.idl:15
Sensors Model.
Definition: AccumulatingNumericSensor.idl:13
Common base for all events.
Definition: Event.idl:13
Event: A peripheral device was added.
Definition: PeripheralDeviceManager.idl:79
Event: A peripheral device was added or removed.
Definition: PeripheralDeviceManager.idl:73
vector< Device > devices
Affected devices.
Definition: PeripheralDeviceManager.idl:74
vector< Device > allDevices
New list of discovered devices after change.
Definition: PeripheralDeviceManager.idl:75
Event: Firmware update on a device was started or has finished.
Definition: PeripheralDeviceManager.idl:98
string newVersion
Firmware version to be updated to.
Definition: PeripheralDeviceManager.idl:100
DeviceFirmwareUpdateState state
Update state.
Definition: PeripheralDeviceManager.idl:102
string oldVersion
Firmware version before update.
Definition: PeripheralDeviceManager.idl:99
string serial
Serial number of device.
Definition: PeripheralDeviceManager.idl:101
Event: A peripheral device was removed.
Definition: PeripheralDeviceManager.idl:82
Peripheral device type info.
Definition: PeripheralDeviceManager.idl:51
boolean isActuator
Is actuator or not.
Definition: PeripheralDeviceManager.idl:53
sensors::NumericSensor Range defaultRange
Default sensor range (numeric sensors only)
Definition: PeripheralDeviceManager.idl:56
sensors::Sensor TypeSpec type
Device (sensor) type.
Definition: PeripheralDeviceManager.idl:52
int defaultDecDigits
Default sensor precision (numeric sensors only)
Definition: PeripheralDeviceManager.idl:57
string name
Device type display name.
Definition: PeripheralDeviceManager.idl:55
string identifier
Device type identifier.
Definition: PeripheralDeviceManager.idl:54
Event: Firmware update state has changed This event will be sent to enclose one of more DeviceFirmwar...
Definition: PeripheralDeviceManager.idl:109
FirmwareUpdateState newState
New update state.
Definition: PeripheralDeviceManager.idl:110
Firmware update status.
Definition: PeripheralDeviceManager.idl:61
int remaining
Number of peripheral devices that are still pending to be updated.
Definition: PeripheralDeviceManager.idl:63
boolean active
true if any peripheral device is currently updated
Definition: PeripheralDeviceManager.idl:62
Event: A peripheral device package was added.
Definition: PeripheralDeviceManager.idl:120
Event: A peripheral device package was added or removed.
Definition: PeripheralDeviceManager.idl:114
vector< PackageInfo > packageInfos
Information about affected packages.
Definition: PeripheralDeviceManager.idl:115
vector< PackageInfo > allPackages
New list of discovered packages after change.
Definition: PeripheralDeviceManager.idl:116
Event: A peripheral device package was removed.
Definition: PeripheralDeviceManager.idl:122
Event: Peripheral device manager's settings have been changed.
Definition: PeripheralDeviceManager.idl:67
Settings newSettings
Settings after change.
Definition: PeripheralDeviceManager.idl:69
Settings oldSettings
Settings before change.
Definition: PeripheralDeviceManager.idl:68
peripheral DeviceManager's s settings
Definition: PeripheralDeviceManager.idl:34
int presenceDetectionTimeout
Timeout for presence detection (sec)
Definition: PeripheralDeviceManager.idl:38
map< string, sensors::NumericSensor.Thresholds > defaultThresholdsMap
Default thresholds by peripheral device type.
Definition: PeripheralDeviceManager.idl:39
float deviceAltitude
Altitude of device in meters.
Definition: PeripheralDeviceManager.idl:37
ZCoordMode zCoordMode
Z coordinate semantics.
Definition: PeripheralDeviceManager.idl:35
boolean muteOtherAccessControlUnit
Mute other access control unit (door handle) enabled.
Definition: PeripheralDeviceManager.idl:41
boolean autoManageNewDevices
Automatically manage newly detected devices.
Definition: PeripheralDeviceManager.idl:36
int maxActivePoweredDryContacts
The maximum number of concurrently active powered dry contacts.
Definition: PeripheralDeviceManager.idl:40
Peripheral device statistics.
Definition: PeripheralDeviceManager.idl:125
int fuseTripCnt
external ports fuse trip counter
Definition: PeripheralDeviceManager.idl:127
int cSumErrCnt
CRC / checksum error counter.
Definition: PeripheralDeviceManager.idl:126
Event: An unknown device was attached.
Definition: PeripheralDeviceManager.idl:85
string romCode
Device ROM code.
Definition: PeripheralDeviceManager.idl:86
vector< PosElement > position
Device position in the chain.
Definition: PeripheralDeviceManager.idl:87
Range of possible sensor readings.
Definition: NumericSensor.idl:24
Numeric sensor thresholds.
Definition: NumericSensor.idl:111
Complete sensor type specification.
Definition: Sensor.idl:169