6#ifndef __PERIPHERAL_DEVICE_SLOT_IDL__
7#define __PERIPHERAL_DEVICE_SLOT_IDL__
10#include <UserEvent.idl>
11#include <PosElement.idl>
constant int CHANNEL_INVALID
Device has no channels.
int assignAddress(in string packageClass, in Address address)
Associate this slot with an addressable (new) peripheral device.
Device getDevice()
Returns the actual device reference.
constant int ERR_NOT_SUPPORTED
Operation not supported.
Settings getSettings()
Retrieve the user-defined settings.
int assign(in DeviceID devid)
Associate this slot with a given (old or detected new) peripheral device.
constant int ERR_INVALID_PARAMS
Invalid parameters.
int unassign()
Break the association for this slot.
int setSettings(in Settings settings)
Change the slot settings.
Common base for all events.
peripheral device position based address
sensors::Sensor TypeSpec type
device's type spec
boolean isActuator
true if device is an actuator
int channel
Channel number.
vector< PosElement > position
Position within 1-wire topo.
peripheral device identification
boolean isActuator
true if device is an actuator
int channel
Channel number.
sensors::Sensor TypeSpec type
device's type spec
Event: The device attached to this slot has changed.
Device oldDevice
Device before change.
Device newDevice
Device after change.
string z
Z coordinate (semantics depends on ZCoordMode)
Event: The slot settings have been changed.
Settings oldSettings
Settings before change.
Settings newSettings
Settings after change.
user configurable slot attributes
map< string, string > properties
sensor specific settings
string name
User-defined name.
boolean useDefaultThresholds
use default thresholds
Location location
user-defined device location
string description
User-defined description.
A peripheral device is the collection of.
sensors::Sensor device
device reference
string packageClass
physical package identifier
vector< PosElement > position
Position within 1-wire topo.
DeviceID deviceID
device identification
Complete sensor type specification.