SoftDeviceVariantEntry

@Serializable
data class SoftDeviceVariantEntry(val hwModel: Int, val hwModelSlug: String? = null, val platformioTargets: List<String> = emptyList(), val softDevice: String? = null)(source)

One hardware model's SoftDevice mapping.

Constructors

Link copied to clipboard
constructor(hwModel: Int, hwModelSlug: String? = null, platformioTargets: List<String> = emptyList(), softDevice: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "hwModel")
val hwModel: Int
Link copied to clipboard
@SerialName(value = "hwModelSlug")
val hwModelSlug: String?
Link copied to clipboard
@SerialName(value = "platformioTargets")
val platformioTargets: List<String>

Every catalog target for this hwModel. Resolution requires the device-reported target to appear here, because hwModel alone is not unique — hwModel 94 (HELTEC_MESH_POCKET) has two nRF52840 targets — and borrowing a sibling's variant is exactly the mistake that corrupts a SoftDevice.

Link copied to clipboard
@SerialName(value = "softDevice")
val softDevice: String?

Wire value ("6.1.1" / "7.3.0"), or absent when the variant is unknown. An entry present with no softDevice records a deliberate, greppable refusal rather than an oversight.