nRF5 SDK for Thread and Zigbee v4.2.0
Macros | Functions

Macros

#define ZB_JOINED()   zb_zdo_joined()
 

Functions

zb_bool_t zb_get_rx_on_when_idle (void)
 
const zb_char_tzb_get_version (void)
 Get ZBOSS version. More...
 
void zb_get_long_address (zb_ieee_addr_t addr)
 
zb_uint16_t zb_get_pan_id (void)
 
zb_uint16_t zb_get_short_address (void)
 
void zb_get_extended_pan_id (zb_ext_pan_id_t ext_pan_id)
 
zb_uint8_t zb_get_current_page (void)
 
zb_uint8_t zb_get_current_channel (void)
 
zb_nwk_device_type_t zb_get_network_role (void)
 
zb_uint8_t zb_get_max_children (void)
 

Detailed Description

Macro Definition Documentation

#define ZB_JOINED ( )    zb_zdo_joined()

Checks that device is joined to the network.

Returns
true if device is joined; false - otherwise

Function Documentation

zb_uint8_t zb_get_current_channel ( void  )

Get the currently used channel.

zb_uint8_t zb_get_current_page ( void  )

Get the currently used channel page.

void zb_get_extended_pan_id ( zb_ext_pan_id_t  ext_pan_id)

Get Extended Pan ID (nwkExtendedPANId attribute)

Parameters
ext_pan_id- pointer to memory where result will be stored
void zb_get_long_address ( zb_ieee_addr_t  addr)

Get 64-bit long address

Parameters
addr- pointer to memory where result will be stored
zb_uint8_t zb_get_max_children ( void  )

Returns the maximum number of children allowed

zb_nwk_device_type_t zb_get_network_role ( void  )

Returns the device role ID

Returns
- zb_nwk_device_type_t device_role_id
zb_uint16_t zb_get_pan_id ( void  )

Get 16-bit PAN ID

zb_bool_t zb_get_rx_on_when_idle ( void  )

Returns current state of RX-ON-When-Idle of Zigbee ZED

Returns
ZB_TRUE if ZED is not sleepy ZED, ZB_FALSE if ZED is a sleepy ZED
zb_uint16_t zb_get_short_address ( void  )

Get current short address of the device

const zb_char_t* zb_get_version ( void  )

Get ZBOSS version.

Returns
Pointer to zero-terminated version string.

Documentation feedback | Developer Zone | Subscribe | Updated