新增启动APP,连接上蓝牙检测固件新版本,弹窗提示更新并自动升级

This commit is contained in:
yezhiqiu
2026-05-20 11:58:32 +08:00
parent 4dcbc176cb
commit bdff8cc351
10 changed files with 127 additions and 26 deletions

View File

@@ -38,6 +38,7 @@ import androidx.annotation.StringDef
EventName.RefreshMessage,
EventName.BluetoothSwitch,
EventName.BleReport,
EventName.BleFirmwareVersion,
EventName.BleGetLocation,
EventName.BleReportData,
EventName.LogReport,
@@ -105,7 +106,11 @@ annotation class EventName {
//日志上报数据
const val LogReport = "logReport"
//设备获取手机位置
const val BleGetLocation = "bleGetLocation"
//设备固件版本
const val BleFirmwareVersion = "firmwareVersion"
}
}