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. There is no multi-network support on EFR32MG1/EM351/EM357 parts hence functions are stripped out on those platforms.
Function Documentation
◆ emberGetCallbackNetwork()
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.
◆ emberGetCurrentNetwork()
uint8_t emberGetCurrentNetwork | ( | void |
|
) |
Returns the current network index.
◆ emberSetCurrentNetwork()
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.