155 Commits

Author SHA1 Message Date
lyon
256319e035 update port linux std
fix baseDev.addEventCallBack

use setCallBack in std

update std

support flow control for uart

add flowcontrol API for std.uart
2022-12-23 18:43:08 +08:00
dreamcmi
29401169c9 iotcloud adapts to the new upstream api 2022-12-23 15:50:29 +08:00
dreamcmi
3c61a38e6d Merge branch 'master' into add/iotcloud 2022-12-23 15:14:28 +08:00
dreamcmi
0235802497 Merge branch 'mqttdev' into add/iotcloud 2022-12-23 15:08:01 +08:00
dreamcmi
8a1c8f0c87 optimize parameter properties and default values of mqtt 2022-12-18 22:25:27 +08:00
FlintJ
47f502928b Optimize the callback function of subscribe function 2022-12-18 21:47:23 +08:00
lyon
cd062ff909 fix subscribetopic typo and fix mem leak 2022-12-18 18:48:16 +08:00
dreamcmi
a8bd50cfae hmac compatible cpython input parameters 2022-12-18 15:40:37 +08:00
FlintJ
16da150d57 The subscribed callback function reports the Qos value 2022-12-18 11:52:20 +08:00
FlintJ
3c69d1d5d4 1.Transfer data to subscribed callback function;2.optimize printouts;3.Optimize function interfaces according to documentation 2022-12-18 00:41:57 +08:00
dreamcmi
d6b62528d5 fix tencent generate 2022-12-17 19:12:09 +08:00
dreamcmi
eddcaff074 fix function and add tencent iot hub 2022-12-16 23:57:27 +08:00
dreamcmi
d29057097c add iotcloud aliyun 2022-12-16 22:27:19 +08:00
dreamcmi
55502bf27d Merge branch 'mqttdev' into add/iotcloud 2022-12-16 22:16:18 +08:00
dreamcmi
b520bc84cd fix hmac 2022-12-16 21:36:35 +08:00
lyon
dc725a06b4 Merge branch 'master' into mqttdev 2022-12-15 16:18:52 +08:00
dreamcmi
318021c05d add base64 lib 2022-12-14 14:33:52 +08:00
FlintJ
d2e697549c improve the callback function set in the subscribe function And add mqtt will function 2022-12-11 21:42:55 +08:00
FlintJ
41fab8447e fixed an error with the subscribe function 2022-12-11 20:09:29 +08:00
FlintJ
23b53fe4e0 improvements were made to subscribe function but still have a bit problem 2022-12-11 19:08:16 +08:00
FlintJ
d2a26404a9 add test_mqtt pyscript and improve the publish function with QOS parameter 2022-12-11 14:54:56 +08:00
lyon
d78aec86dd fix mem leak caused by kw pars refcnt err 2022-12-10 17:10:15 +08:00
lyon
853d5be3b5 fix leak when load kw dict to default 2022-12-10 16:30:43 +08:00
lyon
0f51072065 Merge branch 'master' into request-support 2022-12-10 15:28:34 +08:00
onceday
0aaf68a189 finish post test 2022-12-10 22:57:07 +08:00
dreamcmi
fa157f549c add aes 2022-11-25 01:30:41 +08:00
onceday
5b0d7ae950 basic functions 2022-11-24 23:28:37 +08:00
onceday
3d773b5709 cycle never stop 2022-11-23 23:58:14 +08:00
lyon
8d6c0db8bc support single callback from subscrib 2022-11-23 21:16:20 +08:00
FlintJ
e95db78cc3 add publish function 2022-11-23 10:14:48 +08:00
FlintJ
753b7f1569 add setWill and unsubscribe function 2022-11-23 09:28:31 +08:00
FlintJ
f9846a79af git pull origin mqttdev And have some error 2022-11-22 22:46:03 +08:00
FlintJ
64faaa45db add c function for subscribe call back and print receive messages 2022-11-22 22:08:58 +08:00
pikastech
277610b413 update used file 2022-11-22 22:08:18 +08:00
pikastech
5a16752b08 Merge branch 'master' into mqttdev 2022-11-22 21:25:56 +08:00
lyon
5bb24375ae add python layer for requests to connnect url 2022-11-22 13:44:00 +08:00
FlintJ
3381b3c144 add mqtt functions, but disconnect and subscribe have some question 2022-11-20 19:01:05 +08:00
lyon
0f070e7a12 use test.mosquitto.org as mqtt test server 2022-11-20 11:56:52 +08:00
FlintJ
f74e2bad48 add mqtt connect/disconnect 2022-11-19 23:41:00 +08:00
lyon
db381cb9f5 fix mqtt_init.py for test, fix _del_ mem lack. 2022-11-18 23:38:49 +08:00
FlintJ
6eb1016416 add mqtt function 2022-11-18 21:20:52 +08:00
lyon
1ab4088ed7 add test for mqtt_init.py 2022-11-13 15:16:08 +08:00
lyon
bcf4c637a7 add test for REPL run file 2022-10-25 19:49:45 +08:00
lyon
1964761ef8 add stdtask.py 2022-10-25 13:47:15 +08:00
lyon
d0df040067 support unittest for REPL, check overflow for REPL 2022-10-25 11:52:42 +08:00
pikastech
45c3edcfa1 add test for UnitTest.py
add volatile for precompiler

update prec
2022-10-08 19:23:32 +08:00
pikastech
4d3bcac816 release v1.11.3 2022-10-04 17:53:59 +08:00
pikastech
b21fd029ed optimize str slice, time speed recuse 95% 2022-09-29 20:41:57 +08:00
pikastech
fd4fb54dc7 fix ref err in function local context
update date
2022-09-28 10:57:19 +08:00
pikastech
efd9abbf17 add mem check
add big_dict_update test
2022-09-27 21:30:30 +08:00