45 Commits

Author SHA1 Message Date
lyon
d7fedffdc5 renmae platform_timer to thread_timer 2023-01-31 23:38:55 +08:00
lyon
186a6533e0 fix typo 2022-12-29 18:35:50 +08:00
lyon
fd2f0d5b49 move timer platform to kernal 2022-12-29 18:31:27 +08:00
lyon
03dea26569 move mutex platform to kernal 2022-12-29 18:22:20 +08:00
lyon
71310ac4a9 move platform_thread to kernal 2022-12-29 17:40:19 +08:00
lyon
f65697a423 update mqtt pkg 2022-12-27 23:25:03 +08:00
lyon
8a1add4a0a update mqtt pkg 2022-12-27 22:53:40 +08:00
FlintJ
329efb5ced Mask C function printf and 2022-12-27 17:01:56 +08:00
FlintJ
a729147989 fixed the setVersion function and implement the disconnect callback function 2022-12-27 15:53:20 +08:00
dreamcmi
8a1c8f0c87 optimize parameter properties and default values of mqtt 2022-12-18 22:25:27 +08:00
FlintJ
ea41ee1292 merge base modifications 2022-12-18 22:13:11 +08:00
lyon
0a3d627a04 update 2022-12-18 22:02:55 +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
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
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
604e420e06 auto deinit event listener when del mqtt module 2022-11-23 21:39:59 +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
FlintJ
3381b3c144 add mqtt functions, but disconnect and subscribe have some question 2022-11-20 19:01:05 +08:00
lyon
1c55ca0223 fix mem break when mqtt_thread not exit 2022-11-20 00:17:34 +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
c6bb6ba61b add mqtt_release_free api 2022-11-13 14:57:40 +08:00
lyon
5adc75c088 test mqtt-lease-free 2022-11-13 14:52:39 +08:00
lyon
a030e919b4 fix include 2022-11-13 13:48:33 +08:00
lyon
e70e4f1f45 fix compile err on esp32 2022-11-13 13:41:05 +08:00
lyon
b980fd4710 update mqtt 2022-11-12 23:28:55 +08:00
lyon
244d196ef3 add mqtt.py and _mqtt.pyi 2022-11-12 22:21:23 +08:00
pikastech
3da2e18fcf compile pass on esp32 2022-11-12 16:52:22 +08:00
pikastech
ebe10bc5f4 insert freertos and lwip platform for network 2022-11-12 15:39:42 +08:00
pikastech
a67a71f944 support linux/freertos/weak for mqtt platform 2022-11-12 15:20:51 +08:00
pikastech
6844b686b3 arrange thread and time delay 2022-11-12 14:02:43 +08:00
pikastech
a762713359 use PikaPlatform_socket.c to hold socket depend 2022-11-12 13:55:15 +08:00
lyon
8c96721a55 compile mqtt module passed on linux
mqttclient compile pass, log and ssl config off
2022-11-12 00:36:28 +08:00