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 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, 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

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