687 Commits

Author SHA1 Message Date
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
lyon
e89c585f46 update kernal, fix CI 2022-11-22 18:01:54 +08:00
lyon
5bb24375ae add python layer for requests to connnect url 2022-11-22 13:44:00 +08:00
lyon
4c69dd29cc use 2M default spi speed 2022-11-21 22:23:40 +08:00
lyon
f695d8c0c4 typo 2022-11-21 22:12:28 +08:00
lyon
001483467c update package 2022-11-21 22:11:34 +08:00
lyon
89e00e2043 rm _MAX enum
support default config and merge unused config
2022-11-21 22:09:22 +08:00
lyon
7e3c43dfa9 cancel _MAX for numed enum 2022-11-21 19:07:31 +08:00
lyon
33501dbb33 move api to top of file 2022-11-21 18:28:10 +08:00
lyon
c9b9fc2d4a complate config for HAL
more event_callback and more HAL config
2022-11-21 18:27:27 +08:00
lyon
e288c40a2c fix pika_hal enum 2022-11-21 17:04:23 +08:00
lyon
2344903b89 update PikaStdDevice to port/linux
use unused as defult enum
2022-11-21 17:02:18 +08:00
李昂
b8a8c9d8f5
!173 STM32G0_v1.5.0_1669011020330
Merge pull request !173 from pikabot/STM32G0_v1.5.0_1669011020330
2022-11-21 06:14:21 +00:00
李昂
4a78b10505
!174 PikaPiZero_v1.4.0_1669011059974
Merge pull request !174 from pikabot/PikaPiZero_v1.4.0_1669011059974
2022-11-21 06:13:36 +00:00
lyon
a567e7705f add_files 2022-11-21 14:11:48 +08:00
lyon
24c8f7644e add_files 2022-11-21 14:10:51 +08:00
lyon
58ff9fe166 add_files 2022-11-21 14:10:05 +08:00
李昂
c58fd8d7d8
!169 STM32G0_v1.4.0_1668967260144
Merge pull request !169 from pikabot/STM32G0_v1.4.0_1668967260144
2022-11-20 18:05:28 +00:00
lyon
b7112610bb add_files 2022-11-21 02:03:01 +08:00
lyon
4611a62ecf add_files 2022-11-21 02:01:46 +08:00
lyon
2ad9caacc9 add test for hal, use table_map for hal 2022-11-20 23:55:03 +08:00
pikastech
fa374c72da adding pika_hal 2022-11-20 22:16:41 +08:00
lyon
728e9dce9a add_files 2022-11-20 19:33:38 +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
李昂
d1499ff983
!166 mqttclient库的对接
Merge pull request !166 from FlintJ/master
2022-11-19 15:52:17 +00:00
FlintJ
f74e2bad48 add mqtt connect/disconnect 2022-11-19 23:41:00 +08:00
lyon
6f5c4bfae5 add_files 2022-11-19 19:48:13 +08:00
lyon
b481c1c72b use pikaList, pikaDict, pikaTuple API 2022-11-19 19:11:34 +08:00
李昂
bbba403980
!164 hashlib v1.0.1
Merge pull request !164 from 梦程MI/add-hashlib
2022-11-19 10:51:10 +00:00
dreamcmi
ca8fe36d68 add hmac package 2022-11-19 18:41:31 +08:00
dreamcmi
a91c3698ab optimize hashlib package 2022-11-19 18:37:01 +08:00
lyon
db381cb9f5 fix mqtt_init.py for test, fix _del_ mem lack. 2022-11-18 23:38:49 +08:00
dreamcmi
ce05a5f03c fix default parameter error 2022-11-18 22:12:23 +08:00
dreamcmi
ed6f18dac5 fix hashlib switch error 2022-11-18 21:26:51 +08:00
lyon
3575d804e4 new hashlib 2022-11-18 19:11:48 +08:00
dreamcmi
cd6e35fb01 add packgae hashlib 2022-11-18 17:21:39 +08:00
lyon
9d4fe8e98a optimize speed for print() when one input 2022-11-17 12:48:10 +08:00
lyon
1755b51cd9 optimize speed for print() 2022-11-17 12:30:37 +08:00
pikastech
6d61bc07cc support print None
optimizing runbytecode

use _cache_bcf

arrange the run_bytecode and cache

more args for _do_pikaVM_runBytecode

support print(None)
2022-11-14 16:11:21 +08:00