5ba77d20e5
tcp函数基本正常工作
20 lines
494 B
C
20 lines
494 B
C
/*
|
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* Change Logs:
|
|
* Date Author Notes
|
|
* 2023-05-30 murmur the first version
|
|
*/
|
|
#ifndef APPLICATIONS_TTTR_H_
|
|
#define APPLICATIONS_TTTR_H_
|
|
|
|
int tcpInit(void);
|
|
int tcpRec(unsigned char *recv_data);
|
|
int sendMsg(const rt_uint8_t *msg, size_t len);
|
|
int sendMsgs(const rt_uint8_t (*msg)[200], char *s, size_t row);
|
|
void tcpClose(void);
|
|
|
|
#endif /* APPLICATIONS_TTTR_H_ */
|