TCPIP_STACK_VersionGet Function

C

unsigned int TCPIP_STACK_VersionGet(
    const SYS_MODULE_INDEX index
);

Description

This function gets the TCP/IP stack version. The version is encoded as major * 10000 + minor * 100 + patch. The stringed version can be obtained using TCPIP_STACK_VersionStrGet().

Preconditions

None.

Parameters

ParametersDescription
indexIdentifier for the object instance to get the version for.

Returns

  • Current driver version in numerical format.

Remarks

None.

Example

unsigned int version;

version = TCPIP_STACK_VersionGet( TCPIP_STACK_INDEX_1 );

if(version < 110200)
{
    // Do Something
}