Developing with ZBOSS
|
Typedefs | |
typedef enum nwk_requested_timeout_e | nwk_requested_timeout_t |
Enumerations | |
enum | zb_channel_page_num_e { ZB_CHANNEL_PAGE0_2_4_GHZ = 0, ZB_CHANNEL_PAGE28_SUB_GHZ = 28, ZB_CHANNEL_PAGE29_SUB_GHZ = 29, ZB_CHANNEL_PAGE30_SUB_GHZ = 30, ZB_CHANNEL_PAGE31_SUB_GHZ = 31 } |
enum | nwk_requested_timeout_e { ED_AGING_TIMEOUT_10SEC = 0, ED_AGING_TIMEOUT_2MIN, ED_AGING_TIMEOUT_4MIN, ED_AGING_TIMEOUT_8MIN, ED_AGING_TIMEOUT_16MIN, ED_AGING_TIMEOUT_32MIN, ED_AGING_TIMEOUT_64MIN, ED_AGING_TIMEOUT_128MIN, ED_AGING_TIMEOUT_256MIN, ED_AGING_TIMEOUT_512MIN, ED_AGING_TIMEOUT_1024MIN, ED_AGING_TIMEOUT_2048MIN, ED_AGING_TIMEOUT_4096MIN, ED_AGING_TIMEOUT_8192MIN, ED_AGING_TIMEOUT_16384MIN } |
typedef enum nwk_requested_timeout_e nwk_requested_timeout_t |
Enumeration, which store all values, which can be used in End Device timeout request
Enumeration, which store all values, which can be used in End Device timeout request
Enum for channel pages' numbers
zb_ret_t zb_channel_list_add | ( | zb_channel_list_t | channel_list, |
zb_uint8_t | page_num, | ||
zb_uint32_t | channel_mask | ||
) |
Add channel mask for a specified channel page in a channel list
channel_list | - pointer to a channel list |
page_num | - channel page number - zb_channel_page_num_e |
channel_mask | - Zigbee channel mask |
void zb_channel_list_init | ( | zb_channel_list_t | channel_list | ) |
Initialize a channel list
channel_list | - pointer to a channel list |
void zb_set_channel_mask | ( | zb_uint32_t | channel_mask | ) |
Set channel mask on device.
channel_mask | - Zigbee channel mask |
Example:
void zb_set_ed_timeout | ( | zb_uint_t | to | ) |
Set end device timeout.
Use it on End Device to specify End Device timeout period used in ED Timeout request.
to | - index in nwk_requested_timeout_e |
void zb_set_extended_pan_id | ( | const zb_ext_pan_id_t | ext_pan_id | ) |
Set Extended Pan ID (apsUseExtendedPANID attribute)
ext_pan_id | - Long (64-bit) Extended Pan ID |
void zb_set_keepalive_timeout | ( | zb_uint_t | to | ) |
Set keep alive timeout.
Use it on End Device to specify how often device should poll its parent.
to | - timeout, in beacon intervals |
void zb_set_long_address | ( | const zb_ieee_addr_t | addr | ) |
Set 64-bit long address
addr | - long address structure |
void zb_set_max_children | ( | zb_uint8_t | max_children | ) |
Set the maximum number of connected devices. Used for coordinators and routers
max_children | - maximum number of connected devices. |
void zb_set_network_coordinator_role | ( | zb_uint32_t | channel_mask | ) |
Initiate device as a Zigbee 3.0 (not SE!) coordinator
channel_mask | - Zigbee channel mask |
void zb_set_network_coordinator_role_legacy | ( | zb_uint32_t | channel_mask | ) |
Initiate device as a legacy (pre-r21) Zigbee coordinator
channel_mask | - Zigbee channel mask |
void zb_set_network_ed_role | ( | zb_uint32_t | channel_mask | ) |
Initiate device as a Zigbee Zigbee 3.0 (not SE!) End Device
channel_mask | - Zigbee channel mask |
void zb_set_network_ed_role_legacy | ( | zb_uint32_t | channel_mask | ) |
Initiate device as a legacy (pre-r21) Zigbee End Device
channel_mask | - Zigbee channel mask |
void zb_set_network_router_role | ( | zb_uint32_t | channel_mask | ) |
Initiate device as a Zigbee Zigbee 3.0 (not SE!) router
channel_mask | - Zigbee channel mask |
void zb_set_network_router_role_legacy | ( | zb_uint32_t | channel_mask | ) |
Initiate device as a legacy (pre-r21) Zigbee router
channel_mask | - Zigbee channel mask |
void zb_set_node_descriptor_manufacturer_code | ( | zb_uint16_t | manuf_code | ) |
Set Manufacturer code of Node Descriptor
manuf_code | - Manufacturer code |
void zb_set_pan_id | ( | zb_uint16_t | pan_id | ) |
Set 16-bit PAN ID.
[in] | pan_id | - PAN ID |
void zb_set_rx_on_when_idle | ( | zb_bool_t | rx_on | ) |
Set RxOnWhenIdle attribute
rx_on | - attribute value |
Example: