FreeRTOS_IP.h
BaseType_t FreeRTOS_AllEndPointsUp( const struct xNetworkInterface * pxInterface )
用于测试与接口关联的所有端点当前是处于开启状态(连接)还是关闭状态(断开连接)。请注意,
断开连接事件来自网络接口驱动程序,因此它们依赖网络接口驱动程序来实现。
参数:
- pxInterface
- 必须检查其端点状态的接口。如果为 NULL,则该函数返回所有可用端点,
无论其所属接口是否已启动。
返回:
如果所有端点均已启动(已连接),则返回 pdTRUE,否则返回 pdFALSE。
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.