DeviceHardware

@Serializable
data class DeviceHardware(val activelySupported: Boolean = false, val architecture: String = "", val displayName: String = "", val hasInkHud: Boolean? = null, val hasMui: Boolean? = null, val hwModel: Int = 0, val hwModelSlug: String = "", val images: List<String>? = null, val isMaker: Boolean = false, val partitionScheme: String? = null, val platformioTarget: String = "", val requiresDfu: Boolean? = null, val requiresBootloaderUpgradeForOta: Boolean? = null, val bootloaderInfoUrl: String? = null, val softDeviceVariant: SoftDeviceVariant? = null, val supportLevel: Int? = null, val tags: List<String>? = null)(source)

Constructors

Link copied to clipboard
constructor(activelySupported: Boolean = false, architecture: String = "", displayName: String = "", hasInkHud: Boolean? = null, hasMui: Boolean? = null, hwModel: Int = 0, hwModelSlug: String = "", images: List<String>? = null, isMaker: Boolean = false, partitionScheme: String? = null, platformioTarget: String = "", requiresDfu: Boolean? = null, requiresBootloaderUpgradeForOta: Boolean? = null, bootloaderInfoUrl: String? = null, softDeviceVariant: SoftDeviceVariant? = null, supportLevel: Int? = null, tags: List<String>? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Optional URL pointing to documentation for upgrading the bootloader.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Returns true if the device architecture is ESP32-based.

Link copied to clipboard

The registry's maker relationship: independent hardware, as opposed to the project's own lifecycle flag activelySupported. Absent and false mean the same thing; how the two combine is supportTier.

Link copied to clipboard

Returns true if the device architecture is nRF52-based.

Link copied to clipboard

Returns true if the device architecture is RP2040-based.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Indicates that the device typically ships with a bootloader that does not support OTA DFU, and that a one-time bootloader upgrade (usually over USB) is recommended before attempting firmware updates from the app.

Link copied to clipboard
Link copied to clipboard

The SoftDevice this board's firmware is linked against, or null when it could not be resolved. A read-time overlay like requiresBootloaderUpgradeForOta — never persisted.

Link copied to clipboard
Link copied to clipboard

Resolves the rung in one place so every surface agrees. DeviceHardware.isMaker is a relationship and wins first, so a maker board never reads as plain supported once the registry promotes it; DeviceHardware.activelySupported is the project's lifecycle flag and decides the other two rungs. A legacy or untiered maker board falls through to that lifecycle check.

Link copied to clipboard