Top Description Fields Methods
org.osgi.service.zigbee.descriptions

public Interface ZigBeeDeviceDescriptionSet

Imports
org.osgi.service.zigbee.ZigBeeEndpoint, .ZigBeeNode

This interface represents a ZigBee Device description Set. A Set is registered as an OSGi Service that provides method to retrieve endpoint descriptions. In addition to the ZigBeeDeviceDescriptionSet's (OSGi service) properties; ZigBeeDeviceDescriptionSet is also expected to be registered as an OSGi service with the following ZigBeeEndpoint#PROFILE_ID, and ZigBeeNode#MANUFACTURER_CODE properties.
Author
$Id: f07b9f8bb0a9379e2b7031f5c34eea4e20e5a229 $

Field Summary

Modifier and TypeField and Description
public static final String
DEVICES

Property key for a comma separated list of devices identifiers supported by the set.

public static final String
PROFILE_NAME

Property key for a profile name.

public static final String
VERSION

Property key for a version of the application profile.

Method Summary

Modifier and TypeMethod and Description
public ZigBeeDeviceDescription

Returns:

The associated device description.
getDeviceSpecification
(int
Identifier of the device.
deviceId
,
short
The version of the application profile.
version
)

Returns the description of a device identified by its identifier and its version.

Field Detail

DEVICESback to summary
public static final String DEVICES

Property key for a comma separated list of devices identifiers supported by the set. This property is mandatory.

PROFILE_NAMEback to summary
public static final String PROFILE_NAME

Property key for a profile name. This property is mandatory.

VERSIONback to summary
public static final String VERSION

Property key for a version of the application profile. The format is 'major.minor' with major and minor being integers. This property is mandatory.

Method Detail

getDeviceSpecificationback to summary
public ZigBeeDeviceDescription getDeviceSpecification(int deviceId, short version)

Returns the description of a device identified by its identifier and its version.

Parameters
deviceId:int

Identifier of the device.

version:short

The version of the application profile.

Returns:ZigBeeDeviceDescription

The associated device description.