1. 解决频繁频繁掉线的问题:原因是因为ble

sdk需要一开始就初始化,配网的时候只是去控制其广播是否开启。不然会导致一直掉线
This commit is contained in:
2025-05-29 13:08:40 +08:00
parent cb1ea6e364
commit 5ec8b9380c
19 changed files with 333 additions and 278 deletions

View File

@ -150,7 +150,7 @@ def all_build():
exit(-1)
shutil.rmtree(temp_dir)
print("gen package.zip")
file_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), "package.py")
file_dir = os.path.dirname(os.path.abspath(__file__))
os.system("cd " + file_dir + " && python3 package.py")
def sdk_build():