fix: properly handle connecting to bonded devices
This commit is contained in:
@@ -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}"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user