Multi-Network Manager
Functions |
|
uint8_t | emberGetCurrentNetwork (void) |
Returns the current network index.
|
|
EmberStatus | emberSetCurrentNetwork (uint8_t index) |
Sets the current network.
|
|
uint8_t | emberGetCallbackNetwork (void) |
Can only be called inside an application callback.
|
Detailed Description
See
multi-network.h
for source code.
Function Documentation
uint8_t emberGetCallbackNetwork | ( | void |
|
) |
Can only be called inside an application callback.
- Returns
- the index of the network the callback refers to. If this function is called outside of a callback, it returns 0xFF.
uint8_t emberGetCurrentNetwork | ( | void |
|
) |
Returns the current network index.
EmberStatus emberSetCurrentNetwork | ( | uint8_t |
index
|
) |
Sets the current network.
- Parameters
-
index
The network index.
- Returns
- EMBER_INDEX_OUT_OF_RANGE if the index does not correspond to a valid network, and EMBER_SUCCESS otherwise.