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_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.