diff --git a/components/connectivity/TencentCloud_SDK/source/src/port/TencentOS_tiny/osal_udp_module.c b/components/connectivity/TencentCloud_SDK/source/src/port/TencentOS_tiny/osal_udp_module.c index a72d8ba4..e8ad6997 100644 --- a/components/connectivity/TencentCloud_SDK/source/src/port/TencentOS_tiny/osal_udp_module.c +++ b/components/connectivity/TencentCloud_SDK/source/src/port/TencentOS_tiny/osal_udp_module.c @@ -74,7 +74,7 @@ __QCLOUD_OSAL__ qcloud_err_t osal_udp_read(int sockfd, void *buf, size_t len, ui { int ret; - QCLOUD_LOG_I("osal_udp_read len %d timeout %d\r\n", len); + QCLOUD_LOG_I("osal_udp_read len %d timeout %d\r\n", len, timeout); ret = tos_sal_module_recvfrom_timeout(sockfd, buf, len, timeout); diff --git a/components/connectivity/qcloud-iot-explorer-sdk/port/TencentOS_tiny/HAL_UDP_module.c b/components/connectivity/qcloud-iot-explorer-sdk/port/TencentOS_tiny/HAL_UDP_module.c index 586fe8a5..fbaaef2c 100644 --- a/components/connectivity/qcloud-iot-explorer-sdk/port/TencentOS_tiny/HAL_UDP_module.c +++ b/components/connectivity/qcloud-iot-explorer-sdk/port/TencentOS_tiny/HAL_UDP_module.c @@ -81,7 +81,7 @@ int HAL_UDP_Read(uintptr_t fd, unsigned char *p_data, unsigned int datalen) { int ret; - Log_i("osal_udp_read len %d timeout %d\r\n", datalen); + Log_i("osal_udp_read len %d\r\n", datalen); ret = tos_sal_module_recvfrom(fd, p_data, datalen); @@ -100,7 +100,7 @@ int HAL_UDP_ReadTimeout(uintptr_t fd, unsigned char *p_data, unsigned int datale { int ret; - Log_i("osal_udp_read len %d timeout %d\r\n", datalen); + Log_i("osal_udp_read len %d timeout %d\r\n", datalen, timeout_ms); ret = tos_sal_module_recvfrom_timeout(fd, p_data, datalen, timeout_ms); diff --git a/components/connectivity/qcloud-iot-hub-sdk-3.1.2/port/TencentOS_tiny/HAL_UDP_module.c b/components/connectivity/qcloud-iot-hub-sdk-3.1.2/port/TencentOS_tiny/HAL_UDP_module.c index d00f0568..43fc2180 100644 --- a/components/connectivity/qcloud-iot-hub-sdk-3.1.2/port/TencentOS_tiny/HAL_UDP_module.c +++ b/components/connectivity/qcloud-iot-hub-sdk-3.1.2/port/TencentOS_tiny/HAL_UDP_module.c @@ -80,7 +80,7 @@ int HAL_UDP_Read(uintptr_t fd, unsigned char *p_data, unsigned int datalen) { int ret; - Log_i("osal_udp_read len %d timeout %d\r\n", datalen); + Log_i("osal_udp_read len %d\r\n", datalen); ret = tos_sal_module_recvfrom(fd, p_data, datalen); @@ -99,7 +99,7 @@ int HAL_UDP_ReadTimeout(uintptr_t fd, unsigned char *p_data, unsigned int datale { int ret; - Log_i("osal_udp_read len %d timeout %d\r\n", datalen); + Log_i("osal_udp_read len %d timeout %d\r\n", datalen, timeout_ms); ret = tos_sal_module_recvfrom_timeout(fd, p_data, datalen, timeout_ms);