Top Description Methods
org.osgi.service.zigbee.descriptors

public Interface ZigBeeSimpleDescriptor


This interface represents a simple descriptor as described in the ZigBee Specification.

The Simple Descriptor contains information specific to each endpoint present in the node.

Author
$Id: fb5133967e009962df09e9e7c654adfed23268d3 $

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the application device id as defined per profile.
getApplicationDeviceId
()

Returns the application device id as defined per profile.

public byte

Returns:

the version of the endpoint application.
getApplicationDeviceVersion
()

Returns the version of the endpoint application.

public int

Returns:

the application profile id.
getApplicationProfileId
()

Returns the application profile id.

public short

Returns:

the endpoint for which this descriptor is defined.
getEndpoint
()

Returns the endpoint for which this descriptor is defined.

public int[]

Returns:

an array of input (server) cluster identifiers, returns an empty array if does not provides any input (server) clusters.
getInputClusters
()

Returns an array of input (server) cluster identifiers.

public int[]

Returns:

an array of output (client) cluster identifiers, returns an empty array if does not provides any output (client) clusters.
getOutputClusters
()

Returns an array of output (client) cluster identifiers.

public boolean

Returns:

true if and only if this endpoint implements the given cluster id as an input cluster.
providesInputCluster
(int
the cluster identifier.
clusterId
)

Checks if this endpoint implements the given cluster id as an input cluster.

public boolean

Returns:

true if and only if this endpoint implements the given cluster id as an output cluster.
providesOutputCluster
(int
the cluster identifier.
clusterId
)

Checks if this endpoint implements the given cluster id as an output cluster.

Method Detail

getApplicationDeviceIdback to summary
public int getApplicationDeviceId()

Returns the application device id as defined per profile.

Returns:int

the application device id as defined per profile.

getApplicationDeviceVersionback to summary
public byte getApplicationDeviceVersion()

Returns the version of the endpoint application.

Returns:byte

the version of the endpoint application.

getApplicationProfileIdback to summary
public int getApplicationProfileId()

Returns the application profile id.

Returns:int

the application profile id.

getEndpointback to summary
public short getEndpoint()

Returns the endpoint for which this descriptor is defined.

Returns:short

the endpoint for which this descriptor is defined.

getInputClustersback to summary
public int[] getInputClusters()

Returns an array of input (server) cluster identifiers.

Returns:int[]

an array of input (server) cluster identifiers, returns an empty array if does not provides any input (server) clusters.

getOutputClustersback to summary
public int[] getOutputClusters()

Returns an array of output (client) cluster identifiers.

Returns:int[]

an array of output (client) cluster identifiers, returns an empty array if does not provides any output (client) clusters.

providesInputClusterback to summary
public boolean providesInputCluster(int clusterId)

Checks if this endpoint implements the given cluster id as an input cluster.

Parameters
clusterId:int

the cluster identifier.

Returns:boolean

true if and only if this endpoint implements the given cluster id as an input cluster.

providesOutputClusterback to summary
public boolean providesOutputCluster(int clusterId)

Checks if this endpoint implements the given cluster id as an output cluster.

Parameters
clusterId:int

the cluster identifier.

Returns:boolean

true if and only if this endpoint implements the given cluster id as an output cluster.