org.universAAL.lddi.lib.activityhub.devicecategory
Interface ActivityHubBaseDeviceCategory
- All Known Subinterfaces:
- Iso11073ContactClosureSensor, Iso11073CoSensor, Iso11073EnuresisSensor, Iso11073FallSensor, Iso11073GasSensor, Iso11073MedicationDosageSensor, Iso11073MotionSensor, Iso11073PersSensor, Iso11073PropertyExitSensor, Iso11073SmokeSensor, Iso11073SwitchSensor, Iso11073TemperatureSensor, Iso11073UsageSensor, Iso11073WaterSensor
- All Known Implementing Classes:
- ContactClosureSensor, FallSensor, Iso11073ContactClosureSensorInstance, Iso11073MotionSensorInstance, Iso11073SwitchSensorInstance, Iso11073UsageSensorInstance, MotionSensor, SwitchSensor, TemperatureSensor, UsageSensor
public interface ActivityHubBaseDeviceCategory
- Author:
- Thomas Fuxreiter (foex@gmx.at)
Method Summary |
void |
incomingSensorEvent(int event)
The specific drivers have to implement this method to receive messages from devices |
MY_DEVICE_CATEGORY
static final String MY_DEVICE_CATEGORY
MATCH_SERIAL
static final int MATCH_SERIAL
- See Also:
- Constant Field Values
MATCH_VERSION
static final int MATCH_VERSION
- See Also:
- Constant Field Values
MATCH_MODEL
static final int MATCH_MODEL
- See Also:
- Constant Field Values
MATCH_MAKE
static final int MATCH_MAKE
- See Also:
- Constant Field Values
MATCH_CLASS
static final int MATCH_CLASS
- See Also:
- Constant Field Values
CLASS
static final String CLASS
- See Also:
- Constant Field Values
MODEL
static final String MODEL
- See Also:
- Constant Field Values
MANUFACTURER
static final String MANUFACTURER
- See Also:
- Constant Field Values
REVISION
static final String REVISION
- See Also:
- Constant Field Values
SERIAL
static final String SERIAL
- See Also:
- Constant Field Values
incomingSensorEvent
void incomingSensorEvent(int event)
- The specific drivers have to implement this method to receive messages from devices
- Parameters:
event
- Integer representation of a specific ActivityHubSensorEvent.
example MotionSensor: motion-detected = 0; no-condition-detected = 3
Copyright © 2014 universAAL Consortium. All Rights Reserved.