|
Developing with ZBOSS for Zigbee
|
|
#define | ZB_PAN_ID_CONFLICT_INFO_MAX_PANIDS_COUNT 16U |
|
◆ zb_pan_id_conflict_info_t
Structure describing a detected PAN ID conflict
◆ 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)
{
{
switch (sig)
{
break;
}
}
}
Definition: zboss_api_nwk.h:592
unsigned char zb_uint8_t
Project-local 1-byte unsigned int type.
Definition: zb_types.h:153
#define ZB_NWK_SIGNAL_PANID_CONFLICT_DETECTED
Definition: zboss_api_zdo.h:727
#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:870
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()
#define ZB_GET_APP_SIGNAL_STATUS(param)
Get status from the application signal.
Definition: zboss_api_zdo.h:1236
void zb_start_pan_id_conflict_resolution(zb_uint8_t param)
zb_uint8_t zb_zdo_app_signal_type_t
Type for signals passed to zboss_signal_handler().
Definition: zboss_api_zdo.h:847
Definition: zboss_api_zdo.h:1186
void zboss_signal_handler(zb_uint8_t param)
#define ZB_ZDO_SIGNAL_GET_PARAMS(sg_p, type)
Definition: zboss_api_zdo.h:862