feat: add csv auto export
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.logitech.vc.kirbytest
|
||||
|
||||
import android.util.Log
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import org.apache.commons.codec.DecoderException
|
||||
import org.apache.commons.codec.binary.Hex
|
||||
import kotlin.math.min
|
||||
@@ -25,7 +26,7 @@ object DecoderIaq {
|
||||
|
||||
if(!supportedMessageTypes.contains(msgType)) {
|
||||
Log.i("Decoder", "Invalid message type: $msgType")
|
||||
return null;
|
||||
return null
|
||||
}
|
||||
|
||||
measurement.msgType = msgType
|
||||
@@ -84,6 +85,7 @@ object DecoderIaq {
|
||||
}
|
||||
|
||||
data class Measurement (
|
||||
@SerializedName("bleAddress")
|
||||
var deviceId: String? = null,
|
||||
var msgType: Number? = null,
|
||||
var co2: Number? = null,
|
||||
|
||||
Reference in New Issue
Block a user