TCPIP_MODULE_SignalGet Function

C

TCPIP_MODULE_SIGNAL TCPIP_MODULE_SignalGet(
    TCPIP_STACK_MODULE moduleId
);

Description

This function provides a read only value of the current signals for a stack module.

Preconditions

The TCP/IP stack should have been initialized by TCPIP_STACK_Initialize() and the TCPIP_STACK_Status() returned SYS_STATUS_Ready.

Parameters

ParametersDescription
moduleIdModule ID.

Returns

  • The current value of the module's signals.

Remarks

The signals are processed and cleared inside the stack. It is not possible to clear a signal that's pending using this API.

Example

TCPIP_MODULE_SIGNAL currSIgnal = TCPIP_MODULE_SignalGet(TCPIP_MODULE_HTTP_SERVER);