DeviceHardwareLocalDataSource

Constructors

Link copied to clipboard
constructor(dbManager: DatabaseProvider, dispatchers: CoroutineDispatchers)

Functions

Link copied to clipboard
Link copied to clipboard
suspend fun getAllTargets(): List<String>

All known platformioTarget values — used to determine which msh.to links are vendor links.

Link copied to clipboard
suspend fun getByHwModel(hwModel: Int): List<DeviceHardwareEntity>
Link copied to clipboard
suspend fun getByModelAndTarget(hwModel: Int, target: String): DeviceHardwareEntity?
Link copied to clipboard
suspend fun getByTarget(target: String): DeviceHardwareEntity?
Link copied to clipboard
suspend fun hasAnyEntries(): Boolean
Link copied to clipboard
suspend fun insertAllDeviceHardware(deviceHardware: List<NetworkDeviceHardware>)