Просмотр исходного кода

fix: 修改Air8000-ble代码的注释

wangshihao 7 месяцев назад
Родитель
Сommit
a1c50555e1

+ 6 - 0
module/Air8000/demo/ble/ibeacon/ble_ibeacon.lua

@@ -1,4 +1,10 @@
 --[[
+@module  ble_ibeacon
+@summary Air8000演示ibeacon功能模块
+@version 1.0
+@date    2025.07.01
+@author  wangshihao
+@usage
 本文件为Air8000核心板演示ibeacon功能的代码示例,核心业务逻辑为:
 1. 初始化蓝牙底层框架
 2. 创建BLE对象实例

+ 3 - 3
module/Air8000/demo/ble/ibeacon/readme.md

@@ -21,14 +21,14 @@
 
 [如何使用 LuaTools 烧录软件 - luatos@air8000 - 合宙模组资料中心](https://docs.openluat.com/air8000/luatos/common/download/)
 
-2、[Air8000 固件](https://gitee.com/openLuat/LuatOS/tree/master/module/Air8000/core)
+2、[Air8000 V2008版本固件(2025年6月27日及之后发布)](https://gitee.com/openLuat/LuatOS/tree/master/module/Air8000/core)(测试通过的固件是LuatOS-SoC_V2008_Air8000_LVGL_0627.soc)
 
 ## 演示核心步骤
 
-1、核心板通过usb数据线连接到电脑上
+1、搭建好演示硬件环境
 
 2、通过Luatools将demo与固件烧录到核心板中
 
 3、烧录成功后,自动开机运行
 
-4、接下来通过蓝牙APP 扫描并查看ibeacon信息,详见文档:https://docs.openluat.com/air8000/luatos/app/BLE/
+4、接下来通过蓝牙APP 扫描并查看ibeacon信息

+ 6 - 0
module/Air8000/demo/ble/master/ble_master.lua

@@ -1,4 +1,10 @@
 --[[
+@module  ble_ibeacon
+@summary Air8000演示ibeacon功能模块
+@version 1.0
+@date    2025.07.01
+@author  wangshihao
+@usage
 本文件为Air8000核心板演示master功能的代码示例,核心业务逻辑为:
 1. 初始化蓝牙底层框架
     bluetooth_device = bluetooth.init()

+ 3 - 3
module/Air8000/demo/ble/master/readme.md

@@ -21,14 +21,14 @@
 
 [如何使用 LuaTools 烧录软件 - luatos@air8000 - 合宙模组资料中心](https://docs.openluat.com/air8000/luatos/common/download/)
 
-2、[Air8000 固件](https://gitee.com/openLuat/LuatOS/tree/master/module/Air8000/core)
+2、[Air8000 V2008版本固件(2025.06.27及之后发布)](https://gitee.com/openLuat/LuatOS/tree/master/module/Air8000/core)(测试通过的固件是LuatOS-SoC_V2008_Air8000_LVGL_0627.soc)
 
 ## 演示核心步骤
 
-1、核心板通过usb数据线连接到电脑上
+1、搭建好演示硬件环境
 
 2、通过Luatools将demo与固件烧录到核心板中
 
 3、烧录成功后,自动开机运行
 
-4、接下来通过蓝牙APP 进行演示Air8000的BLE master功能,详见文档:https://docs.openluat.com/air8000/luatos/app/BLE/
+4、接下来通过蓝牙APP 演示Air8000的BLE master功能

+ 6 - 0
module/Air8000/demo/ble/peripheral/ble_peripheral.lua

@@ -1,4 +1,10 @@
 --[[
+@module  ble_ibeacon
+@summary Air8000演示ibeacon功能模块
+@version 1.0
+@date    2025.07.01
+@author  wangshihao
+@usage
 本文件为Air8000核心板演示peripheral功能的代码示例,核心业务逻辑为:
 从机模式(peripheral)的基本流程(概要描述)
 1. 初始化蓝牙框架

+ 3 - 3
module/Air8000/demo/ble/peripheral/readme.md

@@ -21,14 +21,14 @@
 
 [如何使用 LuaTools 烧录软件 - luatos@air8000 - 合宙模组资料中心](https://docs.openluat.com/air8000/luatos/common/download/)
 
-2、[Air8000 固件](https://gitee.com/openLuat/LuatOS/tree/master/module/Air8000/core)
+2、[Air8000 V2008版本固件(2025.06.27及之后发布)](https://gitee.com/openLuat/LuatOS/tree/master/module/Air8000/core)(测试通过的固件是LuatOS-SoC_V2008_Air8000_LVGL_0627.soc)
 
 ## 演示核心步骤
 
-1、核心板通过usb数据线连接到电脑上
+1、搭建好演示硬件环境
 
 2、通过Luatools将demo与固件烧录到核心板中
 
 3、烧录成功后,自动开机运行
 
-4、接下来通过蓝牙APP 连接作为蓝牙从机设备的Air8000进行操作,详见文档:https://docs.openluat.com/air8000/luatos/app/BLE/peripheral/
+4、接下来通过蓝牙APP 连接作为蓝牙从机设备的Air8000进行操作

+ 6 - 0
module/Air8000/demo/ble/scan/ble_scan.lua

@@ -1,4 +1,10 @@
 --[[
+@module  ble_ibeacon
+@summary Air8000演示ibeacon功能模块
+@version 1.0
+@date    2025.07.01
+@author  wangshihao
+@usage
 本文件为Air8000核心板演示scan功能的代码示例,核心业务逻辑为:
 观察者模式(scan)的基本流程(概要描述)
 1. 初始化蓝牙框架

+ 2 - 4
module/Air8000/demo/ble/scan/readme.md

@@ -21,13 +21,11 @@
 
 [如何使用 LuaTools 烧录软件 - luatos@air8000 - 合宙模组资料中心](https://docs.openluat.com/air8000/luatos/common/download/)
 
-2、[Air8000 固件](https://gitee.com/openLuat/LuatOS/tree/master/module/Air8000/core)
-
-3、[Air8000 BLE扫描代码](https://gitee.com/openLuat/LuatOS/blob/master/module/Air8000/demo/ble/scan)
+2、[Air8000 V2008版本固件(2025.06.27及之后发布)](https://gitee.com/openLuat/LuatOS/tree/master/module/Air8000/core)(测试通过的固件是LuatOS-SoC_V2008_Air8000_LVGL_0627.soc)
 
 ## 演示核心步骤
 
-1、核心板通过usb数据线连接到电脑上
+1、搭建好演示硬件环境
 
 2、通过Luatools将demo与固件烧录到核心板中