DiscoveryDao
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Snapshot used by DatabaseMerger to append a transport's discovery sessions to the unified DB.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The most recent recoverable session for deviceAddress. This includes active/interrupted scans and terminal scans whose home-radio restoration is still pending, so callers must inspect completionStatus rather than assuming an unfinished scan.
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend fun insertDwellIfSessionExists(result: DiscoveryPresetResultEntity, nodes: List<DiscoveredNodeEntity>, deviceAddress: String): Long?
Writes one dwell's preset result and its discovered nodes, but only if the parent session row exists in this database and belongs to deviceAddress, returning null when it does not.
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
Link copied to clipboard
Link copied to clipboard