6 #ifndef __PERIPHERAL_DEVICE_PACKAGE_IDL__
7 #define __PERIPHERAL_DEVICE_PACKAGE_IDL__
9 #include <PeripheralDeviceSlot.idl>
54 constant
int SUCCESS = 0;
55 constant
int ERR_NOT_SUPPORTED = 1;
56 constant
int ERR_OPERATION_FAILED = 2;
58 vector<string> getSupportedHandleTypes();
59 vector<string> getSupportedExternalDeviceTypes();
61 string getHandleType(in
int channel);
62 string getExternalDeviceType(in
int channel);
64 int setHandleType(in
int channel, in
string handleType);
65 int setExternalDeviceType(in
int channel, in
string type);
Definition: PeripheralDevicePackage.idl:52
Definition: PeripheralDevicePackage.idl:48
Peripheral Devices.
Definition: GatewaySensorManager.idl:17
Definition: PeripheralDevicePackage.idl:31
int minorNumber
depreceated, was minor firmware version
Definition: PeripheralDevicePackage.idl:33
int bootloaderVersion
device bootloader version
Definition: PeripheralDevicePackage.idl:34
int majorNumber
firmware version encoded as 'major << 4 | minor'
Definition: PeripheralDevicePackage.idl:32
Definition: PeripheralDevicePackage.idl:30
time updateDate
Date of device firmware update (Deprecated: always returns 0)
Definition: PeripheralDevicePackage.idl:39
Version version
Firmware version (0.0 if not applicable)
Definition: PeripheralDevicePackage.idl:38
time compileDate
Date of firmware compilation (Deprecated: always returns 0)
Definition: PeripheralDevicePackage.idl:37
Definition: PeripheralDevicePackage.idl:22
string serial
serial number
Definition: PeripheralDevicePackage.idl:23
int minDowngradeVersion
minimum downgrade version (or -1)
Definition: PeripheralDevicePackage.idl:26
string model
like 'DPX-CC2' or 'DX-D2C6'
Definition: PeripheralDevicePackage.idl:25
string revision
hardware revision
Definition: PeripheralDevicePackage.idl:27
string packageClass
serial number prefix for current packages
Definition: PeripheralDevicePackage.idl:24
Peripheral device package information.
Definition: PeripheralDevicePackage.idl:14
State
Definition: PeripheralDevicePackage.idl:15
@ FW_UPDATE
Device package's firmware is being updated.
Definition: PeripheralDevicePackage.idl:17
@ INTERNAL_ERROR
Device package's internal error flag is set.
Definition: PeripheralDevicePackage.idl:18
@ NORMAL
Device package is in normal operation.
Definition: PeripheralDevicePackage.idl:16
vector< PosElement > position
Position within 1-wire topo.
Definition: PeripheralDevicePackage.idl:43
HardwareInfo hwInfo
Device package hardware specific information.
Definition: PeripheralDevicePackage.idl:44
FirmwareInfo fwInfo
Device package firmware specific information.
Definition: PeripheralDevicePackage.idl:45
State state
The peripheral device package operational state.
Definition: PeripheralDevicePackage.idl:42