Download FreeRTOS
 

Quality RTOS & Embedded Software

LIBRARIES
WHAT'S NEW
Simplifying Authenticated Cloud Connectivity for Any Device.
Designing an energy efficient and cloud-connected IoT solution with CoAP.
Introducing FreeRTOS Kernel version 11.0.0:
FreeRTOS Roadmap and Code Contribution process.
OPC-UA over TSN with FreeRTOS.

FreeRTOS_GetIPType()

[FreeRTOS-Plus-TCP API Reference]

FreeRTOS_Sockets.h
BaseType_t FreeRTOS_GetIPType( ConstSocket_t xSocket );

Get the version of IP- either 'ipTYPE_IPv4' or 'ipTYPE_IPv6'.

Parameters:

xSocket
The socket to be checked.

Returns:
Either ipTYPE_IPv4 or ipTYPE_IPv6.

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.