6 #ifndef __PERIPHERAL_DEVICE_SLOT_IDL__
7 #define __PERIPHERAL_DEVICE_SLOT_IDL__
10 #include <UserEvent.idl>
16 [unknown_fallback(
"UNSPECIFIED")]
67 constant
int ERR_INVALID_PARAMS = 1;
68 constant
int ERR_NOT_SUPPORTED = 2;
70 constant
int CHANNEL_INVALID = -1;
89 valueobject DeviceChangedEvent extends
idl.Event {
95 valueobject SettingsChangedEvent extends
event.UserEvent {
Peripheral Device Slot.
Definition: PeripheralDeviceSlot.idl:65
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 newSettings
Settings after change.
Definition: PeripheralDeviceSlot.idl:97
Settings getSettings()
Retrieve the user-defined settings.
Device newDevice
Device after change.
Definition: PeripheralDeviceSlot.idl:91
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: PeripheralDeviceManager.idl:18
valueobject Device
A peripheral device is the collection of.
Definition: PeripheralDeviceSlot.idl:57
vector< PosElement > position
Position within 1-wire topo.
Definition: PeripheralDeviceSlot.idl:59
string packageClass
physical package identifier
Definition: PeripheralDeviceSlot.idl:60
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
@ DEV_PORT
a sensor port on the device
Definition: PeripheralDeviceSlot.idl:19
sensors::Sensor device
device reference
Definition: PeripheralDeviceSlot.idl:61
Sensors Model.
Definition: AccumulatingNumericSensor.idl:13
peripheral device position based address
Definition: PeripheralDeviceSlot.idl:43
sensors::Sensor TypeSpec type
device's type spec
Definition: PeripheralDeviceSlot.idl:45
boolean isActuator
true if device is an actuator
Definition: PeripheralDeviceSlot.idl:46
int channel
Channel number.
Definition: PeripheralDeviceSlot.idl:47
vector< PosElement > position
Position within 1-wire topo.
Definition: PeripheralDeviceSlot.idl:44
peripheral device identification
Definition: PeripheralDeviceSlot.idl:35
boolean isActuator
true if device is an actuator
Definition: PeripheralDeviceSlot.idl:38
string serial
Serial number.
Definition: PeripheralDeviceSlot.idl:36
int channel
Channel number.
Definition: PeripheralDeviceSlot.idl:39
sensors::Sensor TypeSpec type
device's type spec
Definition: PeripheralDeviceSlot.idl:37
user writeable location
Definition: PeripheralDeviceSlot.idl:73
string x
X coordinate.
Definition: PeripheralDeviceSlot.idl:74
string y
Y coordinate.
Definition: PeripheralDeviceSlot.idl:75
string z
Z coordinate (semantics depends on ZCoordMode)
Definition: PeripheralDeviceSlot.idl:76
user configurable slot attributes
Definition: PeripheralDeviceSlot.idl:80
map< string, string > properties
sensor specific settings
Definition: PeripheralDeviceSlot.idl:85
string name
User-defined name.
Definition: PeripheralDeviceSlot.idl:81
boolean useDefaultThresholds
use default thresholds
Definition: PeripheralDeviceSlot.idl:84
Location location
user-defined device location
Definition: PeripheralDeviceSlot.idl:83
string description
User-defined description.
Definition: PeripheralDeviceSlot.idl:82
peripheral device position element, list forms position
Definition: PeripheralDeviceSlot.idl:29
PortType portType
type of the element
Definition: PeripheralDeviceSlot.idl:30
string port
value of the element, a label
Definition: PeripheralDeviceSlot.idl:31
Complete sensor type specification.
Definition: Sensor.idl:169