From 2708bb705860a113282682b2512af4f139c12888 Mon Sep 17 00:00:00 2001 From: chen <15335560115@163.com> Date: 星期二, 20 五月 2025 18:31:36 +0800 Subject: [PATCH] 初步移植过来lora基础包协议格式,不能和网关通信未解决 --- 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