Logo
UNICENS V2.1.0-3491
User Manual and API Reference
Ucs_Return_t Ucs_Network_Startup ( Ucs_Inst_t self,
uint16_t  packet_bw,
uint16_t  forced_na_timeout,
Ucs_StdResultCb_t  result_fptr 
)

Starts up the MOST Network.

Note
There is no predefined timeout for this operation. I.e., the startup process is performed by the INIC until result_fptr is invoked or the application calls Ucs_Network_Shutdown() to abort the startup process.
Parameters
selfThe instance
packet_bwThe desired packet bandwidth.
 PacketBW
forced_na_timeoutThe delay time in milliseconds to shutdown the network after the INIC has entered the protected mode.
 AutoForcedNotAvailable
result_fptrOptional result callback.
Returns
Possible return values are shown in the table below.
Value Description
UCS_RET_SUCCESS No error
UCS_RET_ERR_BUFFER_OVERFLOW No message buffer available
UCS_RET_ERR_API_LOCKED API is currently locked
UCS_RET_ERR_NOT_INITIALIZED UNICENS is not initialized