Fixed issue with O2sat data not being recorded to data sharing database - V4.0.6

This commit is contained in:
Graham Jones
2022-06-04 23:10:43 +01:00
parent a66709e5ba
commit 443aa67067
5 changed files with 5 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
OpenSeizureDetector Android App - Change Log
============================================
V4.0.6 - fixed issue with O2sat data not being recorded to database
V4.0.5 - Added support for 3D data logging
- Fixed issue with seizure reporting crashing if quotation marks included in text.
V4.0.4 - Added support for Data Sharing system

View File

@@ -2,8 +2,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="uk.org.openseizuredetector"
android:versionCode="101"
android:versionName="4.0.5">
android:versionCode="102"
android:versionName="4.0.6">
<!-- android:allowBackup="false" -->
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />

View File

@@ -272,7 +272,7 @@ public abstract class SdDataSource {
mSdData.mHR = -1;
}
try {
mSdData.mO2Sat = dataObject.getDouble("O2Sat");
mSdData.mO2Sat = dataObject.getDouble("O2sat");
} catch (JSONException e) {
// if we get 'null' O2 Saturation (For example if the oxygen sensor is not working)
mSdData.mO2Sat = -1;

View File

@@ -3,6 +3,7 @@
<string name="app_name">OpenSeizureDetector</string>
<string name="changelog">
"\n
\nV4.0.5 - fixed issue with O2 saturation data not being recorded to data sharing database.
\nV4.0.4
- Introduced the &lt;b>Data Sharing&lt;/b> feature to allow users to share their seizure and false alarm data
with researchers to help improve the system.&lt;br/>