Developing with ZBOSS SDK for Zigbee

Macros

#define ZB_MAC_LQI_UNDEFINED   0U
 
#define ZB_MAC_RSSI_UNDEFINED   (0x7F)
 
#define ZB_MAC_MAX_CHANNEL_NUMBER   26U
 
#define ZB_MAC_SUPPORTED_CHANNELS   (ZB_MAC_MAX_CHANNEL_NUMBER + 1U)
 
#define ZB_PAGE0_2_4_GHZ_START_LOGICAL_CHANNEL   11U
 
#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 zb_uint8_t zb_nwk_device_type_t
 Type for network device type. More...
 
typedef zb_uint8_t zb_nwk_leave_type_t
 Type for 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
 

Network device type

#define ZB_NWK_DEVICE_TYPE_COORDINATOR   0U
 
#define ZB_NWK_DEVICE_TYPE_ROUTER   1U
 
#define ZB_NWK_DEVICE_TYPE_ED   2U
 
#define ZB_NWK_DEVICE_TYPE_NONE   3U
 

Leave types

#define ZB_NWK_LEAVE_TYPE_RESET   0x00U
 
#define ZB_NWK_LEAVE_TYPE_REJOIN   0x01U
 

Detailed Description

Macro Definition Documentation

◆ ZB_MAC_LQI_UNDEFINED

#define ZB_MAC_LQI_UNDEFINED   0U

LQI undefined value

◆ ZB_MAC_MAX_CHANNEL_NUMBER

#define ZB_MAC_MAX_CHANNEL_NUMBER   26U

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 + 1U)

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_NWK_DEVICE_TYPE_COORDINATOR

#define ZB_NWK_DEVICE_TYPE_COORDINATOR   0U

Device - Coordinator

◆ ZB_NWK_DEVICE_TYPE_ED

#define ZB_NWK_DEVICE_TYPE_ED   2U

Device - End device

◆ ZB_NWK_DEVICE_TYPE_NONE

#define ZB_NWK_DEVICE_TYPE_NONE   3U

Unknown Device

◆ ZB_NWK_DEVICE_TYPE_ROUTER

#define ZB_NWK_DEVICE_TYPE_ROUTER   1U

Device - Router

◆ ZB_NWK_LEAVE_TYPE_REJOIN

#define ZB_NWK_LEAVE_TYPE_REJOIN   0x01U

Leave with rejoin

◆ ZB_NWK_LEAVE_TYPE_RESET

#define ZB_NWK_LEAVE_TYPE_RESET   0x00U

Leave without rejoin

◆ 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)

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   11U

The first logical channel for Page 0 2.4GHz

Typedef Documentation

◆ zb_nwk_device_type_t

Type for network device type.

Holds one of nwk_device_type. Kept for backward compatibility as nwk_device_type were declared previously as enum.

◆ zb_nwk_leave_type_t

Type for leave types.

Holds one of nwk_leave_type. Kept for backward compatibility as nwk_leave_type were declared previously as enum.

ZB_PAGE0_2_4_GHZ_MAX_CHANNEL_NUMBER
#define ZB_PAGE0_2_4_GHZ_MAX_CHANNEL_NUMBER
Definition: zboss_api_nwk.h:278