M3uaInitNwkCfg

Initializes the provided M3UA network configuration structure with default values and the network identifier.

Prototype

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

Return value

Description

M3UA_SUCCESS

 


Details

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.

See Also

M3uaGetNwkCfg