1 Star 15 Fork 2

Walkline/Micropython SmartConfig CModule

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

MicroPython SmartConfig CModule

项目介绍

MicroPython提供SmartConfig相关功能,该模块已提交 PR,欢迎前往测试并留言支持。

相较于 之前的版本,这次更新了以下内容:

  • ESP-IDF更新至v5.0.4
  • 去掉了.py文件中的辅助函数,改为使用ESP-IDF原生API实现
  • 增加了对EspTouch V2协议支持

如何添加模块

  • MicroPython项目同级目录克隆或粘贴本项目文件夹,并将文件夹重命名为smartconfig

    git clone https://gitee.com/walkline/micropython-smartconfig-cmodule.git smartconfig
    
  • 根据MicroPython项目固件编译说明做好前期准备

  • 使用如下命令编译固件:

    cd micropython/ports/esp32
    make USER_C_MODULES=../../../../smartconfig/cmodules/micropython.cmake
    

模块使用说明

参考项目目录下main.py文件中的代码,同时还可以 前往B站 观看配网演示视频。

查看 模块方法列表

手机操作说明

  • 手机连接2.4G无线网络(重要

  • 任意选择一个微信公众号App

    • 关注安信可科技微信公众号,点击应用开发→微信配网
    • 关注乐鑫信息科技微信公众号,点击商铺→Airkiss 设备
    • 安装EspTouch App点击EspTouch
    • 安装腾讯连连 App,任意添加一个设备
  • 输入WiFi 密码后点击连接按钮

获取 EspTouch App

已知问题

  • 2.4G5G混合网络下使用AirKiss协议无法获取相关信息
  • 某些(我的)WiFi6路由器使用AirKiss协议无法获取相关信息

参考资料

合作交流

走线物联扇贝物联

MIT License Copyright (c) 2023 Walkline Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

为 MicroPython 提供 SmartConfig 相关功能 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/walkline/micropython-smartconfig-cmodule.git
git@gitee.com:walkline/micropython-smartconfig-cmodule.git
walkline
micropython-smartconfig-cmodule
Micropython SmartConfig CModule
master

搜索帮助