nRF5 SDK for Thread and Zigbee v4.1.0
Macros | Typedefs | Enumerations | Functions
BDB commissioning parameters

Macros

#define ZB_BDB_COMM_ACTIVE_ENDP_LIST_LEN   4
 
#define BDB_MAX_IDENTIFY_QUERY_RESP_NUMBER   4
 

Typedefs

typedef enum zb_bdb_comm_state_e zb_bdb_comm_state_t
 

Enumerations

enum  zb_bdb_comm_state_e {
  ZB_BDB_COMM_IDLE = 0, ZB_BDB_COMM_FACTORY_RESET = 1, ZB_BDB_COMM_NWK_STEERING = 2, ZB_BDB_COMM_NWK_STEERING_JOINED = 3,
  ZB_BDB_COMM_FINDING_AND_BINDING = 4, ZB_BDB_COMM_FINDING_AND_BINDING_TARGET = 5
}
 

Functions

void zb_set_bdb_primary_channel_set (zb_uint32_t channel_mask)
 
zb_uint32_t zb_get_bdb_primary_channel_set (void)
 
void zb_set_bdb_secondary_channel_set (zb_uint32_t channel_mask)
 
zb_uint32_t zb_get_bdb_secondary_channel_set (void)
 
void zb_bdb_set_legacy_device_support (zb_uint8_t state)
 

Detailed Description

Macro Definition Documentation

#define BDB_MAX_IDENTIFY_QUERY_RESP_NUMBER   4

Identify query responses queue size

#define ZB_BDB_COMM_ACTIVE_ENDP_LIST_LEN   4

Maximum endpoints of the "respondent" that can be served

Typedef Documentation

List of BDB commissioning states

Enumeration Type Documentation

List of BDB commissioning states

Enumerator
ZB_BDB_COMM_IDLE 

EZ-Mode isn't invoked

ZB_BDB_COMM_FACTORY_RESET 

EZ-Mode factory reset in progress

ZB_BDB_COMM_NWK_STEERING 

EZ-Mode network steering in progress (scanning or forming network)

ZB_BDB_COMM_NWK_STEERING_JOINED 

EZ-Mode network steering in progress (scanning or forming network finished)

ZB_BDB_COMM_FINDING_AND_BINDING 

EZ-Mode finding and binding in progress (on initiator)

ZB_BDB_COMM_FINDING_AND_BINDING_TARGET 

EZ-Mode finding and binding in progress (on target)

Function Documentation

void zb_bdb_set_legacy_device_support ( zb_uint8_t  state)

Enable Zigbee PRO complaint commissioning support

Parameters
state- 1 to disable trust center require key exchange; 0 - to enable.
zb_uint32_t zb_get_bdb_primary_channel_set ( void  )

Get the primary channel set for the BDB energy scan.

Returns
channel_mask - Channel mask.
zb_uint32_t zb_get_bdb_secondary_channel_set ( void  )

Get the secondary channel set for the BDB energy scan.

Returns
channel_mask - Channel mask.
void zb_set_bdb_primary_channel_set ( zb_uint32_t  channel_mask)

Set the primary channel set for the BDB energy scan. Beacon request will be send on these channels

Parameters
channel_mask- Channel mask.
void zb_set_bdb_secondary_channel_set ( zb_uint32_t  channel_mask)

Set the secondary channel set for the BDB energy scan. Beacon request will be send on these channels if no network found after energy scan on the primary channels.

Parameters
channel_mask- Channel mask.

Documentation feedback | Developer Zone | Subscribe | Updated