Commit Graph

7 Commits

Author SHA1 Message Date
David Lin
39d2d32ceb Fixed wrong parameter in debug information 2020-03-07 09:08:42 +08:00
David Lin
d0d01f5ba2 Fixed the wrong return value in HAL_UDP_module.c
QCLOUD_ERR_TCP_WRITE_FAIL -> QCLOUD_ERR_UDP_WRITE_FAIL
QCLOUD_ERR_TCP_READ_FAIL -> QCLOUD_ERR_UDP_READ_FAIL
QCLOUD_ERR_TCP_NOTHING_TO_READ -> QCLOUD_ERR_UDP_NOTHING_TO_READ
2020-02-29 22:34:17 +08:00
David Lin
c02f1d796c Fixed typo: 'lenght' in qclould-iot-hub-sdk
Note that the word 'lenght' is wrong,
so that 'lenght' should been replaced with 'length'.
2020-02-16 17:40:47 +08:00
LinPeng
e5a78b5e64 优化HAL_UDP_Connect函数
1.直接在初始化阶段清零char port_str[PORT_BUFF_LEN] = {0};,删除紧接着的memset操作
2.调整代码缩进对齐
2020-01-21 14:12:46 +08:00
LinPeng
45dfc729fc Update HAL_TCP_module.c
1.in function HAL_TCP_Connect,  '    char port_str[PORT_BUFF_LEN];  memset(port_str, 0, PORT_BUFF_LEN);', we can direct to replace with  'char port_str[PORT_BUFF_LEN] = {0};'
2020-01-20 11:37:45 +08:00
daishengdong
c9556307df add tos_slist.h, rename tos.h to tos_k.h 2020-01-03 17:25:38 +08:00
daishengdong
943db74fc7 merge new qcloud sdk
1. qcloud has a great revolution, the protocol has been changed to implement data template, so the old TencentCloud_SDK developed by us will not work fine now(mqtt still works, but data template will not works fine for recently created product/devices).

2. I merge the official qlcoud sdk(include both the iot-hub and iot-explorer sdk) into the componet/conectivity to support new protocol of data template

3. iot-hub sdk, supply the fundamental iot protocol(like mqtt coap, etc.)
iot-explorer sdk, supply the high level service like data template based on mqtt

4. To know how it works, see qcloud_iot_explorer_sdk_data_template、qcloud_iot_hub_sdk_mqtt example(keil project in board\TencentOS_tiny_EVB_MX_Plus\KEIL\qcloud_iot_explorer_sdk_data_template and  board\TencentOS_tiny_EVB_MX_Plus\KEIL\qcloud_iot_hub_sdk_mqtt)
2019-11-14 15:09:00 +08:00