Commit Graph

465 Commits

Author SHA1 Message Date
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
David Lin
aca963ea8c Fixed a bug when initalize array
memset(decrypted_text,  0,  sizeof(encrypted_text)); 
->
memset(decrypted_text,  0,  sizeof(decrypted_text));
2020-02-29 20:50:32 +08:00
Arthur
01cf148965 Merge pull request #106 from DavidLin1577/patch-1
Improve readability of codes in sensor_demo
2020-02-29 12:08:07 +08:00
Arthur
e7ef266c31 Merge pull request #107 from DavidLin1577/patch-2
Added output information flag  in nimble_mesh
2020-02-29 12:07:26 +08:00
David Lin
fbff8b8cc8 Added output information flag in nimble_mesh
The function gen_delta_set() and gen_delta_set_unack(), 
so add flag 'UNACK' to distinguish:
DELTA-SET        DELTA-SET
                    ->
DELTA-SET        DELTA-SET-UNACK
2020-02-28 22:03:00 +08:00
David Lin
ced87ee22b Improve readability of codes in sensor_demo
1.Adjust the indentation of codes in sesor_demo.c
2020-02-28 20:57:15 +08:00
David Lin
8ad4dacd14 Fixed note error in sensor_demo.h
__APP_DEMO_H__  -> __SENSOR_DEMO_H__
2020-02-28 20:52:08 +08:00
Arthur
98b3a564e6 Merge pull request #105 from DavidLin1577/patch-1
Fixed typo 'context-swith' in tos_evtdrv_sys.h
2020-02-28 10:13:51 +08:00
David Lin
015a5473fe Fixed typo 'context-swith' in tos_evtdrv_sys.h
'context-switch' is right, so we should re-code:
none-context-swith-based -> none-context-switch-based
2020-02-28 08:31:57 +08:00
Arthur
f38a7b3f62 Merge pull request #104 from DavidLin1577/patch-1
Fixed typo 'swich' in port_s.S
2020-02-28 00:13:14 +08:00
daishengdong
40f55ec57b support posix
1. posix pthread.h: pthread, pthread_barrier, pthread_cond, pthread_mutex, , pthread_rwlock, pthread_spin, etc
2. posix semaphore.h: sem_*
3. posix mqueue.h: mq_*
4. posix time.h: timer_*
5. to support posix, add tos_barrier, tos_bitmap, tos_rwlock, tos_stopwatch, change name of k_task_t from a char * pointer to a char array.
6. sample, see examples\posix
7. project, see board\TencentOS_tiny_EVB_MX_Plus\KEIL\posix
2020-02-28 00:11:28 +08:00
David Lin
0d82ee9a62 Fixed typo 'swich' in cortex-m7/iccarm/port_s.S
typo error: swich -> switch
2020-02-26 23:40:35 +08:00
David Lin
33dafb4de7 Fixed typo 'swich' in cortex-m7/iccarm/port_s.S 2020-02-26 23:38:48 +08:00
David Lin
00d72563a3 Fixed typo 'swich' in cortex-m4/iccarm/port_s.S
typo error: swich -> switch
2020-02-26 23:17:05 +08:00
David Lin
f0eaa1a648 Fixed typo 'swich' in cortex-m7/gcc/port_s.S
typo error: swich -> switch
2020-02-26 23:15:41 +08:00
David Lin
7e30b82f1f Fixed typo 'swich' in cortex-m7/armcc/port_s.S
typo error: swich -> switch
2020-02-26 23:10:33 +08:00
David Lin
be03f08d34 Fixed typo 'swich' in cortex-m4/iccarm/port_s.S
typo error: swich -> switch
2020-02-26 23:07:31 +08:00
David Lin
4cccee0f3f Fixed typo 'swich' in cortex-m4/gcc/port_s.S
typo error: swich -> switch
2020-02-26 23:05:33 +08:00
David Lin
b1a27ffe92 Fixed typo 'swich' in cortex-m4/armcc/port_s.S
typo error: swich -> switch
2020-02-26 23:02:01 +08:00
Supowang1989
7bfc998494 Update 08.QCloud_IoTHub_Quick_Start.md 2020-02-26 21:10:25 +08:00
Supowang1989
f5baab90f0 Update 08.QCloud_IoTHub_Quick_Start.md 2020-02-26 21:09:01 +08:00
Supowang1989
c4ab8723d2 update IotHub guide doc
update IotHub guide doc
2020-02-26 21:04:31 +08:00
Arthur
9156c6b8c9 Merge pull request #103 from DavidLin1577/patch-1
Improve readability of codes in farm ai demo
2020-02-25 11:02:14 +08:00
Supowang1989
c6f45a4c2e update modbus project
update modbus project
2020-02-25 10:07:00 +08:00
David Lin
ddb8268cb7 Improve readability of codes in farm ai demo
Adjust the indentation of codes.
2020-02-24 21:46:01 +08:00
Supowang1989
ef82dbfc6d add modbus slave support
add modbus slave support
2020-02-24 21:40:06 +08:00
David Lin
a86a9c18f8 Improve readability of codes in farm ai demo
__APP_DEMO_H__ ->__MQTT_DEMO_H__
2020-02-24 21:24:27 +08:00
David Lin
893d2862cb Improve readability of codes in farm ai demo
__APP_DEMO_H__ ->__MQTT_DEMO_H__
2020-02-24 21:23:22 +08:00
David Lin
dc5fd9a929 Improve readability of codes in farm ai demo
Adjust the indentation of codes.
2020-02-24 21:15:11 +08:00
Supowang1989
79be128f5f update mqttclient doc
update mqttclient doc
2020-02-24 16:01:05 +08:00
royye62
03230be179 mini program: quick start doc add image 2020-02-23 19:46:11 +08:00
royye62
8ef2592aae mini program: update doc 2020-02-23 19:34:58 +08:00
Arthur
7c109831f9 Merge pull request #102 from DavidLin1577/patch-16
Improve readability of code
2020-02-22 16:46:23 +08:00
Arthur
6cec17fc94 Merge pull request #100 from jiejieTop/master
add mqttclient to the component, and add fire stm32f429 board demo.
2020-02-22 16:46:00 +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
caijie0513
324a1c0620 use mbedtls version in tos... 2020-02-21 18:30:23 +08:00
David Lin
4ecbff0845 Improve readability of code
more readable.
2020-02-21 13:13:29 +08:00
David Lin
f1b698bfe7 Improve readability of code
more readability
2020-02-21 13:09:13 +08:00
jiejieTop
8f76e16646 add mqttclient to the component, and add fire stm32f429 board demo. 2020-02-20 00:12:30 +08:00
Arthur
6731d4692d Merge pull request #99 from DavidLin1577/patch-16
Fixed enum error in light_data_template_sample.c
2020-02-18 10:40:16 +08:00
daishengdong
0d6f72a351 fix a bug of header file dependency error
1. in tos_k.h, port_config.h should go ahead of tos_cpu_types.h
2020-02-18 10:38:02 +08:00
David Lin
72042fc89c Fixed enum error in light_data_template_sample.c
LIGHT_SWTICH_STATE_OFF -> LIGHT_SWITCH_STATE_OFF 
LIGHT_SWTICH_STATE_ON  -> LIGHT_SWITCH_STATE_ON  
(when pr, the github note:  We’ve detected the file encoding as GB18030. When you commit changes we will transcode it to UTF-8,
so some other changes cause by github, not me.)
2020-02-17 19:53:41 +08:00
daishengdong
5868b6bdb6 fix an error of qcloud sdk demo in quick start
1. use TencentOS-tiny\board\TencentOS_tiny_EVB_MX_plus\KEIL\qcloud_iot_explorer_sdk_data_template   instead of TencentOS-tiny\board\TencentOS_tiny_EVB_MX\KEIL\ tencent_cloud_sdk_data_template
2020-02-16 20:52:57 +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
Arthur
53d1feb64b Merge pull request #98 from DavidLin1577/patch-13
Fixed typo: 'lenght' in qclould-iot-hub-sdk
2020-02-16 20:15:03 +08:00
Arthur
005b0be8a4 Merge pull request #96 from DavidLin1577/patch-11
Minor optimisation to the step  f_sync and f_close
2020-02-16 19:48:49 +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