Initializes the provided M3UA network configuration structure with default values and the network identifier.
STATUS TXM3UAFUNC M3uaInitNwkCfg ( M3UANwkCfg *pNwkCfg, U8 nwkId)
Argument |
Description |
pNwkCfg |
Pointer to the M3UANwkCfg structure to be initialized. For information, see M3UANwkCfg. |
nwkId |
Identifier of the network to initialize. |
Return value |
Description |
M3UA_SUCCESS |
|
After calling M3uaInitNwkCfg, call M3uaSetNwkCfg to set the network configuration. You can optionally override specific field values before calling M3uaSetNwkCfg.
For more information about defining a network to the M3UA layer, see M3UA network configuration.