diff --git a/api/core/testing/org.meshtastic.core.testing/-robolectric-ble-bonding/index.html b/api/core/testing/org.meshtastic.core.testing/-robolectric-ble-bonding/index.html index 05a39fafc3..465f6f34cd 100644 --- a/api/core/testing/org.meshtastic.core.testing/-robolectric-ble-bonding/index.html +++ b/api/core/testing/org.meshtastic.core.testing/-robolectric-ble-bonding/index.html @@ -95,7 +95,7 @@

RobolectricBleBonding

-

Reusable Robolectric helpers for driving Android Bluetooth bonding logic in androidHostTest source sets.

These let a unit test exercise the real AndroidBluetoothRepository.bond() (and any future BLE bonding code) without an emulator and without a production seam. They rely on two Robolectric behaviors (verified against Robolectric 4.16.x):

Isolation note: because the device cache is static and survives across tests in the same JVM, give each test a distinct MAC so bond-state cannot bleed between tests.

+
object RobolectricBleBonding(source)

Reusable Robolectric helpers for driving Android Bluetooth bonding logic in androidHostTest source sets.

These let a unit test exercise the real AndroidBluetoothRepository.bond() (and any future BLE bonding code) without an emulator and without a production seam. They rely on two Robolectric behaviors (verified against Robolectric 4.16.x):

Isolation note: because the device cache is static and survives across tests in the same JVM, give each test a distinct MAC so bond-state cannot bleed between tests.

diff --git a/api/core/ui/org.meshtastic.core.ui.viewmodel/-connections-view-model/connection-status.html b/api/core/ui/org.meshtastic.core.ui.viewmodel/-connections-view-model/connection-status.html index 9a73732a46..77141cc876 100644 --- a/api/core/ui/org.meshtastic.core.ui.viewmodel/-connections-view-model/connection-status.html +++ b/api/core/ui/org.meshtastic.core.ui.viewmodel/-connections-view-model/connection-status.html @@ -94,7 +94,7 @@

connectionStatus

-

Single source of truth for the UI's "connection status" pill/banner. Derived from connectionState, ServiceRepository.connectionProgress, and regionUnset; kept here rather than in the composable so the mapping is observable and testable.

The ConnectionStatus.RECONNECTING case is signalled by the WiFi/TCP handshake watchdog writing ServiceRepository.RECONNECTING_PROGRESS_TEXT to ServiceRepository.connectionProgress immediately before its recovery sibling transitions to ConnectionState.Disconnected. See ServiceRepository.RECONNECTING_PROGRESS_TEXT for the cross-track contract.

+

Single source of truth for the UI's "connection status" pill/banner. Derived from connectionState, ServiceRepository.connectionProgress, and regionUnset; kept here rather than in the composable so the mapping is observable and testable.

The ConnectionStatus.RECONNECTING case is signalled by the WiFi/TCP handshake watchdog writing ServiceRepository.RECONNECTING_PROGRESS_TEXT to ServiceRepository.connectionProgress immediately before its recovery sibling transitions to ConnectionState.Disconnected. See ServiceRepository.RECONNECTING_PROGRESS_TEXT for the cross-track contract.

diff --git a/api/core/ui/org.meshtastic.core.ui.viewmodel/-connections-view-model/suppress-no-paired-warning.html b/api/core/ui/org.meshtastic.core.ui.viewmodel/-connections-view-model/suppress-no-paired-warning.html index 2075abc64f..3f324f6077 100644 --- a/api/core/ui/org.meshtastic.core.ui.viewmodel/-connections-view-model/suppress-no-paired-warning.html +++ b/api/core/ui/org.meshtastic.core.ui.viewmodel/-connections-view-model/suppress-no-paired-warning.html @@ -94,7 +94,7 @@

suppressNoPairedWarning

-
+