Libre3 蓝牙连接日志分析
生成时间：2026-06-17T11:53:25.707255
日志数量：70542
日志轮转：1 次
损坏日志行：0

结论：连接流程存在失败，最后失败点是：训练数据自动同步失败：所有训练数据同步地址失败：endpoint=https://aoji-sync.t1d.fun/upload?device_id=753cc3d9fbaa47815c06e2f1c593d3c1&sensor_type=sibionics&device_name=iPhone&resync=1 elapsedMs=12866 error=HttpException: Bad file descriptor, uri = https://aoji-sync.t1d.fun/upload?device_id=753cc3d9fbaa47815c06e2f1c593d3c1&sensor_type=sibionics&device_name=iPhone&resync=1；endpoint=https://aoji.diaboxapp.workers.dev/upload?device_id=753cc3d9fbaa47815c06e2f1c593d3c1&sensor_type=sibionics&device_name=iPhone&resync=1 elapsedMs=15083 error=TimeoutException after 0:00:15.000000: Future not completed

连接质量统计：
| 设备 | 最近入库时间 | 入库次数 | 扫描次数 | 断开次数 | 连接失败次数 | 旧扫描放弃次数 |
| --- | --- | ---: | ---: | ---: | ---: | ---: |
| Libre3 | 无 | 0 | 1225 | 0 | 927 | 353 |
| LinX | 2026-06-15T01:06:05.145582Z | 1324 | 486 | 0 | 212 | 259 |

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

最近流程：
- 2026-06-17T02:54:21.511811Z [lifecycle/info] Sibionics SystemInfo 15 已发送
- 2026-06-17T02:54:21.535155Z [sync/info] 血糖同步批次开始：sensor=Sibionics AAA264140SLS count=1 start=1781479688570
- 2026-06-17T02:54:21.546509Z [sync/info] 血糖同步请求开始：endpoint=https://aoji-sync.t1d.fun/api/v1/sensor/glucose/upload sensor=Sibionics AAA264140SLS count=1 bytes=293
- 2026-06-17T02:54:22.117755Z [lifecycle/info] Sibionics SystemInfo 14 已发送
- 2026-06-17T02:54:22.147605Z [parse/error] Sibionics FF31 解析失败：FormatException: Unsupported FF31 command
- 2026-06-17T02:54:22.771700Z [parse/error] Sibionics FF31 解析失败：FormatException: FF31 frame is too short
- 2026-06-17T02:54:22.784149Z [lifecycle/info] Sibionics SystemInfo 15 已发送
- 2026-06-17T02:54:23.520261Z [parse/error] Sibionics FF31 解析失败：FormatException: FF31 frame is too short
- 2026-06-17T02:54:23.545199Z [lifecycle/info] Sibionics SystemInfo 3 已发送
- 2026-06-17T02:54:24.317057Z [lifecycle/info] Sibionics SystemInfo 17 已发送
- 2026-06-17T02:54:24.329299Z [parse/error] Sibionics FF31 解析失败：FormatException: FF31 frame is too short
- 2026-06-17T02:54:24.939099Z [parse/error] Sibionics FF31 解析失败：FormatException: FF31 frame is too short
- 2026-06-17T02:54:28.535295Z [lifecycle/info] Sibionics SystemInfo 1 已发送
- 2026-06-17T02:54:28.547858Z [sync/info] 血糖同步请求成功：endpoint=https://aoji-sync.t1d.fun/api/v1/sensor/glucose/upload sensor=Sibionics AAA264140SLS count=1 elapsedMs=6403
- 2026-06-17T02:54:28.571007Z [lifecycle/info] Sibionics JSONL 已修正 sensor=AAA264140SLS read=4021 written=4021 skipped=0
- 2026-06-17T02:54:28.583381Z [sync/info] Nightscout 同步跳过：未配置地址或密匙 sensor=Sibionics AAA264140SLS rows=1
- 2026-06-17T02:54:28.594869Z [lifecycle/info] Sibionics JSONL 时间已修正 sensor=AAA264140SLS written=4021
- 2026-06-17T02:54:28.629362Z [connect/info] Sibionics 连接完成 sensor=AAA264140SLS
- 2026-06-17T02:54:28.640840Z [sync/info] 血糖同步批次完成：sensor=Sibionics AAA264140SLS count=1
- 2026-06-17T02:54:28.684984Z [sync/info] 血糖自动同步完成 1 条，请求 1 次
- 2026-06-17T02:54:28.942384Z [sync/info] 血糖同步检查：待同步传感器 0 个
- 2026-06-17T02:54:31.765469Z [sync/error] 训练数据同步请求失败：type=sibionics endpoint=https://aoji.diaboxapp.workers.dev/upload?device_id=753cc3d9fbaa47815c06e2f1c593d3c1&sensor_type=sibionics&device_name=iPhone&resync=1 elapsedMs=15083 error=TimeoutException after 0:00:15.000000: Future not completed
- 2026-06-17T02:54:31.783766Z [sync/error] 训练数据自动同步失败：所有训练数据同步地址失败：endpoint=https://aoji-sync.t1d.fun/upload?device_id=753cc3d9fbaa47815c06e2f1c593d3c1&sensor_type=sibionics&device_name=iPhone&resync=1 elapsedMs=12866 error=HttpException: Bad file descriptor, uri = https://aoji-sync.t1d.fun/upload?device_id=753cc3d9fbaa47815c06e2f1c593d3c1&sensor_type=sibionics&device_name=iPhone&resync=1；endpoint=https://aoji.diaboxapp.workers.dev/upload?device_id=753cc3d9fbaa47815c06e2f1c593d3c1&sensor_type=sibionics&device_name=iPhone&resync=1 elapsedMs=15083 error=TimeoutException after 0:00:15.000000: Future not completed
- 2026-06-17T02:54:31.810063Z [sync/info] 训练数据同步检查：file=bgm.jsonl type=bgm pending=0
- 2026-06-17T02:54:31.869807Z [sync/info] 训练数据同步检查：file=libre3_0P88YHQ9Q.jsonl type=libre3 pending=0
- 2026-06-17T02:54:32.006394Z [sync/info] 训练数据同步检查：file=linx_22222AV6ZV.jsonl type=linx pending=0
- 2026-06-17T02:54:32.224005Z [sync/info] 训练数据同步安全重传检查：file=sibionics_AAA264140SLS.jsonl type=sibionics lines=4021
- 2026-06-17T02:54:32.331582Z [sync/info] 训练数据同步请求开始：endpoint=https://aoji-sync.t1d.fun/upload?device_id=753cc3d9fbaa47815c06e2f1c593d3c1&sensor_type=sibionics&device_name=iPhone&resync=1 type=sibionics replace=0 resync=1 bytes=2546745
- 2026-06-17T03:53:18.625545Z [keep_alive/info] 蓝牙后台保活已启动：CGM 蓝牙
- 2026-06-17T03:53:18.745051Z [sync/info] 血糖同步检查：待同步传感器 0 个
