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

结论：连接流程存在失败，最后失败点是：诊断日志自动上传失败：所有诊断日志上传地址失败：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

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

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

最近流程：
- 2026-06-27T14:58:29.019138Z [parse/error] Sibionics FF31 解析失败：FormatException: FF31 frame is too short
- 2026-06-27T14:58:29.025909Z [lifecycle/info] Sibionics SystemInfo 15 已发送
- 2026-06-27T14:58:29.030233Z [sync/info] 血糖同步批次开始：sensor=Sibionics AAA264190SKP count=1 start=1781406071624
- 2026-06-27T14:58:29.033930Z [parse/error] Sibionics FF31 解析失败：FormatException: Unsupported FF31 command
- 2026-06-27T14:58:29.039372Z [lifecycle/info] Sibionics SystemInfo 14 已发送
- 2026-06-27T14:58:29.045589Z [sync/info] 血糖同步请求开始：endpoint=https://aoji-sync.t1d.fun/api/v1/sensor/glucose/upload sensor=Sibionics AAA264190SKP count=1 bytes=293
- 2026-06-27T14:58:29.504776Z [parse/error] Sibionics FF31 解析失败：FormatException: FF31 frame is too short
- 2026-06-27T14:58:29.511963Z [lifecycle/info] Sibionics SystemInfo 15 已发送
- 2026-06-27T14:58:30.184244Z [lifecycle/info] Sibionics SystemInfo 3 已发送
- 2026-06-27T14:58:30.372055Z [parse/error] Sibionics FF31 解析失败：FormatException: FF31 frame is too short
- 2026-06-27T14:58:31.005782Z [parse/error] Sibionics FF31 解析失败：FormatException: FF31 frame is too short
- 2026-06-27T14:58:31.010208Z [lifecycle/info] Sibionics SystemInfo 17 已发送
- 2026-06-27T14:58:31.789854Z [parse/error] Sibionics FF31 解析失败：FormatException: FF31 frame is too short
- 2026-06-27T14:58:33.452579Z [lifecycle/info] Sibionics SystemInfo 1 已发送
- 2026-06-27T14:58:33.459909Z [sync/info] 血糖同步请求成功：endpoint=https://aoji-sync.t1d.fun/api/v1/sensor/glucose/upload sensor=Sibionics AAA264190SKP count=1 elapsedMs=4114
- 2026-06-27T14:58:33.468205Z [lifecycle/info] Sibionics JSONL 已修正 sensor=AAA264190SKP read=4021 written=4021 skipped=0
- 2026-06-27T14:58:33.482252Z [sync/info] Nightscout 同步跳过：未配置地址或密匙 sensor=Sibionics AAA264190SKP rows=1
- 2026-06-27T14:58:33.489103Z [lifecycle/info] Sibionics JSONL 时间已修正 sensor=AAA264190SKP written=4021
- 2026-06-27T14:58:34.114640Z [connect/info] Sibionics 连接完成 sensor=AAA264190SKP
- 2026-06-27T14:58:34.119360Z [sync/info] 血糖同步批次完成：sensor=Sibionics AAA264190SKP count=1
- 2026-06-27T14:58:34.142970Z [sync/info] 血糖自动同步完成 1 条，请求 1 次
- 2026-06-27T14:58:35.103654Z [sync/info] 血糖同步检查：待同步传感器 0 个
- 2026-06-27T14:58:36.236399Z [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 elapsedMs=28180
- 2026-06-27T14:58:36.249975Z [sync/info] 训练数据自动同步完成 4021 行，请求 1 次
- 2026-06-27T14:58:36.260380Z [sync/info] 训练数据同步检查：file=bgm.jsonl type=bgm pending=0
- 2026-06-27T14:58:36.365678Z [sync/info] 训练数据同步检查：file=libre3_0P27V0H3L.jsonl type=libre3 pending=0
- 2026-06-27T14:58:36.459384Z [sync/info] 训练数据同步检查：file=linx_22222AVC47.jsonl type=linx pending=0
- 2026-06-27T14:58:36.547478Z [sync/info] 训练数据同步检查：file=sibionics_AAA264190SKP.jsonl type=sibionics pending=0
- 2026-06-27T14:58:37.052236Z [lifecycle/error] 诊断日志上传请求失败：file=iPhone_20260627225702.zip 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: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
