Multi-Network Manager#
EMBER_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
emberGetCurrentNetwork(void)
Return the current network index.
emberSetCurrentNetwork(uint8_t index)
Set the current network.
uint8_t
emberGetCallbackNetwork(void)
Can only be called inside an application callback.
Function Documentation#
emberGetCurrentNetwork#
uint8_t emberGetCurrentNetwork (void )
Return the current network index.
Parameters
N/A |
Definition at line
33
of file stack/include/multi-network.h
emberSetCurrentNetwork#
EmberStatus emberSetCurrentNetwork (uint8_t index)
Set the current network.
Parameters
N/A | index | The network index. |
Returns
EMBER_INDEX_OUT_OF_RANGE if the index does not correspond to a valid network, and EMBER_SUCCESS otherwise.
Definition at line
42
of file stack/include/multi-network.h
emberGetCallbackNetwork#
uint8_t emberGetCallbackNetwork (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
49
of file stack/include/multi-network.h