From 299c8efc11f645a154ef5529f483bf8a4d1a0b56 Mon Sep 17 00:00:00 2001 From: chen <15335560115@163.com> Date: 星期三, 21 五月 2025 11:49:23 +0800 Subject: [PATCH] 初步调好1s上传一条lora网关成功解析,未将测距信息放入包体,用的0x22的协议 --- keil/include/src/TCPClient.h | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 59 insertions(+), 0 deletions(-) diff --git a/keil/include/src/TCPClient.h b/keil/include/src/TCPClient.h new file mode 100644 index 0000000..e62bd62 --- /dev/null +++ b/keil/include/src/TCPClient.h @@ -0,0 +1,59 @@ +/******************************************************************************* + * File Name : TCPClient.h + * Description : + * Created on : 2021年1月9日 + * Author : www.hido-studio.com + *******************************************************************************/ + +#ifndef APL_TCPCLIENT_H_ +#define APL_TCPCLIENT_H_ +/******************************************************************************* + * Include Files * + *******************************************************************************/ +#include "HIDO_TYpeDef.h" + +/******************************************************************************* + * Macro * + *******************************************************************************/ + +/******************************************************************************* + * Type Definition * + *******************************************************************************/ + +/******************************************************************************* + * Global Function * + *******************************************************************************/ +/******************************************************************************* + * Function Name : TCPClient_Poll + * Description : + * Input : + * Output : + * Return : + * Author : www.hido-studio.com + * Modified Date: : 2021年1月9日 + *******************************************************************************/ +HIDO_INT32 TCPClient_Poll(void); + +/******************************************************************************* + * Function Name : TCPClient_Upload + * Description : + * Input : + * Output : + * Return : + * Author : www.hido-studio.com + * Modified Date: : 2021年1月9日 + *******************************************************************************/ +HIDO_INT32 TCPClient_Upload(HIDO_UINT8 *_pu8Data, HIDO_UINT32 _u32Len); + +/******************************************************************************* + * Function Name : TCPClient_Init + * Description : + * Input : + * Output : + * Return : + * Author : www.hido-studio.com + * Modified Date: : 2021年1月9日 + *******************************************************************************/ +HIDO_INT32 TCPClient_Init(void); + +#endif /* APL_TCPCLIENT_H_ */ -- Gitblit v1.9.3