|
8 | 8 | /// |
9 | 9 | /// readiness banner (adapter-off / unauthorized / unsupported rationale) |
10 | 10 | /// → filtered scan CTA → live [ScanHit] list (advertised name + RSSI) |
11 | | -/// → connecting progress → connected Board-info card (chip / MicroPython / |
12 | | -/// free memory — the round-trip PROOF) + Disconnect → failure prompt, |
| 11 | +/// → connecting progress → connected Board-info card (board ID / PyBLE |
| 12 | +/// firmware / chip / MicroPython / free memory — the round-trip PROOF) |
| 13 | +/// + Disconnect → failure prompt, |
13 | 14 | /// |
14 | 15 | /// plus an always-on compact diagnostics panel (adapter state, scan running, |
15 | 16 | /// boards seen, last error) for on-hardware (HIL) debugging. |
16 | 17 | /// |
17 | 18 | /// Binds ONLY to the neutral [ConnectController] over the [ConnectionManager] |
18 | 19 | /// seam (CON-8, FR-BLE-8): NO `lib/ble` / `flutter_blue_plus` import, never a |
19 | 20 | /// raw device list (SEC-4). All copy is sourced from [AppLocalizations]; |
20 | | -/// technical identifiers (the chip target, RSSI dBm, byte counts) render |
21 | | -/// verbatim (FR-I18N-4). |
| 21 | +/// technical identifiers (board ID, firmware versions, chip target, RSSI dBm, |
| 22 | +/// byte counts) render verbatim (FR-I18N-4). |
22 | 23 | library; |
23 | 24 |
|
24 | 25 | import 'package:flutter/material.dart'; |
@@ -416,7 +417,20 @@ class _ConnectedView extends StatelessWidget { |
416 | 417 | ), |
417 | 418 | ) |
418 | 419 | else ...<Widget>[ |
419 | | - // Chip is a technical identifier — rendered verbatim (FR-I18N-4). |
| 420 | + // These PBLE/1 values are display-only technical identifiers: |
| 421 | + // render them verbatim and never substitute ScanHit.id (SEC-9). |
| 422 | + _InfoRow( |
| 423 | + label: l10n.connectDeviceBoardId, |
| 424 | + value: info.deviceId.isEmpty |
| 425 | + ? l10n.connectDeviceNotReported |
| 426 | + : info.deviceId, |
| 427 | + ), |
| 428 | + _InfoRow( |
| 429 | + label: l10n.connectDeviceAgentVersion, |
| 430 | + value: info.agentVersion.isEmpty |
| 431 | + ? l10n.connectDeviceNotReported |
| 432 | + : info.agentVersion, |
| 433 | + ), |
420 | 434 | _InfoRow(label: l10n.connectDeviceChip, value: info.chip), |
421 | 435 | _InfoRow( |
422 | 436 | label: l10n.connectDeviceMpyVersion, |
|
0 commit comments