HPM APP
HPMicro Application solution
tcp_echo.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2021 HPMicro
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  *
6  */
7 #ifndef TCPECHO_H
8 #define TCPECHO_H
9 
18 #define TCP_ECHO_PORT (5001U)
19 
20 #if defined(__cplusplus)
21 extern "C" {
22 #endif /* __cplusplus */
23 
28 void tcp_echo_init(void);
39 void tcp_poll_handle(void);
40 
41 #if defined(__cplusplus)
42 }
43 #endif /* __cplusplus */
44 
47 #endif /* TCP_ECHO_H */
48 
void tcp_poll_handle(void)
Sending data using polling.Firstly, determine the values of adc_done[0] and adc_done[0]....
Definition: tcp_echo.c:124
void tcp_echo_init(void)
TCP initialization, binding IP address and port number. ;TCP初始化,绑定IP地址和端口号。
Definition: tcp_echo.c:153