Developing with ZBOSS

Typedefs

typedef enum zb_current_power_mode_e zb_current_power_mode_t
 
typedef enum zb_power_src_e zb_power_src_t
 
typedef enum zb_power_source_level_e zb_power_source_level_t
 

Enumerations

enum  zb_freq_band_e { ZB_FREQ_BAND_868 = 1, ZB_FREQ_BAND_902 = 1 << 2, ZB_FREQ_BAND_2400 = 1 << 3, ZB_FREQ_BAND_SUB_GHZ_EU_FSK = 1 << 4 }
 
enum  zb_server_mask_bit_e {
  ZB_PRIMARY_TRUST_CENTER = 1, ZB_BACKUP_TRUST_CENTER = 1 << 1, ZB_PRIMARY_BINDING_TABLE_CENTER = 1 << 2, ZB_BACKUP_BINDING_TABLE_CENTER = 1 << 3,
  ZB_PRIMARY_DISCOVERY_CACHE = 1 << 4, ZB_BACKUP_DISCOVERY_CACHE = 1 << 5, ZB_NETWORK_MANAGER = 1 << 6
}
 
enum  zb_desc_capability_e { ZB_EXT_ACTIVE_EP_LIST = 1, ZB_EXT_SIMPLE_DESC_LIST = 1 <<1 }
 
enum  zb_current_power_mode_e { ZB_POWER_MODE_SYNC_ON_WHEN_IDLE = 0, ZB_POWER_MODE_COME_ON_PERIODICALLY = 1, ZB_POWER_MODE_COME_ON_WHEN_STIMULATED = 2 }
 
enum  zb_power_src_e { ZB_POWER_SRC_CONSTANT = 1, ZB_POWER_SRC_RECHARGEABLE_BATTERY = 1 << 1, ZB_POWER_SRC_DISPOSABLE_BATTERY = 1 << 2 }
 
enum  zb_power_source_level_e { ZB_POWER_LEVEL_CRITICAL = 0, ZB_POWER_LEVEL_33 = 4, ZB_POWER_LEVEL_66 = 8, ZB_POWER_LEVEL_100 = 12 }
 
enum  zb_af_profile_id_e {
  ZB_AF_ZDO_PROFILE_ID = 0x0000, ZB_AF_LEGACY_PROFILE1_ID = 0x0101, ZB_AF_LEGACY_PROFILE2_ID = 0x0102, ZB_AF_LEGACY_PROFILE3_ID = 0x0103,
  ZB_AF_HA_PROFILE_ID = 0x0104, ZB_AF_LEGACY_PROFILE4_ID = 0x0105, ZB_AF_LEGACY_PROFILE5_ID = 0x0106, ZB_AF_LEGACY_PROFILE6_ID = 0x0107,
  ZB_AF_LEGACY_PROFILE7_ID = 0x0108, ZB_AF_SE_PROFILE_ID = 0x0109, ZB_AF_ZLL_PROFILE_ID = 0xc05e, ZB_AF_WILDCARD_PROFILE_ID = 0xffff,
  ZB_AF_GP_PROFILE_ID = 0xA1E0
}
 

Detailed Description

Typedef Documentation

◆ zb_current_power_mode_t

Power descriptor types

◆ zb_power_source_level_t

Power source level values

◆ zb_power_src_t

Power source type

Enumeration Type Documentation

◆ zb_af_profile_id_e

Profile identifiers

Enumerator
ZB_AF_ZDO_PROFILE_ID 

ZDO profile ID

ZB_AF_LEGACY_PROFILE1_ID 

Legacy profile

ZB_AF_LEGACY_PROFILE2_ID 

Legacy profile

ZB_AF_LEGACY_PROFILE3_ID 

Legacy profile

ZB_AF_HA_PROFILE_ID 

HA profile ID

ZB_AF_LEGACY_PROFILE4_ID 

Legacy profile

ZB_AF_LEGACY_PROFILE5_ID 

Legacy profile

ZB_AF_LEGACY_PROFILE6_ID 

Legacy profile

ZB_AF_LEGACY_PROFILE7_ID 

Legacy profile

ZB_AF_SE_PROFILE_ID 

SE profile ID

ZB_AF_ZLL_PROFILE_ID 

ZLL profile identifier.

ZB_AF_WILDCARD_PROFILE_ID 

Wildcard profile identifier.

ZB_AF_GP_PROFILE_ID 

GreenPower profile ID

◆ zb_current_power_mode_e

Power descriptor types

Enumerator
ZB_POWER_MODE_SYNC_ON_WHEN_IDLE 

Receiver synchronized with the receiver on when idle subfield of the node descriptor.

ZB_POWER_MODE_COME_ON_PERIODICALLY 

Receiver comes on periodically as defined by the node power descriptor.

ZB_POWER_MODE_COME_ON_WHEN_STIMULATED 

Receiver comes on when stimulated, for example, by a user pressing a button.

◆ zb_desc_capability_e

Node descriptor - capability mask

Enumerator
ZB_EXT_ACTIVE_EP_LIST 

Extended Active Endpoint List Available

ZB_EXT_SIMPLE_DESC_LIST 

Extended Simple Descriptor List Available

◆ zb_freq_band_e

Node descriptor - frequency value

Enumerator
ZB_FREQ_BAND_868 

868-868.6 MHz BPSK

ZB_FREQ_BAND_902 

902-928 MHz BPSK

ZB_FREQ_BAND_2400 

2400-2483.5 MHz

ZB_FREQ_BAND_SUB_GHZ_EU_FSK 

Zigbee R22: European FSK sub-GHz bands (863-876MHz, 915-921MHz)

◆ zb_power_source_level_e

Power source level values

Enumerator
ZB_POWER_LEVEL_CRITICAL 

Critical

ZB_POWER_LEVEL_33 

33%

ZB_POWER_LEVEL_66 

66%

ZB_POWER_LEVEL_100 

100%

◆ zb_power_src_e

Power source type

Enumerator
ZB_POWER_SRC_CONSTANT 

Constant (mains) power

ZB_POWER_SRC_RECHARGEABLE_BATTERY 

Rechargeable battery

ZB_POWER_SRC_DISPOSABLE_BATTERY 

Disposable battery

◆ zb_server_mask_bit_e

Node descriptor - server mask

Enumerator
ZB_PRIMARY_TRUST_CENTER 

Primary Trust Center

ZB_BACKUP_TRUST_CENTER 

Backup Trust Center

ZB_PRIMARY_BINDING_TABLE_CENTER 

Primary Binding Table Center

ZB_BACKUP_BINDING_TABLE_CENTER 

Backup Binding Table Center

ZB_PRIMARY_DISCOVERY_CACHE 

Primary Discovery Cache

ZB_BACKUP_DISCOVERY_CACHE 

Backup Discovery Cache

ZB_NETWORK_MANAGER 

Network Manager