Multi-Network Manager#

SL_ZIGBEE_MULTI_NETWORK_STRIPPED is an optional #define that is used on flash-space constrained chips to conditionally compile out multi-network related source code.

Functions#

uint8_t

Return the current network index.

sl_status_t

Set the current network.

uint8_t

Can only be called inside an application callback.

Function Documentation#

sl_zigbee_get_current_network#

uint8_t sl_zigbee_get_current_network (void )

Return the current network index.

Parameters
N/A

Definition at line 35 of file stack/include/multi-network.h

sl_zigbee_set_current_network#

sl_status_t sl_zigbee_set_current_network (uint8_t index)

Set the current network.

Parameters
N/Aindex

The network index.

Returns

  • ::SL_STATUS_INVALID_INDEX if the index does not correspond to a valid network, and ::SL_STATUS_OK otherwise.


Definition at line 44 of file stack/include/multi-network.h

sl_zigbee_get_callback_network#

uint8_t sl_zigbee_get_callback_network (void )

Can only be called inside an application callback.

Parameters
N/A

Returns

  • the index of the network the callback refers to. If this function is called outside of a callback, it returns 0xFF.


Definition at line 51 of file stack/include/multi-network.h