184 Commits

Author SHA1 Message Date
lyon
79df1cf1cc move PikaStdDevice.Time to time 2023-01-09 20:35:22 +08:00
lyon
cfcf88d6bd fix * / compose 2023-01-06 15:36:39 +08:00
lyon
36329c9991 fix github action 2022-12-29 20:51:17 +08:00
lyon
58e1cc8503 fix GITHUB CI 2022-12-29 20:49:45 +08:00
lyon
f92331022c use pika_platform new api and add old api adapter 2022-12-29 18:06:22 +08:00
lyon
e39b01651e fix memlack when task queue overflow 2022-12-28 23:39:18 +08:00
lyon
e62072fe0b add close() for std 2022-12-28 06:41:36 +08:00
lyon
3afb460bf4 fix mem leak when mqtt subscribe, use fake data 2022-12-27 23:24:15 +08:00
lyon
720f35c8b4 fix test 2022-12-27 22:55:37 +08:00
lyon
7d476ff971 support evt.topic, evt.qos, evt.msg for mqtt cb 2022-12-27 22:53:13 +08:00
lyon
ed04dc2657 support send any Arg to event 2022-12-27 22:45:34 +08:00
lyon
cf3311b130 Merge branch 'mqttdev' 2022-12-27 18:18:32 +08:00
FlintJ
52f21cbc3c Merge branch 'mqttdev' of https://gitee.com/lyon1998/pikascript into mqttdev 2022-12-27 17:02:45 +08:00
FlintJ
329efb5ced Mask C function printf and 2022-12-27 17:01:56 +08:00
lyon
af4469ebf3 fix mqtt-test for github action 2022-12-27 16:08:57 +08:00
lyon
83680dce51 Merge branch 'master' into mqttdev 2022-12-27 16:04:29 +08:00
FlintJ
a729147989 fixed the setVersion function and implement the disconnect callback function 2022-12-27 15:53:20 +08:00
lyon
56703bf803 add pika_libc 2022-12-24 15:41:54 +08:00
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
lyon
55508d7e84 support del(x) 2022-12-23 18:11:49 +08:00
lyon
d0c62dc249 fix lvgl typo, cancel requests post test 2022-12-23 18:03:41 +08:00
lyon
e524c2b6ad fix fn_pos_kw_issus2 2022-12-21 13:08:42 +08:00
lyon
1ceb015391 fix load err when fn(pos, kw=xxx) 2022-12-21 00:26:01 +08:00
lyon
3afd92608a fix typo of getArgByIndex 2022-12-21 00:13:19 +08:00
dreamcmi
8a1c8f0c87 optimize parameter properties and default values of mqtt 2022-12-18 22:25:27 +08:00
FlintJ
6a887c0718 merging some 2022-12-18 21:53:31 +08:00
FlintJ
47f502928b Optimize the callback function of subscribe function 2022-12-18 21:47:23 +08:00
lyon
140e8e19c8 save cb to a new object 2022-12-18 19:22:43 +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
lyon
765d32483f add __platform_panic_hanlde 2022-12-17 16:02:59 +08:00
lyon
f6b97e1f7a add test for def not in 2022-12-17 15:47:08 +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
lyon
251c450248 support x not in y syntax 2022-12-15 01:07:27 +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
lyon
f4b6b1ed57 fix Escape for '\\n' '\\r' '\\t' 2022-12-07 19:57:07 +08:00
onceday
a206227993 change ninja params 2022-12-04 00:37:45 +08:00
lyon
82b6f2ab39 add multi file when pre-compile test ok 2022-12-01 18:11:58 +08:00
lyon
677472b260 fix --add-file loss some bytes 2022-12-01 17:50:27 +08:00