Device
services are registered last. Before their registration, there is
Function services registration. The reverse order is used when the
services are unregistered. Device services are unregistered first
before Function services.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | DEVICE_CATEGORY
Constant for the value of the |
| public static final String | SERVICE_DESCRIPTION
The service property value contains the device description. |
| public static final String | SERVICE_DRIVER
The service property value contains the device driver name. |
| public static final String | SERVICE_FIRMWARE_VENDOR
The service property value contains the device firmware vendor. |
| public static final String | SERVICE_FIRMWARE_VERSION
The service property value contains the device firmware version. |
| public static final String | SERVICE_HARDWARE_VENDOR
The service property value contains the device hardware vendor. |
| public static final String | SERVICE_HARDWARE_VERSION
The service property value contains the device hardware version. |
| public static final String | SERVICE_MODEL
The service property value contains the device model. |
| public static final String | SERVICE_NAME
The service property value contains the device name. |
| public static final String | SERVICE_REFERENCE_UIDS
The service property value contains the reference device unique identifiers. |
| public static final String | SERVICE_SERIAL_NUMBER
The service property value contains the device serial number. |
| public static final String | SERVICE_STATUS
The service property value contains the device status. |
| public static final String | SERVICE_STATUS_DETAIL
The service property value contains the device status detail. |
| public static final String | SERVICE_TYPES
The service property value contains the device types like DVD, TV, etc. It's an optional property. |
| public static final String | SERVICE_UID
The service property value contains the device unique identifier. |
| public static final Integer | STATUS_DETAIL_BROKEN
Device status detail indicates that the device is broken. |
| public static final Integer | STATUS_DETAIL_COMMUNICATION_ERROR
Device status detail indicates that the device communication is problematic. |
| public static final Integer | STATUS_DETAIL_CONFIGURATION_ERROR
Device status detail indicates that the device cannot be configured. |
| public static final Integer | STATUS_DETAIL_CONFIGURATION_UNAPPLIED
Device status detail indicates that the device configuration is not applied. |
| public static final Integer | STATUS_DETAIL_CONNECTING
Device status detail indicates that the device is currently connecting to the network. |
| public static final Integer | STATUS_DETAIL_DATA_INSUFFICIENT
Device status detail indicates that the device doesn't provide enough information and cannot be determined. |
| public static final Integer | STATUS_DETAIL_DUTY_CYCLE
Device status detail indicates that the device is in duty cycle. |
| public static final Integer | STATUS_DETAIL_FIRMWARE_UPDATING
Device status detail indicates that the device firmware is updating. |
| public static final Integer | STATUS_DETAIL_INACCESSIBLE
Device status detail indicates that the device is not accessible and further communication is not possible. |
| public static final Integer | STATUS_DETAIL_INITIALIZING
Device status detail indicates that the device is currently in process of initialization. |
| public static final Integer | STATUS_DETAIL_REMOVING
Device status detail indicates that the device is leaving the network. |
| public static final Integer | STATUS_NOT_CONFIGURED
Device status indicates that the device is currently not configured. |
| public static final Integer | STATUS_NOT_INITIALIZED
Device status indicates that the device is currently not initialized. |
| public static final Integer | STATUS_OFFLINE
Device status indicates that the device is currently not available for operations. |
| public static final Integer | STATUS_ONLINE
Device status indicates that the device is currently available for operations. |
| public static final Integer | STATUS_PROCESSING
Device status indicates that the device is currently busy with an operation. |
| public static final Integer | STATUS_REMOVED
Device status indicates that the device has been removed from the network. |
| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: The property value ornull if the property key cannot be
mapped to a value.The property key. propKey)Returns the current value of the specified property. |
| public String[] | Returns: An array with all device service property keys, cannot benull.Returns an array with all device service property keys. |
| public void |
| DEVICE_CATEGORY | back to summary |
|---|---|
| public static final String DEVICE_CATEGORY Constant for the value of the
| |
| SERVICE_DESCRIPTION | back to summary |
|---|---|
| public static final String SERVICE_DESCRIPTION The service property value contains the device description. It's an
optional property. The value type is | |
| SERVICE_DRIVER | back to summary |
|---|---|
| public static final String SERVICE_DRIVER The service property value contains the device driver name. For example,
EnOcean, Z-Wave, Bluetooth, etc. It's a mandatory property. The value
type is | |
| SERVICE_FIRMWARE_VENDOR | back to summary |
|---|---|
| public static final String SERVICE_FIRMWARE_VENDOR The service property value contains the device firmware vendor. It's an
optional property. The value type is | |
| SERVICE_FIRMWARE_VERSION | back to summary |
|---|---|
| public static final String SERVICE_FIRMWARE_VERSION The service property value contains the device firmware version. It's an
optional property. The value type is | |
| SERVICE_HARDWARE_VENDOR | back to summary |
|---|---|
| public static final String SERVICE_HARDWARE_VENDOR The service property value contains the device hardware vendor. It's an
optional property. The value type is | |
| SERVICE_HARDWARE_VERSION | back to summary |
|---|---|
| public static final String SERVICE_HARDWARE_VERSION The service property value contains the device hardware version. It's an
optional property. The value type is | |
| SERVICE_MODEL | back to summary |
|---|---|
| public static final String SERVICE_MODEL The service property value contains the device model. It's an optional
property. The value type is | |
| SERVICE_NAME | back to summary |
|---|---|
| public static final String SERVICE_NAME The service property value contains the device name. It's an optional
property. The value type is | |
| SERVICE_REFERENCE_UIDS | back to summary |
|---|---|
| public static final String SERVICE_REFERENCE_UIDS The service property value contains the reference device unique
identifiers. It's an optional property. The value type is
| |
| SERVICE_SERIAL_NUMBER | back to summary |
|---|---|
| public static final String SERVICE_SERIAL_NUMBER The service property value contains the device serial number. It's an
optional property. The value type is | |
| SERVICE_STATUS | back to summary |
|---|---|
| public static final String SERVICE_STATUS The service property value contains the device status. It's a mandatory
property. The value type is | |
| SERVICE_STATUS_DETAIL | back to summary |
|---|---|
| public static final String SERVICE_STATUS_DETAIL The service property value contains the device status detail. It holds
the reason for the current device status. It's an optional property. The
value type is
| |
| SERVICE_TYPES | back to summary |
|---|---|
| public static final String SERVICE_TYPES The service property value contains the device types like DVD, TV, etc.
It's an optional property. The value type is | |
| SERVICE_UID | back to summary |
|---|---|
| public static final String SERVICE_UID The service property value contains the device unique identifier. It's a
mandatory property. The value type is UID ::= driver-name ':' device-id UID - device unique identifier
driver-name - the value of the device-id - device unique identifier in the scope of the driver | |
| STATUS_DETAIL_BROKEN | back to summary |
|---|---|
| public static final Integer STATUS_DETAIL_BROKEN Device status detail indicates that the device is broken. It can be used
as a value of | |
| STATUS_DETAIL_COMMUNICATION_ERROR | back to summary |
|---|---|
| public static final Integer STATUS_DETAIL_COMMUNICATION_ERROR Device status detail indicates that the device communication is
problematic. It can be used as a value of | |
| STATUS_DETAIL_CONFIGURATION_ERROR | back to summary |
|---|---|
| public static final Integer STATUS_DETAIL_CONFIGURATION_ERROR Device status detail indicates that the device cannot be configured. It
can be used as a value of | |
| STATUS_DETAIL_CONFIGURATION_UNAPPLIED | back to summary |
|---|---|
| public static final Integer STATUS_DETAIL_CONFIGURATION_UNAPPLIED Device status detail indicates that the device configuration is not
applied. It can be used as a value of | |
| STATUS_DETAIL_CONNECTING | back to summary |
|---|---|
| public static final Integer STATUS_DETAIL_CONNECTING Device status detail indicates that the device is currently connecting to
the network. It can be used as a value of | |
| STATUS_DETAIL_DATA_INSUFFICIENT | back to summary |
|---|---|
| public static final Integer STATUS_DETAIL_DATA_INSUFFICIENT Device status detail indicates that the device doesn't provide enough
information and cannot be determined. It can be used as a value of
| |
| STATUS_DETAIL_DUTY_CYCLE | back to summary |
|---|---|
| public static final Integer STATUS_DETAIL_DUTY_CYCLE Device status detail indicates that the device is in duty cycle. It can
be used as a value of | |
| STATUS_DETAIL_FIRMWARE_UPDATING | back to summary |
|---|---|
| public static final Integer STATUS_DETAIL_FIRMWARE_UPDATING Device status detail indicates that the device firmware is updating. It
can be used as a value of | |
| STATUS_DETAIL_INACCESSIBLE | back to summary |
|---|---|
| public static final Integer STATUS_DETAIL_INACCESSIBLE Device status detail indicates that the device is not accessible and
further communication is not possible. It can be used as a value of
| |
| STATUS_DETAIL_INITIALIZING | back to summary |
|---|---|
| public static final Integer STATUS_DETAIL_INITIALIZING Device status detail indicates that the device is currently in process of
initialization. It can be used as a value of
| |
| STATUS_DETAIL_REMOVING | back to summary |
|---|---|
| public static final Integer STATUS_DETAIL_REMOVING Device status detail indicates that the device is leaving the network. It
can be used as a value of | |
| STATUS_NOT_CONFIGURED | back to summary |
|---|---|
| public static final Integer STATUS_NOT_CONFIGURED Device status indicates that the device is currently not configured. The
device can require additional actions to become completely connected to
the network. It can be used as a value of | |
| STATUS_NOT_INITIALIZED | back to summary |
|---|---|
| public static final Integer STATUS_NOT_INITIALIZED Device status indicates that the device is currently not initialized.
Some protocols don't provide device information right after the device is
connected. The device can be initialized later when it's awakened. It can
be used as a value of | |
| STATUS_OFFLINE | back to summary |
|---|---|
| public static final Integer STATUS_OFFLINE Device status indicates that the device is currently not available for
operations. It can be used as a value of | |
| STATUS_ONLINE | back to summary |
|---|---|
| public static final Integer STATUS_ONLINE Device status indicates that the device is currently available for
operations. The recent communication with the device has been passed
through. It can be used as a value of | |
| STATUS_PROCESSING | back to summary |
|---|---|
| public static final Integer STATUS_PROCESSING Device status indicates that the device is currently busy with an
operation. It can be used as a value of | |
| STATUS_REMOVED | back to summary |
|---|---|
| public static final Integer STATUS_REMOVED Device status indicates that the device has been removed from the
network. That status must be set as the last device status. After that
the device service can be unregistered from the service registry. It can
be used as a value of | |
| getServiceProperty | back to summary |
|---|---|
| public Object getServiceProperty(String propKey) Returns the current value of the specified property. The method will
return the same value as This method must continue to return property values after the device service has been unregistered. | |
| getServicePropertyKeys | back to summary |
|---|---|
| public String[] getServicePropertyKeys() Returns an array with all device service property keys. The method will
return the same value as
| |
| remove | back to summary |
|---|---|
| public void remove() throws DeviceException Removes this device. The method must synchronously:
| |