Download FreeRTOS
 

Quality RTOS & Embedded Software

LIBRARIES
WHAT'S NEW
FreeRTOS-Plus-TCP now has unified IPv4 and IPv6 functionalities and multi-interface support.
Achieving Unbrickable MCU FOTA for your FreeRTOS-powered Firmware:
FreeRTOS 202012 LTS end of support announced.
FreeRTOS website now available in Simplified Chinese
New FreeRTOS Long Term Support version now available.

FreeRTOS_IsEndPointUp()

[FreeRTOS-Plus-TCP API Reference]

FreeRTOS_IP.h
BaseType_t FreeRTOS_IsEndPointUp( const struct xNetworkEndPoint * pxEndPoint )

Used to test if the endpoint (pxEndPoint) is currently up (connected) or down (disconnected). Note that disconnect events come from the network interface driver, so they rely on the network interface driver for implementation. If pxEndPoint is NULL, the function returns whether all endpoints are up or not.

Parameters:

pxEndPoint
Endpoint of interest, if NULL status of all endpoints will be checked.

Returns:
pdTRUE if the given endpoint (or all endpoints if pxEndPoint is NULL) is up (connected). Otherwise pdFALSE.

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