Top Description Methods
org.osgi.service.zigbee

public Interface ZDPFrame


This interface represents a ZDP frame.

See Figure 2.19 Format of the ZDP Frame ZIGBEE SPECIFICATION: 1_053474r17ZB_TSC-ZigBee-Specification.pdf.

This interface MUST be implemented by the developer invoking the ZigBeeNode#invoke(int, int, ZDPFrame) method.

Notes:

Author
$Id: 09d2b19a56f99c68f85bb6ca1b8a23341b58d744 $

Method Summary

Modifier and TypeMethod and Description
public ZigBeeDataInput

Returns:

the ZigBeeDataInput of the payload of the ZDPFrame. This method, in contrary to getPayload(), doesn't require to create a copy of the payload.
getDataInput
()

Returns the ZigBeeDataInput of the payload of this frame.

public byte[]

Returns:

A copy of the payload of this frame.
getPayload
()

Returns a copy of the payload of this frame.

Method Detail

getDataInputback to summary
public ZigBeeDataInput getDataInput()

Returns the ZigBeeDataInput of the payload of this frame.

Returns:ZigBeeDataInput

the ZigBeeDataInput of the payload of the ZDPFrame. This method, in contrary to getPayload(), doesn't require to create a copy of the payload.

Exceptions
IllegalStateException:
if a ZigBeeDataInput stream cannot be returned because the underlying ZDPFrame implementation was not correctly initialized.
getPayloadback to summary
public byte[] getPayload()

Returns a copy of the payload of this frame.

Returns:byte[]

A copy of the payload of this frame.