| | |
| | | /******************************************************************************* |
| | | * File Name : TCPClient.h |
| | | * Description : |
| | | * Created on : 2021年1月9日 |
| | | * Created on : 2021��1��9�� |
| | | * Author : www.hido-studio.com |
| | | *******************************************************************************/ |
| | | |
| | |
| | | /******************************************************************************* |
| | | * Type Definition * |
| | | *******************************************************************************/ |
| | | typedef enum |
| | | { |
| | | TCP_CLIENT_STATE_IDLE, |
| | | TCP_CLIENT_STATE_CONNECTING, |
| | | TCP_CLIENT_STATE_CONNECTED, |
| | | } E_TCPClientState; |
| | | |
| | | /******************************************************************************* |
| | | * Global Variable * |
| | | *******************************************************************************/ |
| | | extern E_TCPClientState l_eTCPClientState; |
| | | |
| | | /******************************************************************************* |
| | | * Global Function * |
| | |
| | | * Output : |
| | | * Return : |
| | | * Author : www.hido-studio.com |
| | | * Modified Date: : 2021年1月9日 |
| | | * Modified Date: : 2021��1��9�� |
| | | *******************************************************************************/ |
| | | HIDO_INT32 TCPClient_Poll(void); |
| | | |
| | |
| | | * Output : |
| | | * Return : |
| | | * Author : www.hido-studio.com |
| | | * Modified Date: : 2021年1月9日 |
| | | * Modified Date: : 2021��1��9�� |
| | | *******************************************************************************/ |
| | | HIDO_INT32 TCPClient_Upload(HIDO_CHAR *_pcGGA); |
| | | |
| | | /******************************************************************************* |
| | | * Function Name : TCPClient_Pause |
| | | * Description : 暂停TCP连接(用于路径下载期间) |
| | | *******************************************************************************/ |
| | | HIDO_INT32 TCPClient_Pause(void); |
| | | |
| | | /******************************************************************************* |
| | | * Function Name : TCPClient_Resume |
| | | * Description : 恢复TCP连接(路径下载完成后) |
| | | *******************************************************************************/ |
| | | HIDO_INT32 TCPClient_Resume(void); |
| | | |
| | | /******************************************************************************* |
| | | * Function Name : |
| | | * Description : |
| | | * Input : |
| | | * Output : |
| | | * Return : |
| | | * Author : www.hido-studio.com |
| | | * Modified Date: : 2021年1月9日 |
| | | * Modified Date: : 2021��1��9�� |
| | | *******************************************************************************/ |
| | | HIDO_INT32 TCPClient_Init(void); |
| | | |