M3uaGetNwkCfg

Obtains network configuration parameter values from the M3UA layer.

Prototype

M3uaGetNwkCfg ( U8 board, M3UANwkCfg *pNwkCfg, U8 nwkId)

Argument

Description

board

TX board number on which the desired M3UA layer resides. Valid range is 1 through MAXBOARD (currently 32).

pNwkCfg

Pointer to the M3UANwkCfg structure where the requested configuration information is returned. For information, see M3UANwkCfg.

nwkId

Network identifier.


Return values

Return value

Description

M3UA_SUCCESS

 

M3UA_BOARD

Invalid board number.

M3UA_DRIVER

CPI driver error.

M3UA_HANDLE

M3UAMgmtInit was not called for the specified board.

M3UA_PARAM

Invalid parameter.

M3UA_RESPONSE

Incorrect response from the board.

M3UA_TIMEOUT

No response from the board.


Details

This function can be called any time after M3uaMgmtInit. An application must provide a pointer to a buffer large enough to hold the M3UANwkCfg structure.

See also

M3uaInitNwkCfg, M3uaSetNwkCfg