Jump to main content

##

# TCPIP_STACK_Task Function

## C

    void TCPIP_STACK_Task(
        SYS_MODULE_OBJ object
    );

## Description

TCP/IP stack execution state machine. Stack Finite-State Machine (FSM) is executed.

## Preconditions

The TCP/IP stack should have been initialized by TCPIP_STACK_Initialize().

## Parameters

Parameters | Description
--- | ---
object | Object handle returned by TCPIP_STACK_Initialize().

## Returns

None.

## Remarks

This FSM checks for new incoming packets, and routes it to appropriate stack components. It also performs timed operations.

This function must be called periodically to ensure timely responses.

This function continues the stack initialization process after the TCPIP_STACK_Initialize() was called. The TCPIP_STACK_Status() will report SYS_STATUS_BUSY while the initialization is in progress.