fix: properly handle connecting to bonded devices

This commit is contained in:
Stefan Zollinger
2024-04-11 15:13:16 +02:00
parent 7311ba335f
commit 62ce221860
5 changed files with 72 additions and 16 deletions

View File

@@ -84,6 +84,7 @@ object DecoderIaq {
}
data class Measurement (
var deviceId: String? = null,
var msgType: Number? = null,
var co2: Number? = null,
var voc: Number? = null,
@@ -110,8 +111,5 @@ object DecoderIaq {
'}'
}
fun toCsv() : String {
return "${msgType},${co2},${voc},${humidity},${temperature},${pressure}${pm25},${pm10},${occupancy}"
}
}
}