Libre3 蓝牙连接日志分析
生成时间：2026-06-09T19:29:21.397809
日志数量：67821
日志轮转：1 次
损坏日志行：0

结论：连接流程存在失败，最后失败点是：CGM 统一扫描：LinX/Aidex 上次目标直连失败，本轮进入扫描兜底

连接质量统计：
| 设备 | 最近入库时间 | 入库次数 | 扫描次数 | 断开次数 | 连接失败次数 | 旧扫描放弃次数 |
| --- | --- | ---: | ---: | ---: | ---: | ---: |
| Libre3 | 无 | 0 | 572 | 0 | 486 | 85 |
| LinX | 2026-06-09T09:10:18.879295Z | 831 | 207 | 0 | 65 | 71 |

可能问题：
- 手机蓝牙未开启。
- 血糖数据已入库，但上传服务器失败。请检查手机网络、同步域名和 Worker 可用性。
- 手机到同步服务器请求超时，应用会继续自动重试；若频繁出现，请优先使用自定义同步域名。

最近流程：
- 2026-06-09T11:27:18.773423Z [lifecycle/error] 诊断日志上传请求失败：file=iPhone_20260609192618.zip endpoint=https://aoji-sync.t1d.fun/api/v1/diagnostic-logs/upload?device_id=eaca0bd5640654c3f0e62a2baeeac562 elapsedMs=54144 error=TimeoutException after 0:00:15.000000: Future not completed
- 2026-06-09T11:27:18.779403Z [lifecycle/info] LinX/Aidex F003 通知 len=17
- 2026-06-09T11:27:18.786345Z [parse/error] LinX/Aidex F003 解析失败 reason=LinxAidexRecordFailure.unsupportedPacket plainLen=17 first=03
- 2026-06-09T11:27:18.790754Z [lifecycle/info] Libre 3 绑定目标探头 F4FBF5538034
- 2026-06-09T11:27:18.795530Z [scan/info] CGM 统一扫描开始 timeout=60s services=089810cc-ef89-11e9-81b4-2a2ae2dbcce4
- 2026-06-09T11:27:18.800050Z [lifecycle/info] 诊断日志上传请求开始：endpoint=https://aoji.diaboxapp.workers.dev/api/v1/diagnostic-logs/upload?device_id=eaca0bd5640654c3f0e62a2baeeac562 file=iPhone_20260609192618.zip bytes=1868851
- 2026-06-09T11:28:21.001730Z [lifecycle/error] 诊断日志上传请求失败：file=iPhone_20260609192618.zip endpoint=https://aoji.diaboxapp.workers.dev/api/v1/diagnostic-logs/upload?device_id=eaca0bd5640654c3f0e62a2baeeac562 elapsedMs=62220 error=TimeoutException after 0:00:15.000000: Future not completed
- 2026-06-09T11:28:21.008899Z [lifecycle/info] LinX/Aidex F003 通知 len=17
- 2026-06-09T11:28:21.014493Z [parse/error] LinX/Aidex F003 解析失败 reason=LinxAidexRecordFailure.unsupportedPacket plainLen=17 first=03
- 2026-06-09T11:28:21.020483Z [scan/error] CGM 统一扫描未找到 Libre 3
- 2026-06-09T11:28:21.027869Z [lifecycle/error] 诊断日志自动上传失败：所有诊断日志上传地址失败：endpoint=https://aoji-sync.t1d.fun/api/v1/diagnostic-logs/upload?device_id=eaca0bd5640654c3f0e62a2baeeac562 elapsedMs=54144 error=TimeoutException after 0:00:15.000000: Future not completed；endpoint=https://aoji.diaboxapp.workers.dev/api/v1/diagnostic-logs/upload?device_id=eaca0bd5640654c3f0e62a2baeeac562 elapsedMs=62220 error=TimeoutException after 0:00:15.000000: Future not completed
- 2026-06-09T11:29:18.385276Z [reconnect/info] LinX/Aidex 无血糖数据超时 timeout=120s lastDataAgo=197s，主动断开等待重连
- 2026-06-09T11:29:18.395794Z [lifecycle/info] Libre 3 绑定目标探头 F4FBF5538034
- 2026-06-09T11:29:18.399792Z [scan/info] CGM 统一扫描：LinX/Aidex 未连接，本轮同时查找 LinX/Aidex 与 Libre 3
- 2026-06-09T11:29:18.402563Z [scan/info] CGM 统一扫描：LinX/Aidex 启动独立直连上次目标
- 2026-06-09T11:29:18.405098Z [scan/info] CGM 统一扫描开始 timeout=60s services=089810cc-ef89-11e9-81b4-2a2ae2dbcce4
- 2026-06-09T11:29:18.407177Z [scan/info] LinX/Aidex 统一扫描直连上次目标 1F88B277-4D3F-D255-45E9-4E59D16288E8
- 2026-06-09T11:29:18.409353Z [connect/info] LinX/Aidex 开始连接已绑定设备 1F88B277-4D3F-D255-45E9-4E59D16288E8
- 2026-06-09T11:29:18.411992Z [connect/info] CGM LinX/Aidex 连接事件唤醒，立即检查连接状态
- 2026-06-09T11:29:18.415641Z [lifecycle/info] LinX/Aidex GATT 开始 remote=1F88B277-4D3F-D255-45E9-4E59D16288E8 name="AiDEX X-22222ASKZS"
- 2026-06-09T11:29:18.419513Z [connect/info] LinX/Aidex GATT 已连接，开始发现服务
- 2026-06-09T11:29:18.423359Z [lifecycle/info] LinX/Aidex 旧无数据断开结果已忽略
- 2026-06-09T11:29:18.427117Z [scan/error] CGM 统一扫描直连 LinX/Aidex 失败：Bad state: 当前没有活跃 BLE 设备
- 2026-06-09T11:29:18.430788Z [scan/error] CGM 统一扫描直连 LinX/Aidex 失败：放弃旧统一扫描
- 2026-06-09T11:29:18.434792Z [scan/info] CGM 统一扫描：旧扫描结果已放弃
- 2026-06-09T11:29:18.438707Z [lifecycle/info] Libre 3 绑定目标探头 F4FBF5538034
- 2026-06-09T11:29:18.444392Z [scan/info] CGM 统一扫描：LinX/Aidex 未连接，本轮同时查找 LinX/Aidex 与 Libre 3
- 2026-06-09T11:29:18.448767Z [scan/error] CGM 统一扫描：LinX/Aidex 上次目标直连失败，本轮进入扫描兜底
- 2026-06-09T11:29:18.452988Z [scan/info] CGM 统一扫描开始 timeout=60s services=none
- 2026-06-09T11:29:18.665762Z [lifecycle/info] CGM 恢复补传触发：蓝牙事件唤醒
