Sp02 spot measurement
The Corsano SDK introduces a new feature for saving SpO₂ spot measurements performed on patients. Each measurement includes a precise timestamp and value, ensuring accurate time-based tracking and facilitating robust data comparison across measurements.
Requirements
Only available for B2 from FW 7.32
From SDK 1.1.20
Implementation
The Sample App has been updated with directions and example code to assist in implementing SpO₂ spot measurements. Follow these steps to integrate the feature:

SDK call 1: start of the measurement
val result = DataSdk.getInstance().getManager().getSpotMeasurementManager()
.initSpotMeasurement(bleDevice, Date().time)
SDK call 2: save measurement
val result = dataSdkManager.getSpotMeasurementManager()
.save(bleDevice, spo2Value, now, externalDevice)
Sample code available in the classes
DataOthersFragment
DataOthersSpotFragment2
Function return structure:
open class SpotMeasurementDB : RealmObject() {
@PrimaryKey
var startTimestamp: Long = 0L
var endTimestamp: Long? = null
var startDate: String = ""
var endDate: String? = null
var value: Float? = null
var deviceName: String? = null
var synced: Boolean = false