From ac4ebfca40ab816edd07583117fca8fef81ba029 Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期四, 22 八月 2024 09:49:03 +0800 Subject: [PATCH] 4G 功能外包开发完成 --- keil/include/components/internet/inc/Socket.h | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/keil/include/components/internet/inc/Socket.h b/keil/include/components/internet/inc/Socket.h index ac0b37e..88edc10 100644 --- a/keil/include/components/internet/inc/Socket.h +++ b/keil/include/components/internet/inc/Socket.h @@ -320,6 +320,26 @@ HIDO_INT32 Socket_IsConnected(HIDO_INT32 _i32SockID, HIDO_BOOL *_pbResult); /******************************************************************************* + * Function Name : Socket_UseHeartbeat + *******************************************************************************/ +HIDO_BOOL Socket_UseHeartbeat(HIDO_INT32 _i32SockID); + +/******************************************************************************* + * Function Name : Socket_HeartbeatConfig + *******************************************************************************/ +HIDO_INT32 Socket_HeartbeatConfig(HIDO_INT32 _i32SockID, HIDO_UINT8 *_pu8Data, HIDO_UINT32 _u32Len, HIDO_UINT32 _u32HeartbeatFreq); + +/******************************************************************************* + * Function Name : Socket_GetHeartbeatFreq + *******************************************************************************/ +HIDO_UINT32 Socket_GetHeartbeatFreq(HIDO_INT32 _i32SockID); + +/******************************************************************************* + * Function Name : Socket_GetHeartbeatFreq + *******************************************************************************/ +HIDO_CHAR *Socket_GetHeartbeatData(HIDO_INT32 _i32SockID); + +/******************************************************************************* * Function Name : Socket_Recv * Description : 从Socket接收队列中读取数据 * Input : _i32Sock Socket描述符 -- Gitblit v1.9.3