ConnectionStatus

Derived, UI-friendly summary of the device connection state. Combines ServiceRepository.connectionState with "region unset" to surface the MUST_SET_REGION case that otherwise needs a separate boolean flag in the UI layer.

Entries

Link copied to clipboard

No device has been selected or we are otherwise disconnected.

Link copied to clipboard

A device has been selected and we are working through bonding/handshake.

Link copied to clipboard

Connected with node info available.

Link copied to clipboard

Connected but the device is in deep sleep.

Link copied to clipboard

Connected and active, but LoRa region is UNSET — user action required.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.