nRF5 SDK for Thread and Zigbee v4.1.0
Data Structures | Macros | Typedefs

Data Structures

struct  zb_af_node_desc_s
 
struct  zb_af_node_power_desc_s
 
struct  zb_af_endpoint_desc_s
 Endpoint descriptor. More...
 

Macros

#define ZB_AF_SIMPLE_DESC_TYPE(in_num, out_num)   __CAT__(zb_af_simple_desc_,in_num,_,out_num,_t)
 
#define ZB_DECLARE_SIMPLE_DESC(in_clusters_count, out_clusters_count)
 

Typedefs

typedef struct zb_af_node_desc_s zb_af_node_desc_t
 
typedef zb_nwk_device_type_t zb_logical_type_t
 
typedef struct
zb_af_node_power_desc_s 
zb_af_node_power_desc_t
 
typedef struct
zb_af_endpoint_desc_s 
zb_af_endpoint_desc_t
 Endpoint descriptor. More...
 

Detailed Description

Macro Definition Documentation

#define ZB_AF_SIMPLE_DESC_TYPE (   in_num,
  out_num 
)    __CAT__(zb_af_simple_desc_,in_num,_,out_num,_t)

Generate simple descriptor type name

#define ZB_DECLARE_SIMPLE_DESC (   in_clusters_count,
  out_clusters_count 
)
Value:
typedef ZB_PACKED_PRE struct zb_af_simple_desc_ ## in_clusters_count ## _ ## out_clusters_count ## _s \
{ \
zb_uint8_t endpoint; /* Endpoint */ \
zb_uint16_t app_profile_id; /* Application profile identifier */ \
zb_uint16_t app_device_id; /* Application device identifier */ \
zb_bitfield_t app_device_version:4; /* Application device version */ \
zb_bitfield_t reserved:4; /* Reserved */ \
zb_uint8_t app_input_cluster_count; /* Application input cluster count */ \
zb_uint8_t app_output_cluster_count; /* Application output cluster count */ \
/* Application input and output cluster list */ \
zb_uint16_t app_cluster_list[in_clusters_count + out_clusters_count]; \
} ZB_PACKED_STRUCT \
zb_af_simple_desc_ ## in_clusters_count ## _ ## out_clusters_count ## _t
unsigned short zb_uint16_t
Project-local 2-byte unsigned int type.
Definition: zb_types.h:132
unsigned char zb_uint8_t
Project-local 1-byte unsigned int type.
Definition: zb_types.h:128
zb_uint32_t zb_bitfield_t
Type to be used for unsigned bit fields inside structure.
Definition: zb_types.h:171

Declares Simple descriptor type

Parameters
in_clusters_count- number of input clusters in descriptor
out_clusters_count- number of output clusters in descriptor

Example:

Typedef Documentation

Endpoint descriptor.

Endpoint description for user applications.

Node descriptor

Node power descriptor


Documentation feedback | Developer Zone | Subscribe | Updated