6 #ifndef __PERIPHERAL_DEVICE_SLOT_IDL__
7 #define __PERIPHERAL_DEVICE_SLOT_IDL__
10 #include <UserEvent.idl>
16 [unknown_fallback(
"UNSPECIFIED")]
68 constant
int ERR_INVALID_PARAMS = 1;
69 constant
int ERR_NOT_SUPPORTED = 2;
71 constant
int CHANNEL_INVALID = -1;
Peripheral Device Slot.
Definition: PeripheralDeviceSlot.idl:66
int assignAddress(in string packageClass, in Address address)
Associate this slot with an addressable (new) peripheral device.
Device getDevice()
Returns the actual device reference.
Settings getSettings()
Retrieve the user-defined settings.
int assign(in DeviceID devid)
Associate this slot with a given (old or detected new) peripheral device.
int unassign()
Break the association for this slot.
int setSettings(in Settings settings)
Change the slot settings.
Sensor interface
Definition: Sensor.idl:15
Basic IDL definitions.
Definition: Event.idl:10
Peripheral Devices.
Definition: GatewaySensorManager.idl:17
PortType
peripheral device port types
Definition: PeripheralDeviceSlot.idl:17
@ REMOTE_HUB_PORT
a RS485 remote hub port
Definition: PeripheralDeviceSlot.idl:22
@ WIRELESS_BRIDGE
a wireless bridge, e.g. usb dongle
Definition: PeripheralDeviceSlot.idl:23
@ WIRELESS_DEVICE
a wireless device
Definition: PeripheralDeviceSlot.idl:24
@ UNSPECIFIED
device type is unknown
Definition: PeripheralDeviceSlot.idl:25
@ ONBOARD
a built in, inaccessible port
Definition: PeripheralDeviceSlot.idl:18
@ ONEWIRE_HUB_PORT
a port on a Hub
Definition: PeripheralDeviceSlot.idl:20
@ ONEWIRE_CHAIN_POS
a chain position
Definition: PeripheralDeviceSlot.idl:21
@ GATEWAY_SENSOR
a gateway sensor
Definition: PeripheralDeviceSlot.idl:26
@ DEV_PORT
a sensor port on the device
Definition: PeripheralDeviceSlot.idl:19
Sensors Model.
Definition: AccumulatingNumericSensor.idl:13
Common base for all events.
Definition: Event.idl:13
peripheral device position based address
Definition: PeripheralDeviceSlot.idl:44
sensors::Sensor TypeSpec type
device's type spec
Definition: PeripheralDeviceSlot.idl:46
boolean isActuator
true if device is an actuator
Definition: PeripheralDeviceSlot.idl:47
int channel
Channel number.
Definition: PeripheralDeviceSlot.idl:48
vector< PosElement > position
Position within 1-wire topo.
Definition: PeripheralDeviceSlot.idl:45
peripheral device identification
Definition: PeripheralDeviceSlot.idl:36
boolean isActuator
true if device is an actuator
Definition: PeripheralDeviceSlot.idl:39
string serial
Serial number.
Definition: PeripheralDeviceSlot.idl:37
int channel
Channel number.
Definition: PeripheralDeviceSlot.idl:40
sensors::Sensor TypeSpec type
device's type spec
Definition: PeripheralDeviceSlot.idl:38
Event: The device attached to this slot has changed.
Definition: PeripheralDeviceSlot.idl:90
Device oldDevice
Device before change.
Definition: PeripheralDeviceSlot.idl:91
Device newDevice
Device after change.
Definition: PeripheralDeviceSlot.idl:92
user writeable location
Definition: PeripheralDeviceSlot.idl:74
string x
X coordinate.
Definition: PeripheralDeviceSlot.idl:75
string y
Y coordinate.
Definition: PeripheralDeviceSlot.idl:76
string z
Z coordinate (semantics depends on ZCoordMode)
Definition: PeripheralDeviceSlot.idl:77
Event: The slot settings have been changed.
Definition: PeripheralDeviceSlot.idl:96
Settings oldSettings
Settings before change.
Definition: PeripheralDeviceSlot.idl:97
Settings newSettings
Settings after change.
Definition: PeripheralDeviceSlot.idl:98
user configurable slot attributes
Definition: PeripheralDeviceSlot.idl:81
map< string, string > properties
sensor specific settings
Definition: PeripheralDeviceSlot.idl:86
string name
User-defined name.
Definition: PeripheralDeviceSlot.idl:82
boolean useDefaultThresholds
use default thresholds
Definition: PeripheralDeviceSlot.idl:85
Location location
user-defined device location
Definition: PeripheralDeviceSlot.idl:84
string description
User-defined description.
Definition: PeripheralDeviceSlot.idl:83
A peripheral device is the collection of.
Definition: PeripheralDeviceSlot.idl:58
sensors::Sensor device
device reference
Definition: PeripheralDeviceSlot.idl:62
string packageClass
physical package identifier
Definition: PeripheralDeviceSlot.idl:61
vector< PosElement > position
Position within 1-wire topo.
Definition: PeripheralDeviceSlot.idl:60
DeviceID deviceID
device identification
Definition: PeripheralDeviceSlot.idl:59
peripheral device position element, list forms position
Definition: PeripheralDeviceSlot.idl:30
PortType portType
type of the element
Definition: PeripheralDeviceSlot.idl:31
string port
value of the element, a label
Definition: PeripheralDeviceSlot.idl:32
Complete sensor type specification.
Definition: Sensor.idl:169