/
Net_Init
Net_Init
Initializes µC/TCP-IP and must be called prior to calling any other µC/TCP-IP API functions.
Files
net.h/net.c
Prototype
NET_ERR Net_Init(NET_TASK_CFG *p_rx_task_cfg, NET_TASK_CFG *p_tx_task_cfg, NET_TASK_CFG *p_tmr_task_cfg);
Arguments
p_rx_task_cfg
Pointer to the Rx Task Configuration Object.
p_tx_task_cfg
Pointer to the Tx Dealloc Task Configuration Object.
p_tmr_task_cfg
Pointer to the Timer Task Configuration Object.
Returned Value
NET_ERR_NONE
,
if successful;
Specific initialization error code,
otherwise.
Return value should be inspected to determine whether or not µC/TCP-IP successfully initialized. If µC/TCP-IP did not successfully initialize, search for the returned error code in net_err.h
and source files to locate where the µC/TCP-IP initialization failed.
Required Configuration
None.
Notes / Warnings
Prerequisite modules must be initialized prior to calling Net_Init()
. See Prerequisite module initialization.
, multiple selections available,
Related content
NetCmd_Init()
NetCmd_Init()
More like this
Initializing Interfaces
Initializing Interfaces
More like this
Network Stack Configuration
Network Stack Configuration
More like this
Network Tasks Configuration
Network Tasks Configuration
More like this
General Network Functions
General Network Functions
More like this
Initialization Issues
Initialization Issues
More like this