Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

已更新 2025年7月

FreeRTOS_AllEndPointsUp()

[FreeRTOS-Plus-TCP API 引用]

FreeRTOS_IP.h

1BaseType_t FreeRTOS_AllEndPointsUp( const struct xNetworkInterface * pxInterface )

用于测试与接口关联的所有端点当前是处于开启状态(连接)还是关闭状态(断开连接)。 请注意,断开事件由网络接口驱动器引起,因此其实现取决于网络接口驱动器 。

参数:

  • pxInterface

    必须检查其端点状态的接口。如果为 NULL,则该函数返回所有可用端点, 无论其所属接口是否已启动。

返回:

如果所有端点均已启动(已连接),则返回 pdTRUE,否则返回 pdFALSE。