Developing with ZBOSS for Zigbee
|
Macros | |
#define | ZB_MAC_LQI_UNDEFINED 0U |
#define | ZB_MAC_RSSI_UNDEFINED 0x7fU |
#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 coordinator address | |
#define | ZB_NWK_COORDINATOR_ADDR 0x0000U |
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 |
#define ZB_MAC_LQI_UNDEFINED 0U |
LQI undefined value
#define ZB_MAC_MAX_CHANNEL_NUMBER 26U |
Number of the first channel Maximal number of the channels
#define ZB_MAC_RSSI_UNDEFINED 0x7fU |
RSSI undefined value
#define ZB_MAC_SUPPORTED_CHANNELS (ZB_MAC_MAX_CHANNEL_NUMBER + 1U) |
Total number of supported channels
#define ZB_NWK_BROADCAST_ALL_DEVICES 0xFFFFu |
All devices in PAN
#define ZB_NWK_BROADCAST_LOW_POWER_ROUTER 0xFFFBu |
Low power routers only
#define ZB_NWK_BROADCAST_RESERVED 0xFFF8u |
Reserved value
#define ZB_NWK_BROADCAST_ROUTER_COORDINATOR 0xFFFCu |
All routers and coordinator
#define ZB_NWK_BROADCAST_RX_ON_WHEN_IDLE 0xFFFDu |
macRxOnWhenIdle = TRUE
#define ZB_NWK_DEVICE_TYPE_COORDINATOR 0U |
Device - Coordinator
#define ZB_NWK_DEVICE_TYPE_ED 2U |
Device - End device
#define ZB_NWK_DEVICE_TYPE_NONE 3U |
Unknown Device
#define ZB_NWK_DEVICE_TYPE_ROUTER 1U |
Device - Router
#define ZB_NWK_LEAVE_TYPE_REJOIN 0x01U |
Leave with rejoin
#define ZB_NWK_LEAVE_TYPE_RESET 0x00U |
Leave without rejoin
#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
#define ZB_PAGE0_2_4_GHZ_MAX_CHANNELS_COUNT |
Maximal number of channels for Page 0 2.4GHz
#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
#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
#define ZB_PAGE0_2_4_GHZ_START_LOGICAL_CHANNEL 11U |
The first logical channel for Page 0 2.4GHz
typedef zb_uint8_t 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.
typedef zb_uint8_t 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.