Commit Graph

92 Commits

Author SHA1 Message Date
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
daishengdong
7e11e4f009 fix apollo stm32f767 keil compile 2019-10-28 16:07:56 +08:00
daishengdong
d0b8d0675e add ring queue/message queue/mail queue, binary heap/priority queue/priority message queue/priority mail queue
1. remove the old msg queue and queue:
i. msg queue is not a common and reusable/flexible component(need user to config the msg pool size and this componet can only be used by tos_queue)
ii. tos_queue can only deliver the pointer message(cannot do a memory buffer deliver)

2. add ring queue(tos_ring_q) componet
rinq queue can be reused by tos_chr_fifi/tos_msg_q/tos_mail_q as the foundational data container

3. add message queue(tos_msg_q)
a little like the old queue mechanism, supply the capability to deliver a pointer message

4. add mail queue(tos_mail_q)
supply the capability to deliver a memory buffer

5. add binary heap(tos_bin_heap)
the basement componet to implement priority queue

6. add priority queue(tos_prio_q)
can be reused by the priority message/mail queue  as the foundational data container.

7. add priority message queue(tos_prio_msg_q)
a message(pointer) deliver mechanism, supply the capability of delivering the message with priority(message with higher priority comes faster to the pender than with lower)

8. add priority mail queue(tos_prio_mail_q)
a mail(memory buffer) deliver mechanism, supply the capability of delivering the mail with priority(mail with higher priority comes faster to the pender than with lower)
2019-10-28 15:50:46 +08:00
supowang
d6fef329f5 update lvgl demo 2019-10-12 16:54:39 +08:00
supowang
3260ba3161 add LittlevGL demo
add LittlevGL demo on stm32f746 discovery board
2019-10-12 14:57:31 +08:00
SheldonDai
aad1564e09 finish nimble blehr porting and do some kernel improve 2019-10-09 12:15:59 +08:00
supowang
414dccf119 add stm32L053r8 support
add stm32L053r8 support
2019-09-30 11:37:22 +08:00
supowang
446b341232 fix scrambling 2019-09-29 15:38:17 +08:00
SheldonDai
b34ce35f5e fix comment 2019-09-27 16:09:19 +08:00
SheldonDai
9727512631 add event-driven framework
see examples/event_driven_at_module and examples/event_driven_hello_world, demo project: TencentOS-tiny\board\TencentOS_tiny_EVB_MX\KEIL\event_driven_hello_world
2019-09-24 17:21:58 +08:00
supowang
58314cf373 fix doc
fix doc
2019-09-17 19:58:33 +08:00
supowang
65ce348b0e delete some project files
fix some project and delete some files
2019-09-17 17:32:51 +08:00
supowang
edb2879617 first commit for opensource
first commit for opensource
2019-09-16 13:19:50 +08:00