public interface EnOceanHost
Modifier and Type | Field and Description |
---|---|
static Object |
HOST_ID
The unique ID for this Host: this matches the CHIP_ID of the EnOcean
Gateway Chip it embodies.
|
static int |
REPEATER_LEVEL_OFF
repeater level to disable repeating; this is the default.
|
static int |
REPEATER_LEVEL_ONE
repeater level to repeat every telegram at most once.
|
static int |
REPEATER_LEVEL_TWO
repeater level to repeat every telegram at most twice.
|
Modifier and Type | Method and Description |
---|---|
String |
apiVersion()
Returns the chip's API version info (cf.
|
String |
appVersion()
Returns the chip's application version info (cf.
|
int |
getBaseID()
Gets the BASE_ID of the chip, if set (cf.
|
int |
getChipId(String servicePID)
Retrieves the CHIP_ID associated with the given servicePID, if existing
on this chip.
|
int |
getRepeaterLevel()
Gets the current repeater level of the host (cf.
|
void |
reset()
Reset the EnOcean Host (cf.
|
void |
setBaseID(int baseID)
Sets the base ID of the device, may be used up to 10 times (cf.
|
void |
setRepeaterLevel(int level)
Sets the repeater level on the host (cf.
|
static final Object HOST_ID
static final int REPEATER_LEVEL_OFF
static final int REPEATER_LEVEL_ONE
static final int REPEATER_LEVEL_TWO
void reset() throws EnOceanException
EnOceanException
- if any problem occurs.String appVersion() throws EnOceanException
EnOceanException
- if any problem occurs.String apiVersion() throws EnOceanException
EnOceanException
- if any problem occurs.int getBaseID() throws EnOceanException
EnOceanException
- if any problem occurs.void setBaseID(int baseID) throws EnOceanException
baseID
- to be set.EnOceanException
- if any problem occurs.void setRepeaterLevel(int level) throws EnOceanException
level
- one of the Repeater Level constants as defined above.EnOceanException
- if any problem occurs.int getRepeaterLevel() throws EnOceanException
EnOceanException
- if any problem occurs.int getChipId(String servicePID) throws EnOceanException
servicePID
- EnOceanException
- if any problem occurs.Copyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0