Developing with ZBOSS
|
Typedefs | |
typedef enum zb_bdb_commissioning_mode_mask_e | zb_bdb_commissioning_mode_mask_t |
BDB commissioning mode mask bits. | |
Enumerations | |
enum | zb_bdb_commissioning_mode_mask_e { ZB_BDB_NETWORK_STEERING = 2, ZB_BDB_NETWORK_FORMATION = 4, ZB_BDB_REJOIN = 0x80 } |
BDB commissioning mode mask bits. More... | |
Functions | |
zb_bool_t | bdb_start_top_level_commissioning (zb_uint8_t mode_mask) |
Start top level commissioning procedure with specified mode mask. When the selected commissioning procedure finishes one of the following ZBOSS signals is generated: More... | |
zb_bool_t | zb_bdb_is_factory_new (void) |
void | zb_set_bdb_commissioning_mode (zb_uint8_t commissioning_mode) |
Set commissioning mode. More... | |
zb_bool_t bdb_start_top_level_commissioning | ( | zb_uint8_t | mode_mask | ) |
Start top level commissioning procedure with specified mode mask. When the selected commissioning procedure finishes one of the following ZBOSS signals is generated:
mode_mask | - commissioning modes, see zb_bdb_commissioning_mode_mask_e |
Example:
zb_bool_t zb_bdb_is_factory_new | ( | void | ) |
Check if device is factory new.
void zb_set_bdb_commissioning_mode | ( | zb_uint8_t | commissioning_mode | ) |
Set commissioning mode.
commissioning_mode | - bitfield with the bdbCommissioningMode attribute. Set 1 to the corresponding bit to enable, 0 to disable. All the possible mask bits are stored in zb_bdb_commissioning_mode_mask_t |