Files
STM32F4-Base/test/net_test_task.h

23 lines
706 B
C
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#ifndef __NET_TEST_TASK_H
#define __NET_TEST_TASK_H
#ifdef __cplusplus
extern "C" {
#endif
/* NET 层测试事件循环入口(定义于 net_test_task.c
* 由 ch395fTestTask 在 NET 层构建模式下调用,内部创建单连接 TCP 监听
* 并驱动 Phase 6/8~11 依次执行,连接断开后自动重新 listen。 */
void net_layer_test_main(void);
/* NET 层 TCP Client 测试入口(定义于 net_test_task.c
* 由 ch395fTestTask 在 NET 层构建模式下ENABLE_PHASE7_TESTS调用
* MCU 作为 TCP Client 主动连接 PC 回显服务器,覆盖 TC 701/702/703。 */
void net_layer_client_test_main(void);
#ifdef __cplusplus
}
#endif
#endif /* __NET_TEST_TASK_H */