# MicroPython BLE 配网 **Repository Path**: walkline/micropython_ble_config ## Basic Information - **Project Name**: MicroPython BLE 配网 - **Description**: 配合小程序使用的 BLE 配网客户端 - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 5 - **Forks**: 3 - **Created**: 2023-05-12 - **Last Updated**: 2025-04-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: MicroPython, BLE, WiFi, 小程序 ## README

MicroPython BLE 配网

### 项目介绍 配合小程序使用的 BLE 配网客户端 ![](./images/ble_config.jpg) ### 如何使用 1. 将项目中`ble_config.py`文件上传至开发板并运行 2. 使用微信扫描上边的`小程序码` 3. 正确填写`WIFI 信息`后点击`Start`按钮 4. 稍后开发板就会收到上边的`WIFI 信息` 5. 建议将收到的`WIFI 信息`保存至本地文件,待开发板重启后从本地文件读取信息并尝试联网 > `WIFI 信息`中的`名称`一定要填写`2.4G`的热点名称 `repl`输出内容: ```doc module ble_config version: 0.1.1 ble activated advertising... [AA:BB:CC:DD:EE:FF] connected, handle: 0 received rx data: b'ssid_xxxxxxxx' received rx data: b'pswd_yyyyyyyy' ssid: xxxxxxxx, password: yyyyyyyy ``` ### 合作及交流 * 联系邮箱: * QQ 交流群: * 走线物联:[163271910](https://jq.qq.com/?_wv=1027&k=VlT7Bjs9) * 扇贝物联:[31324057](https://jq.qq.com/?_wv=1027&k=IQh2OLw9)

走线物联扇贝物联