Libre3 蓝牙连接日志分析
生成时间：2026-06-27T23:00:01.560390
日志数量：53671
日志轮转：1 次
损坏日志行：0

结论：连接流程存在失败，最后失败点是：诊断日志自动上传失败：所有诊断日志上传地址失败：endpoint=https://aoji-sync.t1d.fun/api/v1/diagnostic-logs/upload?device_id=316bfaade040bf7ce748a6e661670206 elapsedMs=23874 error=TimeoutException after 0:00:15.000000: Future not completed；endpoint=https://aoji.diaboxapp.workers.dev/api/v1/diagnostic-logs/upload?device_id=316bfaade040bf7ce748a6e661670206 elapsedMs=31446 error=TimeoutException after 0:00:15.000000: Future not completed

连接质量统计：
| 设备 | 最近入库时间 | 入库次数 | 扫描次数 | 断开次数 | 连接失败次数 | 旧扫描放弃次数 |
| --- | --- | ---: | ---: | ---: | ---: | ---: |
| Libre3 | 无 | 0 | 342 | 1117 | 206 | 518 |
| LinX | 无 | 0 | 171 | 0 | 129 | 196 |

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

最近流程：
- 2026-06-27T14:58:37.059261Z [lifecycle/error] 诊断日志自动上传失败：所有诊断日志上传地址失败：endpoint=https://aoji-sync.t1d.fun/api/v1/diagnostic-logs/upload?device_id=316bfaade040bf7ce748a6e661670206 elapsedMs=16756 error=TimeoutException after 0:00:15.000000: Future not completed；endpoint=https://aoji.diaboxapp.workers.dev/api/v1/diagnostic-logs/upload?device_id=316bfaade040bf7ce748a6e661670206 elapsedMs=15034 error=TimeoutException after 0:00:15.000000: Future not completed
- 2026-06-27T14:59:03.893227Z [lifecycle/info] LinX/Aidex F003 通知 len=17
- 2026-06-27T14:59:03.908015Z [parse/error] LinX/Aidex F003 解析失败 reason=LinxAidexRecordFailure.unsupportedPacket plainLen=17 first=03
- 2026-06-27T14:59:03.915051Z [lifecycle/info] 诊断日志上传请求开始：endpoint=https://aoji-sync.t1d.fun/api/v1/diagnostic-logs/upload?device_id=316bfaade040bf7ce748a6e661670206 file=iPhone_20260627225837.zip bytes=2630708
- 2026-06-27T14:59:27.781951Z [lifecycle/error] 诊断日志上传请求失败：file=iPhone_20260627225837.zip endpoint=https://aoji-sync.t1d.fun/api/v1/diagnostic-logs/upload?device_id=316bfaade040bf7ce748a6e661670206 elapsedMs=23874 error=TimeoutException after 0:00:15.000000: Future not completed
- 2026-06-27T14:59:27.886803Z [lifecycle/info] LinX/Aidex 底层蓝牙已断开 remote=D273F775-008A-4268-A413-D181A30ADE5C
- 2026-06-27T14:59:27.890393Z [reconnect/info] LinX/Aidex 蓝牙事件唤醒，清理旧连接状态并等待重连
- 2026-06-27T14:59:27.896147Z [connect/info] CGM LinX/Aidex 连接事件唤醒，立即检查连接状态
- 2026-06-27T14:59:27.900930Z [lifecycle/info] 诊断日志上传请求开始：endpoint=https://aoji.diaboxapp.workers.dev/api/v1/diagnostic-logs/upload?device_id=316bfaade040bf7ce748a6e661670206 file=iPhone_20260627225837.zip bytes=2630708
- 2026-06-27T14:59:28.132283Z [lifecycle/info] CGM 恢复补传触发：蓝牙事件唤醒
- 2026-06-27T14:59:28.825832Z [sync/info] 血糖同步检查：待同步传感器 0 个
- 2026-06-27T14:59:28.834005Z [lifecycle/info] Libre 3 绑定目标探头 F4FBF55A6495
- 2026-06-27T14:59:29.508921Z [scan/info] CGM 统一扫描：LinX/Aidex 启动独立直连上次目标
- 2026-06-27T14:59:29.574565Z [scan/info] LinX/Aidex 统一扫描直连上次目标 D273F775-008A-4268-A413-D181A30ADE5C
- 2026-06-27T14:59:29.581744Z [connect/info] LinX/Aidex 开始连接已绑定设备 D273F775-008A-4268-A413-D181A30ADE5C
- 2026-06-27T14:59:29.587550Z [lifecycle/info] CGM 蓝牙事件唤醒：恢复检查冷却中，合并 4309ms
- 2026-06-27T14:59:29.591639Z [lifecycle/info] LinX/Aidex GATT 开始 remote=D273F775-008A-4268-A413-D181A30ADE5C name="AiDEX X-22222AVC47"
- 2026-06-27T14:59:29.595902Z [sync/info] 训练数据同步检查：file=bgm.jsonl type=bgm pending=0
- 2026-06-27T14:59:29.702796Z [sync/info] 训练数据同步检查：file=libre3_0P27V0H3L.jsonl type=libre3 pending=0
- 2026-06-27T14:59:29.819300Z [sync/info] 训练数据同步检查：file=linx_22222AVC47.jsonl type=linx pending=0
- 2026-06-27T14:59:29.895479Z [sync/info] 训练数据同步检查：file=sibionics_AAA264190SKP.jsonl type=sibionics pending=0
- 2026-06-27T14:59:33.186191Z [lifecycle/info] CGM 恢复补传触发：蓝牙事件唤醒
- 2026-06-27T14:59:33.520155Z [sync/info] 血糖同步检查：待同步传感器 0 个
- 2026-06-27T14:59:33.524130Z [sync/info] 训练数据同步检查：file=bgm.jsonl type=bgm pending=0
- 2026-06-27T14:59:34.218111Z [sync/info] 训练数据同步检查：file=libre3_0P27V0H3L.jsonl type=libre3 pending=0
- 2026-06-27T14:59:34.323403Z [sync/info] 训练数据同步检查：file=linx_22222AVC47.jsonl type=linx pending=0
- 2026-06-27T14:59:34.369085Z [sync/info] 训练数据同步检查：file=sibionics_AAA264190SKP.jsonl type=sibionics pending=0
- 2026-06-27T14:59:59.327556Z [connect/info] LinX/Aidex GATT 已连接，开始发现服务
- 2026-06-27T14:59:59.439972Z [lifecycle/error] 诊断日志上传请求失败：file=iPhone_20260627225837.zip endpoint=https://aoji.diaboxapp.workers.dev/api/v1/diagnostic-logs/upload?device_id=316bfaade040bf7ce748a6e661670206 elapsedMs=31446 error=TimeoutException after 0:00:15.000000: Future not completed
- 2026-06-27T14:59:59.444154Z [lifecycle/error] 诊断日志自动上传失败：所有诊断日志上传地址失败：endpoint=https://aoji-sync.t1d.fun/api/v1/diagnostic-logs/upload?device_id=316bfaade040bf7ce748a6e661670206 elapsedMs=23874 error=TimeoutException after 0:00:15.000000: Future not completed；endpoint=https://aoji.diaboxapp.workers.dev/api/v1/diagnostic-logs/upload?device_id=316bfaade040bf7ce748a6e661670206 elapsedMs=31446 error=TimeoutException after 0:00:15.000000: Future not completed
