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
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
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
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
Arthur
7c109831f9
Merge pull request #102 from DavidLin1577/patch-16
...
Improve readability of code
2020-02-22 16:46: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
David Lin
32a8a39943
Minor optimisation to the step f_sync and f_close
...
Moved the code 'f_sync(&file);' ahead of 'f_close(&file);'.
2020-02-16 11:08:32 +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
Arthur
6eb2d9fc12
Merge pull request #92 from DavidLin1577/patch-8
...
Fixed wrong output info in udp_through_module
2020-02-15 20:46:06 +08:00
Arthur
1c5ced4fd3
Merge pull request #91 from DavidLin1577/patch-7
...
Minor optimisation to the tcp_server code
2020-02-15 20:45:45 +08:00
Arthur
c97c01ab86
Merge pull request #90 from DavidLin1577/patch-6
...
Minor optimisation to the tcp_client code
2020-02-15 20:45:22 +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
David Lin
5a49fa8f93
fixed wrong output info in udp_through_module
...
Note that this is an udp module,
so the output information which contained 'TCP' should be replaced with 'UDP'.
2020-02-14 22:49:17 +08:00
David Lin
25ad91e04f
Minor optimisation to the tcp_server code
...
This is minor optimisation to the tcp_server code:
Note that two lines, one is 'recv(%d) msg from client', the other is 'send mes error',
the second 'mes' should be 'msg', for short. The code is more readable.
2020-02-14 22:23:26 +08:00
David Lin
a36cec2ff1
Minor optimisation to the tcp_client code
...
This is minor optimisation to the tcp_client code:
Note that two lines, one is 'send mes error', the other is 'recv msg from server',
the first 'mes' should be 'msg', for short. The code is more readable.
2020-02-14 22:14:48 +08:00
royye62
b237852902
update mini program doc
2020-02-11 22:12:02 +08:00
daishengdong
e4bbdbf9ab
support dynamic task create in cmsis
...
1. enable TOS_CFG_TASK_DYNAMIC_CREATE_EN
2. use osThreadDynamicDef to define a dynamic created cmsis task
3. use osThreadCreate/osThreadTerminate to create/destroy this cmsis task
4. see sample hello_world
2020-02-11 11:10:48 +08:00
daishengdong
25caf36aa3
Update tencent_firmware_mqtt.c
2020-02-10 13:50:04 +08:00
supowang
88bfbe999a
fix MX and MXplus lora demo
...
fix MX and MXplus lora demo
2020-01-10 15:50:58 +08:00
acevest
a6cd872df1
fix usart irq handler not in safe area
2020-01-09 23:04:28 +08:00
acevest
bce32faac2
fix bumblebee irq entry aligment, fix eclic
2020-01-09 20:18:18 +08:00
acevest
5920066f21
add esp8266 example
2020-01-08 20:05:24 +08:00
daishengdong
72481955e2
a very simple shell framework
...
simple, clear, easy to DIY
2020-01-08 13:54:56 +08:00
daishengdong
c9556307df
add tos_slist.h, rename tos.h to tos_k.h
2020-01-03 17:25:38 +08:00
twowinter
7274ce67d6
LoRa Demo 的上报周期单位调整为秒
2020-01-03 13:15:54 +08:00
daishengdong
a82569d9f3
add Tencent Cloud explorer lora demo
...
develop guide, see http://iwiki.oa.com/pages/viewpage.action?pageId=46342556
2020-01-02 18:57:31 +08:00
Supowang1989
bac26a2964
Merge pull request #67 from royye62/master
...
add sensor_e53_ia1_e2e_demo
2019-12-21 13:38:54 +08:00
royye
5c4a1abbe2
update example sensor_e53_ia1_e2e_demo
2019-12-20 11:22:14 +08:00
royye
c9cb7ba16d
add end-to-end example sensor_e53_ia1_e2e_demo
2019-12-20 11:09:49 +08:00
daishengdong
febcf10911
add kv fs component
...
1. a true wear-leveling kv fs for norflash, especially optimize for some onchip norflash with "write once on one single write unit" like stm32l4, a true "no earse before write" flash algorithm.
2. an "as less as possible" gc strategy, do best to save norflash's life.
3. full "power down protection" support
4. see "examples" of kv, project in "TencentOS_tiny_EVB_MX_Plus", with onchip flash and qspiflash sample.
2019-12-19 16:08:42 +08:00
royye
539dc6a152
add end-to-end example sensor_e53_ia1_e2e_demo
2019-12-17 19:53:58 +08:00
daishengdong
b2983383bb
add nimble mesh example
...
need meshctl installed on raspberrypi. nimble offical samples have a lot of pit ...
2019-11-28 11:12:16 +08:00
daishengdong
76990b496b
Merge branch 'master' of https://github.com/Tencent/TencentOS-tiny
2019-11-15 15:37:13 +08:00
daishengdong
bae04c6774
add nimble uart
...
download "nimble connect" on your phone, connect to "Nimble Uart", send byte array or uint8 to the board through the app
2019-11-15 15:37:06 +08:00
supowang
7918a5712f
Update nb-iot_example.c
2019-11-15 12:04:00 +08:00
supowang
1fd250764d
add nb-iot demo for huawei ocean_connect
...
add nb-iot demo for huawei ocean_connect
2019-11-15 11:46:59 +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
daishengdong
0700d27b70
add more nimble example
...
1. make heart rate sensor example really work
using nRF Toolbox HRM
2. add master device scan example
3. add gatt server example(seems not working)
2019-11-12 19:56:52 +08:00
dcxajichu
8c24d921b0
support aliyun sdk on TencentOS tiny
...
sample: examples\aliyun_iotkit_csdk_mqtt
project: board\TencentOS_tiny_EVB_MX_Plus\KEIL\aliyun_iotkit_csdk_mqtt
2019-10-31 16:36:28 +08:00