V4.0.4 - Added data source name to event data, tidied upgrade changelog text.

This commit is contained in:
Graham Jones
2022-04-14 11:03:24 +01:00
parent 9148da0597
commit 9d0db26cd6
8 changed files with 5 additions and 6 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -3,7 +3,7 @@
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
package="uk.org.openseizuredetector" package="uk.org.openseizuredetector"
android:versionCode="100" android:versionCode="100"
android:versionName="4.0.4b"> android:versionName="4.0.4">
<!-- android:allowBackup="false" --> <!-- android:allowBackup="false" -->
<uses-permission android:name="android.permission.BLUETOOTH" /> <uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />

View File

@@ -72,6 +72,7 @@ public class SdData implements Parcelable {
public double mO2SatThreshMin = 80.0; public double mO2SatThreshMin = 80.0;
/* Watch App Settings */ /* Watch App Settings */
public String dataSourceName = "";
public String watchPartNo = ""; public String watchPartNo = "";
public String watchFwVersion = ""; public String watchFwVersion = "";
public String watchSdVersion = ""; public String watchSdVersion = "";
@@ -242,6 +243,7 @@ public class SdData implements Parcelable {
jsonObj.put("o2SatAlarmActive", mO2SatAlarmActive); jsonObj.put("o2SatAlarmActive", mO2SatAlarmActive);
jsonObj.put("o2SatAlarmStanding", mO2SatAlarmStanding); jsonObj.put("o2SatAlarmStanding", mO2SatAlarmStanding);
jsonObj.put("o2SatThreshMin", mO2SatThreshMin); jsonObj.put("o2SatThreshMin", mO2SatThreshMin);
jsonObj.put("dataSourceName", dataSourceName);
jsonObj.put("watchPartNo", watchPartNo); jsonObj.put("watchPartNo", watchPartNo);
jsonObj.put("watchSdName", watchSdName); jsonObj.put("watchSdName", watchSdName);
jsonObj.put("watchFwVersion", watchFwVersion); jsonObj.put("watchFwVersion", watchFwVersion);

View File

@@ -228,6 +228,7 @@ public class SdServer extends Service implements SdDataReceiver {
updatePrefs(); updatePrefs();
Log.v(TAG, "onStartCommand: Datasource =" + mSdDataSourceName); Log.v(TAG, "onStartCommand: Datasource =" + mSdDataSourceName);
mSdData.dataSourceName = mSdDataSourceName;
switch (mSdDataSourceName) { switch (mSdDataSourceName) {
case "Pebble": case "Pebble":
Log.v(TAG, "Selecting Pebble DataSource"); Log.v(TAG, "Selecting Pebble DataSource");

View File

@@ -3,11 +3,7 @@
<string name="app_name">OpenSeizureDetector</string> <string name="app_name">OpenSeizureDetector</string>
<string name="changelog"> <string name="changelog">
"\n "\n
\nV4.0.4 - Added watch info to events data \nV4.0.4
\nV4.0.3 - Changed remote database to be compatible with either OSD webAPI or future Firebase database.<br/>
- Performance improvement by having separate events and datapoints tables in local database
\nV4.0.1, 4.0.2, - fixed repoted crashes
\nV4.0.0
- Introduced the &lt;b>Data Sharing&lt;/b> feature to allow users to share their seizure and false alarm data - 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/> with researchers to help improve the system.&lt;br/>
- Fixed &lt;b>SMS Location Alerts&lt;/b> on Android V10+ (new permissions screens)&lt;br/> - Fixed &lt;b>SMS Location Alerts&lt;/b> on Android V10+ (new permissions screens)&lt;br/>

Binary file not shown.