V4.1.3a - fixed O2sat display in network data source
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
package="uk.org.openseizuredetector"
|
||||
android:versionCode="115"
|
||||
android:versionName="4.1.3">
|
||||
android:versionName="4.1.3a">
|
||||
<!-- android:allowBackup="false" -->
|
||||
<uses-permission android:name="android.permission.BLUETOOTH" />
|
||||
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
|
||||
|
||||
@@ -123,7 +123,7 @@ public class SdData implements Parcelable {
|
||||
|
||||
/*
|
||||
* Intialise this SdData object from a JSON String
|
||||
* FIXME - add O2saturation with checking in case it is not included in the data
|
||||
*
|
||||
*/
|
||||
public boolean fromJSON(String jsonStr) {
|
||||
Log.v(TAG, "fromJSON() - parsing jsonString - " + jsonStr);
|
||||
@@ -161,6 +161,13 @@ public class SdData implements Parcelable {
|
||||
for (int i = 0; i < specArr.length(); i++) {
|
||||
simpleSpec[i] = specArr.optInt(i);
|
||||
}
|
||||
|
||||
try {
|
||||
mO2Sat = jo.optDouble("o2Sat");
|
||||
} catch (Exception e) {
|
||||
Log.w(TAG,"Error parsing o2Sat value");
|
||||
mO2Sat = -1;
|
||||
}
|
||||
haveData = true;
|
||||
Log.v(TAG, "fromJSON(): sdData = " + this.toString());
|
||||
return true;
|
||||
|
||||
@@ -294,4 +294,5 @@
|
||||
<string name="dataRetentionPeriodSummary">Okres (w dniach), przez który dane będą przechowywane i chronione przed usunięciem przez funkcję \'Automatyczne Czyszczenie Bazy Danych\'.</string>
|
||||
<string name="LogNDATitle">Zapisuj Normalne Dzienne Aktywności (NDA)</string>
|
||||
<string name="LogNDASummary">Cały czas rejestruj dane w systemie udostępniania danych, aby dostarczać w tle dane dotyczące \'NDA\', w celu zmniejszenia liczby fałszywych alarmów.</string>
|
||||
<string name="cancelBtnTxt">Anuluj</string>
|
||||
</resources>
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
<string name="app_name">OpenSeizureDetector</string>
|
||||
<string name="changelog">
|
||||
"\n
|
||||
\nV4.1.3 - Fixed display of O2 Saturation in Network Data Source, and added Polish Translations by Jacek Błoniarz-Łuczak
|
||||
\nV4.1.2 - Added Machine Learning (Artificial Intelligence) Detection Algorithm Option (CNN V0.24) and 'Normal Daily Activity (NDA) logging function
|
||||
\nV4.0.7 - Improvements to Data Sharing data log manager screen.
|
||||
- Introduced the <b>Data Sharing</b> feature to allow users to share their seizure and false alarm data
|
||||
|
||||
Reference in New Issue
Block a user