Developing with ZBOSS SDK for Zigbee

Data Structures

struct  zb_pan_id_conflict_info_s
 

Macros

#define ZB_PAN_ID_CONFLICT_INFO_MAX_PANIDS_COUNT   16U
 

Typedefs

typedef struct zb_pan_id_conflict_info_s zb_pan_id_conflict_info_t
 

Functions

void zb_start_pan_id_conflict_resolution (zb_uint8_t param)
 
void zb_enable_auto_pan_id_conflict_resolution (zb_bool_t status)
 

Detailed Description

Typedef Documentation

◆ zb_pan_id_conflict_info_t

Structure describing a detected PAN ID conflict

Function Documentation

◆ zb_enable_auto_pan_id_conflict_resolution()

void zb_enable_auto_pan_id_conflict_resolution ( zb_bool_t  status)

This function must be used for enabling/disabling automatic PAN ID conflict resolution If the automatic resolution is disabled, ZBOSS will issue a ZB_NWK_SIGNAL_PANID_CONFLICT_DETECTED signal each time it receives Network Report about PAN ID conflict or (in case the device is the network manager) each time it detects such conflicts.

By default the automatic PAN ID conflict resolution is disabled.

That call also enabled panid conflict resolution - see zb_enable_panid_conflict_resolution();

Parameters
status- ZB_TRUE in order to enable automatic PAN ID conflict, ZB_FALSE otherwise

◆ zb_start_pan_id_conflict_resolution()

void zb_start_pan_id_conflict_resolution ( zb_uint8_t  param)

Allow/disallow network joining

Parameters
param- pointer to a structure containing PAN ID conflict information -
See also
zb_pan_id_conflict_info_t

Example: ZB_ZDO_SIGNAL_CUT_HEADER macro may be used to remove from the buffer everything but the signal parameter (zb_pan_id_conflict_info_t structure in this case)

zb_pan_id_conflict_info_s
Definition: zboss_api_nwk.h:436
zb_uint8_t
unsigned char zb_uint8_t
Project-local 1-byte unsigned int type.
Definition: zb_types.h:139
ZB_NWK_SIGNAL_PANID_CONFLICT_DETECTED
#define ZB_NWK_SIGNAL_PANID_CONFLICT_DETECTED
Definition: zboss_api_zdo.h:733
ZB_ZDO_SIGNAL_CUT_HEADER
#define ZB_ZDO_SIGNAL_CUT_HEADER(buf)
Cuts ZBOSS signal headers while keeping the signal parameter (if it was in the buffer).
Definition: zboss_api_zdo.h:785
zb_get_app_signal
zb_zdo_app_signal_type_t zb_get_app_signal(zb_uint8_t param, zb_zdo_app_signal_hdr_t **sg_p)
Unpack application signal buffer in zboss_signal_handler()
ZB_GET_APP_SIGNAL_STATUS
#define ZB_GET_APP_SIGNAL_STATUS(param)
Get status from the application signal.
Definition: zboss_api_zdo.h:1107
zb_start_pan_id_conflict_resolution
void zb_start_pan_id_conflict_resolution(zb_uint8_t param)
zb_zdo_app_signal_type_t
zb_uint8_t zb_zdo_app_signal_type_t
Type for signals passed to zboss_signal_handler().
Definition: zboss_api_zdo.h:759
zb_zdo_app_signal_hdr_s
Definition: zboss_api_zdo.h:1057
zboss_signal_handler
void zboss_signal_handler(zb_uint8_t param)
ZB_ZDO_SIGNAL_GET_PARAMS
#define ZB_ZDO_SIGNAL_GET_PARAMS(sg_p, type)
Definition: zboss_api_zdo.h:777