Developing with ZBOSS SDK for Zigbee

Macros

#define ZB_MAC_LQI_UNDEFINED   0
 
#define ZB_MAC_RSSI_UNDEFINED   0x7f
 
#define ZB_MAC_MAX_CHANNEL_NUMBER   26
 
#define ZB_MAC_SUPPORTED_CHANNELS   (ZB_MAC_MAX_CHANNEL_NUMBER + 1)
 
#define ZB_PAGE0_2_4_GHZ_START_LOGICAL_CHANNEL   11
 
#define ZB_PAGE0_2_4_GHZ_START_CHANNEL_NUMBER   ZB_PAGE0_2_4_GHZ_START_LOGICAL_CHANNEL
 
#define ZB_PAGE0_2_4_GHZ_MAX_LOGICAL_CHANNEL   ZB_MAC_MAX_CHANNEL_NUMBER
 
#define ZB_PAGE0_2_4_GHZ_MAX_CHANNEL_NUMBER   ZB_MAC_MAX_CHANNEL_NUMBER
 
#define ZB_PAGE0_2_4_GHZ_MAX_CHANNELS_COUNT
 

Typedefs

typedef enum zb_nwk_device_type_e zb_nwk_device_type_t
 
typedef enum zb_nwk_leave_type_e zb_nwk_leave_type_t
 Leave types.
 

Enumerations

enum  zb_nwk_device_type_e { ZB_NWK_DEVICE_TYPE_COORDINATOR, ZB_NWK_DEVICE_TYPE_ROUTER, ZB_NWK_DEVICE_TYPE_ED, ZB_NWK_DEVICE_TYPE_NONE }
 
enum  zb_nwk_leave_type_e { ZB_NWK_LEAVE_TYPE_RESET = 0x00, ZB_NWK_LEAVE_TYPE_REJOIN = 0x01 }
 Leave types. More...
 

Network broadcast addresses types

#define ZB_NWK_BROADCAST_ALL_DEVICES   0xFFFFu
 
#define ZB_NWK_BROADCAST_RX_ON_WHEN_IDLE   0xFFFDu
 
#define ZB_NWK_BROADCAST_ROUTER_COORDINATOR   0xFFFCu
 
#define ZB_NWK_BROADCAST_LOW_POWER_ROUTER   0xFFFBu
 
#define ZB_NWK_BROADCAST_RESERVED   0xFFF8u
 

Detailed Description

Macro Definition Documentation

◆ ZB_MAC_LQI_UNDEFINED

#define ZB_MAC_LQI_UNDEFINED   0

LQI undefined value

◆ ZB_MAC_MAX_CHANNEL_NUMBER

#define ZB_MAC_MAX_CHANNEL_NUMBER   26

Number of the first channel Maximal number of the channels

◆ ZB_MAC_RSSI_UNDEFINED

#define ZB_MAC_RSSI_UNDEFINED   0x7f

RSSI undefined value

◆ ZB_MAC_SUPPORTED_CHANNELS

#define ZB_MAC_SUPPORTED_CHANNELS   (ZB_MAC_MAX_CHANNEL_NUMBER + 1)

Total number of supported channels

◆ ZB_NWK_BROADCAST_ALL_DEVICES

#define ZB_NWK_BROADCAST_ALL_DEVICES   0xFFFFu

All devices in PAN

◆ ZB_NWK_BROADCAST_LOW_POWER_ROUTER

#define ZB_NWK_BROADCAST_LOW_POWER_ROUTER   0xFFFBu

Low power routers only

◆ ZB_NWK_BROADCAST_RESERVED

#define ZB_NWK_BROADCAST_RESERVED   0xFFF8u

Reserved value

◆ ZB_NWK_BROADCAST_ROUTER_COORDINATOR

#define ZB_NWK_BROADCAST_ROUTER_COORDINATOR   0xFFFCu

All routers and coordinator

◆ ZB_NWK_BROADCAST_RX_ON_WHEN_IDLE

#define ZB_NWK_BROADCAST_RX_ON_WHEN_IDLE   0xFFFDu

macRxOnWhenIdle = TRUE

◆ ZB_PAGE0_2_4_GHZ_MAX_CHANNEL_NUMBER

#define ZB_PAGE0_2_4_GHZ_MAX_CHANNEL_NUMBER   ZB_MAC_MAX_CHANNEL_NUMBER

Number of the last channel in channel mask for Page 0 2.4GHz

◆ ZB_PAGE0_2_4_GHZ_MAX_CHANNELS_COUNT

#define ZB_PAGE0_2_4_GHZ_MAX_CHANNELS_COUNT
Value:
ZB_PAGE0_2_4_GHZ_START_CHANNEL_NUMBER + 1)
#define ZB_PAGE0_2_4_GHZ_MAX_CHANNEL_NUMBER
Definition: zboss_api_nwk.h:270

Maximal number of channels for Page 0 2.4GHz

◆ ZB_PAGE0_2_4_GHZ_MAX_LOGICAL_CHANNEL

#define ZB_PAGE0_2_4_GHZ_MAX_LOGICAL_CHANNEL   ZB_MAC_MAX_CHANNEL_NUMBER

The last logical channel in channel mask for Page 0 2.4GHz

◆ ZB_PAGE0_2_4_GHZ_START_CHANNEL_NUMBER

#define ZB_PAGE0_2_4_GHZ_START_CHANNEL_NUMBER   ZB_PAGE0_2_4_GHZ_START_LOGICAL_CHANNEL

Number of the first channel in channel mask for Page 0 2.4GHz

◆ ZB_PAGE0_2_4_GHZ_START_LOGICAL_CHANNEL

#define ZB_PAGE0_2_4_GHZ_START_LOGICAL_CHANNEL   11

The first logical channel for Page 0 2.4GHz

Typedef Documentation

◆ zb_nwk_device_type_t

Network device type

Enumeration Type Documentation

◆ zb_nwk_device_type_e

Network device type

Enumerator
ZB_NWK_DEVICE_TYPE_COORDINATOR 

Device - Coordinator

ZB_NWK_DEVICE_TYPE_ROUTER 

Device - Router

ZB_NWK_DEVICE_TYPE_ED 

Device - End device

ZB_NWK_DEVICE_TYPE_NONE 

Unknown Device

◆ zb_nwk_leave_type_e

Leave types.

Enumerator
ZB_NWK_LEAVE_TYPE_RESET 

Leave without rejoin

ZB_NWK_LEAVE_TYPE_REJOIN 

Leave with rejoin