Top Description Methods
org.osgi.service.enocean.descriptions

public Interface EnOceanMessageDescriptionSet


This interface represents an EnOcean Message Description Set. EnOceanMessageDescriptionSet is registered as an OSGi Service. Provides method to retrieve the EnOceanMessageDescription objects it documents.
Author
$Id: ade7bf37fc79f8466e235e3620ca4a8762f1fff8 $
Version
1.0

Method Summary

Modifier and TypeMethod and Description
public EnOceanMessageDescription

Returns:

The EnOceanMessageDescription object looked for, or null.
getMessageDescription
(int
the radio telegram type of the message.
rorg
,
int
The func subtype of this message.
func
,
int
The type subselector.
type
,
int
Some extra information; some EnOceanMessageDescription objects need an additional specifier. If not needed, has to be set to -1.
extra
)

Retrieves a EnOceanMessageDescription object according to its identifiers.

Method Detail

getMessageDescriptionback to summary
public EnOceanMessageDescription getMessageDescription(int rorg, int func, int type, int extra)

Retrieves a EnOceanMessageDescription object according to its identifiers. See EnOcean Equipment Profile Specification for more details.

Parameters
rorg:int

the radio telegram type of the message.

func:int

The func subtype of this message.

type:int

The type subselector.

extra:int

Some extra information; some EnOceanMessageDescription objects need an additional specifier. If not needed, has to be set to -1.

Returns:EnOceanMessageDescription

The EnOceanMessageDescription object looked for, or null.

Exceptions
IllegalArgumentException:
if there was an error related to the input arguments.