getDeviceHardwareByModel
abstract suspend fun getDeviceHardwareByModel(hwModel: Int, target: String? = null, forceRefresh: Boolean = false): ERROR CLASS: Symbol not found for Result<ERROR CLASS: Symbol not found for DeviceHardware?>(source)
Retrieves device hardware information by its model ID and optional target string.
Return
A Result containing the DeviceHardware on success (or null if not found), or an exception on failure.
Parameters
hwModel
The hardware model identifier.
target
Optional PlatformIO target environment name to disambiguate multiple variants.
forceRefresh
If true, the local cache will be invalidated and data will be fetched remotely.