Commit Graph

175 Commits

Author SHA1 Message Date
daishengdong
2e8c8c19e6 fix some calloc bug
1. some calloc fix
2. fix some document error
3. refactor kv API, to be compatible with ota API
2020-04-24 11:58:42 +08:00
David Lin
08272201c7 Update qcloud.h 2020-04-18 20:35:10 +08:00
David Lin
b8d1539df9 Update mqtt_wrapper.h
para -> opt
2020-04-18 20:27:25 +08:00
David Lin
e807d7bd11 Update fatfs_drv.h
_TOS_FATFS_DRV_H_ -> _FATFS_DRV_H_
2020-04-17 18:20:35 +08:00
David Lin
febf1613c1 Update tos_ffconf.h 2020-04-17 18:11:29 +08:00
daishengdong
5c21ce702f add IAP sample project, mini program manual
see:
doc/20.In_Application_Programming_based_EVB_MX_Plus.md
2020-04-15 18:11:13 +08:00
David Lin
7c0af9e2d4 Update HAL_Device_tencentos_tiny.c
HAL_GetDevInfo  ->  HAL_GetGwDevInfo
2020-04-13 11:25:33 +08:00
Arthur
88bfcdd333 Merge pull request #124 from DavidLin1577/patch-2
Update HAL_Device_tencentos_tiny.c
2020-03-23 10:25:16 +08:00
jiejieTop
787046eddb update mqttclient README.md 2020-03-22 12:46:06 +08:00
jiejieTop
10bbb3db8d mqttclient supports at framework and add gokit3 board demo... 2020-03-22 12:24:29 +08:00
jiejieTop
476e0dec02 the push is modified as follows:
1. delete some junk files.
2. mqttclient added comments and updated to v1.0.2.
3. update README.md.
4. update the author's own server certificate.
5. minor changes to salof.
2020-03-21 21:53:10 +08:00
David Lin
474c37d147 Update HAL_Device_tencentos_tiny.c
Fixed hidden bug may cause stackover flow
2020-03-20 21:32:33 +08:00
supowang
c0cb4460b7 add modbus demo for MX+
add modbus demo for MX+
2020-03-20 18:39:49 +08:00
David Lin
8d273fc02b Update string_utils.c 2020-03-17 21:18:34 +08:00
David Lin
e8b6f7042d Update json_token.c 2020-03-17 21:16:54 +08:00
David Lin
ccec7a25b6 Update json_token.c 2020-03-17 21:10:01 +08:00
David Lin
e28acb8a2a Update string_utils.c 2020-03-17 21:06:04 +08:00
David Lin
9e146a68f6 Fixed stackover flow bug in qcloud_string_utils.c
Add if ‘NULL’:

            if (NULL == tmp) {
                return NULL;
            }
2020-03-15 21:53:39 +08:00
David Lin
cc88371d7d Fixed stackover flow bug in qcloud_json_token.c
Add if ‘NULL’:
            if (NULL == entry) {
                return NULL;
            }
2020-03-15 21:47:54 +08:00
daishengdong
441f57c837 fix "redefinition of typedef 'k_task_t'"
1. remove re-typedef of k_task_st to k_task_t in tos_task.h
2. add "typedef struct k_task_st k_task_t" to tos_ktypes.h
2020-03-12 11:04:17 +08:00
David Lin
39d2d32ceb Fixed wrong parameter in debug information 2020-03-07 09:08:42 +08:00
David Lin
a52cea4354 Fixed wrong parameters in debug output 2020-03-07 09:05:15 +08:00
David Lin
90c9cf9cbb Added missing parameter 2020-03-07 09:00:14 +08:00
David Lin
738b11f44b Update README.md 2020-03-06 10:29:46 +08:00
David Lin
2c9f8b2ff8 Update README.md 2020-03-06 09:05:03 +08:00
David Lin
3d95ace7fe Minor optimization to improve readability of code
mqtt_msg_handler_destory -> mqtt_msg_handler_destroy
2020-03-06 09:01:07 +08:00
Arthur
4dbfff0457 Merge pull request #109 from DavidLin1577/patch-2
Fixed the return errors of tencentCloud_SDK
2020-03-02 17:34:37 +08:00
Arthur
1c131b9f26 Merge pull request #110 from DavidLin1577/patch-3
Fixed the wrong return value in HAL_UDP_module.c
2020-03-02 17:34:03 +08:00
David Lin
b859935397 Fixed wrong output information 2020-03-02 08:47:07 +08:00
David Lin
06b7aea567 Fixed wrong output information 2020-03-02 08:44:29 +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
f751379338 Fixed notes errors 2020-02-29 22:24:17 +08:00
David Lin
88d5934e1c 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:13:23 +08:00
David Lin
6d626a7adc Fixed the wrong return value in osal_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 21:48:26 +08:00
David Lin
97d271f62a Fixed the wrong return value in osal_udp_socket.c
QCLOUD_ERR_TCP_READ_FAIL -> QCLOUD_ERR_UDP_READ_FAIL
2020-02-29 21:37:07 +08:00
Supowang1989
c6f45a4c2e update modbus project
update modbus project
2020-02-25 10:07:00 +08:00
Supowang1989
ef82dbfc6d add modbus slave support
add modbus slave support
2020-02-24 21:40:06 +08:00
Supowang1989
79be128f5f update mqttclient doc
update mqttclient doc
2020-02-24 16:01:05 +08:00
caijie0513
8170a49366 del some file and fix uncontrollable log level when salof is not used... 2020-02-21 21:21:31 +08:00
caijie0513
f662bdc680 mqttclient uses mbedtls for tos, and updates the example... 2020-02-21 21:03:06 +08:00
jiejieTop
8f76e16646 add mqttclient to the component, and add fire stm32f429 board demo. 2020-02-20 00:12:30 +08:00
Arthur
dc2a4c4857 Merge pull request #95 from DavidLin1577/patch-10
Fixed wrong timer in radio
2020-02-16 20:16:19 +08:00
Arthur
7350af78ba Merge pull request #97 from DavidLin1577/patch-12
Fixed typo: 'lenght' in qclould-iot-explorer-sdk
2020-02-16 20:15:22 +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
David Lin
a6c4f0e991 Fixed typo: 'lenght'
Note that the word 'lenght' is wrong,
so that 'lenght' should been replaced with 'length'.
2020-02-16 17:37:20 +08:00
David Lin
b63f03632d Fixed wrong timer in radio
Note that this is a tx function named RadioSetTxContinuousWave, 
so the timer 'RxTimeoutTimer' should been replaced with 'TxTimeoutTimer'.
2020-02-16 10:07:11 +08:00
daishengdong
3ddeb9c5cd support task self delete for STM8, add a sample of shell for STM8
1. sample project, see TencentOS-tiny\board\STM8L052R8T6\IAR\shell
2. ATTENTION: read TencentOS-tiny\board\STM8L052R8T6\IAR\shell\README.md first
2020-02-15 23:22:38 +08:00
daishengdong
405e5d970a support stm8
1. see: TencentOS-tiny\board\STM8L052R8T6\IAR\hello_world
2. compile/debug/run with IAR for STM8
2020-02-15 16:39:00 +08:00
Arthur
0825859a0c Merge pull request #86 from DavidLin1577/patch-4
优化HAL_UDP_Connect函数
2020-02-06 14:12:32 +08:00
blackwhite084
87298ea3e3 Update data_template_event.c
修复提交单事件时拼接的json多出一个“{”符号
2020-01-27 14:43:28 +08:00