DiscoverySessionEntity

data class DiscoverySessionEntity(val id: Long = 0, val timestamp: Long, val presetsScanned: String, val homePreset: String, val totalUniqueNodes: Int = 0, val avgChannelUtilization: Double = 0.0, val totalMessages: Int = 0, val totalSensorPackets: Int = 0, val furthestNodeDistance: Double = 0.0, val completionStatus: String = DiscoverySessionStatus.COMPLETE, val aiSummary: String? = null, val userLatitude: Double = 0.0, val userLongitude: Double = 0.0, val totalDwellSeconds: Long = 0, val deviceAddress: String? = null, val homeLoraConfig: Config.LoRaConfig? = null, val homePrimaryChannel: ChannelSettings? = null)(source)

Constructors

Link copied to clipboard
constructor(id: Long = 0, timestamp: Long, presetsScanned: String, homePreset: String, totalUniqueNodes: Int = 0, avgChannelUtilization: Double = 0.0, totalMessages: Int = 0, totalSensorPackets: Int = 0, furthestNodeDistance: Double = 0.0, completionStatus: String = DiscoverySessionStatus.COMPLETE, aiSummary: String? = null, userLatitude: Double = 0.0, userLongitude: Double = 0.0, totalDwellSeconds: Long = 0, deviceAddress: String? = null, homeLoraConfig: Config.LoRaConfig? = null, homePrimaryChannel: ChannelSettings? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The radio address this session ran against — lets a later reconnect confirm it's the same device.

Link copied to clipboard
Link copied to clipboard
val homeLoraConfig: Config.LoRaConfig?

The radio's full pre-scan LoRa config, so an interrupted scan can restore it exactly.

Link copied to clipboard
Link copied to clipboard
val homePrimaryChannel: ChannelSettings?

The radio's pre-scan primary channel, only non-null when a custom-channel target retuned it.

Link copied to clipboard
val id: Long
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