Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Module provides facilities for the Host to define and configure the application ZigBee logical device type and IEEE functional device type as well as support for specific endpoints, clusters and attributes.

...

The flow chart in the following figure illustrates how the parameters are chosen in a sleepy device.

...

The Poll Control cluster has two attributes (ShortPollInterval and LongPollInterval) that are used to alter the poll rate of the Module.  The sleepy write commands (Sleepy Parameters Write CMD and Sleepy Hibernate Duration Write CMD) can also alter the poll rate of the Module. Both the cluster attributes and the sleepy write commands are used to change the value of the App Hibernate Duration parameter. It is this parameter that primarily determines the sleepy behavior of the Module. The flow chart shown below illustrates how the App Hibernate Duration parameter interacts with the Poll Control cluster.

...

RapidHA v1.7.5 introduces new Serial Protocol commands that allow more control over the sleep/wake functionality of sleepy device types. Please see this tutorial for instructions on exercising the RapidHA serial interface for the new sleep control frames and to gain a better understanding of how to utilize the sleep control commands.

Anchor
Module Wakeup Behaviour
Module Wakeup Behaviour
Module Wakeup Behaviour

...

Info

To implement a more robust frame parser it is good practice to develop a parser that adheres to the RHA serial protocol format, payload length and checksum while gracefully handling bytes that do not match these criteria.


ZigBee Logical Device Types

The ZigBee logical device types and corresponding IEEE functional device types are shown in the following table.

Anchor
Device Types
Device Types
Device Types

...

When the Host adds an attribute to a cluster, the application will initialize that attribute with a default value corresponding to its given Data Type, as described in the following table. Please note that some of the default values are also invalid. This is to indicate that the value is unknown; that is, not yet set by the Host.

...

Attribute Data Type

Default Value

Genera Data(8, 16, 24, 32, 40, 48, 56, 64-bit)

All zeros (i.e., 0x00, 0x0000, etc.)

String

Empty string

Boolean

False

Bitmap

All 0’s

Unsigned Integer (8, 16, 24, 32, 40, 48, 56, 64-bit)

All 1’s (i.e., 0xFF, 0xFFFF, etc.)

Signed Integer (8, 16, 24, 32, 40, 48, 56, 64-bit)

Mot significant bit set to 1 (i.e., 0x80, 0x8000, etc.)

Enumeration (8, 16-bit)

All 0’s

Attribute Reporting

...