FreeRTOS_IP.h
BaseType_t FreeRTOS_IsEndPointUp( const struct xNetworkEndPoint * pxEndPoint )
用于测试端点 (pxEndPoint) 当前是接通(已连接)还是中断(已断开)。请注意,断开事件来自
网络接口驱动程序,因此它们依赖网络接口驱动程序来实现。如果 pxEndPoint 为 NULL,
函数将返回是否所有端点都已连接。
参数:
- pxEndPoint
- 感兴趣的端点,若为 NULL,则检查所有端点的状态。
返回:
如果给定的端点(或所有端点,如果 pxEndPoint 为 NULL)接通(已连接),则返回 pdTRUE。否则返回 pdFALSE。
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.