Digi XBee(R) ANSI C Host Library
Data Fields
wpan_cluster_table_entry_t Struct Reference

Information on each cluster associated with an endpoint. More...

#include "wpan/aps.h"

Data Fields

uint16_t cluster_id
 16-bit cluster id, in host byte order. More...
 
wpan_aps_handler_fn handler
 Function to receive all frames for this cluster, or NULL to have endpoint's handler process the frame. More...
 
const void FAR * context
 Declared const so initializers can use const or non-const pointers. More...
 
uint8_t flags
 flags that apply to this cluster, see WPAN_CLUST_FLAG_* macros
 

Detailed Description

Information on each cluster associated with an endpoint.

Field Documentation

uint16_t cluster_id

16-bit cluster id, in host byte order.

WPAN_CLUSTER_END_OF_LIST (0xFFFF) marks the end of the list. Clusters 0x0000 to 0x7FFF are Standard ZigBee clusters, 0x8000 to 0xFBFF are reserved and 0xFC00 to 0xFFFF are manufacturer-specific (with a standard ZigBee profile).

Referenced by _simple_desc_cluster_list(), and wpan_cluster_match().

const void FAR* context

Declared const so initializers can use const or non-const pointers.

The const is discarded before passing the context on to wpan_aps_handler_fn(). For a ZCL endpoint, context points to an attribute tree (zcl_attribute_tree_t).

Referenced by _wpan_endpoint_dispatch().

Function to receive all frames for this cluster, or NULL to have endpoint's handler process the frame.

Referenced by _wpan_endpoint_dispatch().


The documentation for this struct was generated from the following file: