179 Commits

Author SHA1 Message Date
lyon
02d6151cac support json.dumps() 2023-01-21 17:17:28 +08:00
lyon
623547cf99 support json.loads() 2023-01-21 15:48:53 +08:00
lyon
f65697a423 update mqtt pkg 2022-12-27 23:25:03 +08:00
lyon
720f35c8b4 fix test 2022-12-27 22:55:37 +08:00
lyon
8a1add4a0a update mqtt pkg 2022-12-27 22:53:40 +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
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
李昂
8c9dcfb618
add examples/Device/UART_CALLBACK.py.
Signed-off-by: 李昂 <liang6516@outlook.com>
2022-12-23 12:20:36 +00:00
李昂
6c1d9ebc81
update examples/Device/GPIO_CALLBCK.py.
Signed-off-by: 李昂 <liang6516@outlook.com>
2022-12-23 11:21:21 +00:00
李昂
537958d1c4
add examples/Device/GPIO_CALLBCK.py.
Signed-off-by: 李昂 <liang6516@outlook.com>
2022-12-22 13:18:13 +00: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
2491fa71b2 fix hmac method 2022-12-16 21:38:49 +08:00
codercmd
ff4075479d
add examples/Device/KEY_POLL.PY.
Signed-off-by: codercmd <codercmd@qq.com>
2022-12-16 10:15:34 +00: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
lyon
c67a894fc2 update requests to package 2022-12-11 19:08:52 +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
0f51072065 Merge branch 'master' into request-support 2022-12-10 15:28:34 +08:00
dreamcmi
fa157f549c add aes 2022-11-25 01:30:41 +08:00
lyon
3b8887b45f fix never stop, webclient base test need fix 2022-11-24 00:28:04 +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
lyon
1ab4088ed7 add test for mqtt_init.py 2022-11-13 15:16:08 +08:00
lyon
9294c45feb support sendSignalAwaitResult 2022-11-05 13:20:23 +08:00
李昂
2178fd1586 add #!pika for lvgl example 2022-10-21 23:00:01 +08:00
pikastech
729ce8a497 add test for WriteRegister 2022-09-19 14:38:12 +08:00
pikastech
600950381e modebus rtu_master test ok 2022-09-19 13:27:20 +08:00
pikastech
7ae95663f6 support multy assign, use $l[x] instead of _l[x] 2022-09-09 10:16:15 +08:00
pikastech
e85639a1e9 fix valgrind in check CLS
add pikann
2022-09-08 22:33:23 +08:00
pikastech
d5ab75af41 fix some wars, fix mem leak, add unit test 2022-09-05 22:30:28 +08:00