Libre3 蓝牙连接日志分析
生成时间：2026-06-27T22:55:35.497958
日志数量：53377
日志轮转：1 次
损坏日志行：0

结论：连接流程存在失败，最后失败点是：训练数据同步请求失败：type=sibionics endpoint=https://aoji-sync.t1d.fun/upload?device_id=316bfaade040bf7ce748a6e661670206&sensor_type=sibionics&device_name=iPhone&resync=1 elapsedMs=458345 error=TimeoutException after 0:01:00.000000: Future not completed

连接质量统计：
| 设备 | 最近入库时间 | 入库次数 | 扫描次数 | 断开次数 | 连接失败次数 | 旧扫描放弃次数 |
| --- | --- | ---: | ---: | ---: | ---: | ---: |
| Libre3 | 无 | 0 | 342 | 1113 | 206 | 517 |
| LinX | 无 | 0 | 170 | 0 | 128 | 193 |

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

最近流程：
- 2026-06-27T14:47:52.597001Z [lifecycle/info] CGM 蓝牙事件唤醒：恢复检查已在等待或运行，合并本次事件
- 2026-06-27T14:47:52.599264Z [lifecycle/info] Libre 3 原生恢复事件 type=restore state=connecting remote=9757BF61-7CED-46C7-3640-FC24FF6A9221 message=
- 2026-06-27T14:47:52.601521Z [lifecycle/info] Libre 3 触发统一恢复检查
- 2026-06-27T14:47:52.603813Z [lifecycle/info] connectionState=Libre3ConnectionState.disconnected
- 2026-06-27T14:47:52.606080Z [lifecycle/info] Libre 3 iOS CoreBluetooth state=connecting remote=9757BF61-7CED-46C7-3640-FC24FF6A9221 origin=connect
- 2026-06-27T14:47:52.608297Z [lifecycle/info] CGM 蓝牙事件唤醒：恢复检查已在等待或运行，合并本次事件
- 2026-06-27T14:47:52.610530Z [connect/info] Libre 3 连接已断开
- 2026-06-27T14:47:52.612861Z [lifecycle/info] Libre 3 触发统一恢复检查
- 2026-06-27T14:47:52.615107Z [lifecycle/info] connectionState=Libre3ConnectionState.connecting
- 2026-06-27T14:47:52.617342Z [lifecycle/info] native recovery event type=state state=connecting remote=9757BF61-7CED-46C7-3640-FC24FF6A9221 message=connect
- 2026-06-27T14:47:52.619601Z [lifecycle/info] CGM 蓝牙事件唤醒：恢复检查已在等待或运行，合并本次事件
- 2026-06-27T14:47:52.621893Z [lifecycle/info] CGM 蓝牙事件唤醒：恢复检查已在等待或运行，合并本次事件
- 2026-06-27T14:47:52.624277Z [lifecycle/info] Libre 3 原生恢复事件 type=state state=connecting remote=9757BF61-7CED-46C7-3640-FC24FF6A9221 message=connect
- 2026-06-27T14:47:52.626532Z [lifecycle/info] Libre 3 触发统一恢复检查
- 2026-06-27T14:47:52.628753Z [lifecycle/info] CGM 蓝牙事件唤醒：恢复检查已在等待或运行，合并本次事件
- 2026-06-27T14:47:52.631025Z [lifecycle/info] 诊断日志上传请求开始：endpoint=https://aoji-sync.t1d.fun/api/v1/diagnostic-logs/upload?device_id=316bfaade040bf7ce748a6e661670206 file=iPhone_20260627224744.zip bytes=2625006
- 2026-06-27T14:47:52.633265Z [sync/info] 训练数据同步检查：file=bgm.jsonl type=bgm pending=0
- 2026-06-27T14:47:52.737491Z [sync/info] 训练数据同步检查：file=libre3_0P27V0H3L.jsonl type=libre3 pending=0
- 2026-06-27T14:47:53.180766Z [lifecycle/info] CGM 恢复补传触发：蓝牙事件唤醒
- 2026-06-27T14:47:53.271998Z [sync/info] 血糖同步检查：待同步传感器 0 个
- 2026-06-27T14:47:53.274251Z [lifecycle/info] CGM Libre 3 蓝牙事件唤醒：Libre 3 直连保护中，剩余 44s
- 2026-06-27T14:47:53.276120Z [sync/info] 训练数据同步检查：file=linx_22222AVC47.jsonl type=linx pending=0
- 2026-06-27T14:47:53.398166Z [sync/info] 训练数据同步安全重传检查：file=sibionics_AAA264190SKP.jsonl type=sibionics lines=4021
- 2026-06-27T14:47:53.457643Z [sync/info] 训练数据同步请求开始：endpoint=https://aoji-sync.t1d.fun/upload?device_id=316bfaade040bf7ce748a6e661670206&sensor_type=sibionics&device_name=iPhone&resync=1 type=sibionics replace=0 resync=1 bytes=2759269
- 2026-06-27T14:47:55.002130Z [reconnect/info] Sibionics 重连状态 phase=connecting attempt=2
- 2026-06-27T14:47:55.020082Z [lifecycle/info] Sibionics GATT 开始 remote=3EE25843-4268-1128-D793-FA4ADCD04E74 name="AAA264190SKP"
- 2026-06-27T14:48:07.637265Z [lifecycle/error] 诊断日志上传请求失败：file=iPhone_20260627224744.zip endpoint=https://aoji-sync.t1d.fun/api/v1/diagnostic-logs/upload?device_id=316bfaade040bf7ce748a6e661670206 elapsedMs=15134 error=TimeoutException after 0:00:15.000000: Future not completed
- 2026-06-27T14:48:07.645018Z [lifecycle/info] 诊断日志上传请求开始：endpoint=https://aoji.diaboxapp.workers.dev/api/v1/diagnostic-logs/upload?device_id=316bfaade040bf7ce748a6e661670206 file=iPhone_20260627224744.zip bytes=2625006
- 2026-06-27T14:55:31.747966Z [lifecycle/error] 诊断日志上传请求失败：file=iPhone_20260627224744.zip endpoint=https://aoji.diaboxapp.workers.dev/api/v1/diagnostic-logs/upload?device_id=316bfaade040bf7ce748a6e661670206 elapsedMs=444111 error=TimeoutException after 0:00:15.000000: Future not completed
- 2026-06-27T14:55:32.599214Z [sync/error] 训练数据同步请求失败：type=sibionics endpoint=https://aoji-sync.t1d.fun/upload?device_id=316bfaade040bf7ce748a6e661670206&sensor_type=sibionics&device_name=iPhone&resync=1 elapsedMs=458345 error=TimeoutException after 0:01:00.000000: Future not completed
