V4.0.1b - added pSeizure to data returned by web interface.

This commit is contained in:
Graham Jones
2022-09-23 22:53:23 +01:00
parent 2318af9be7
commit bcb74b1fa0
2 changed files with 5 additions and 2 deletions

View File

@@ -2,8 +2,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
package="uk.org.openseizuredetector" package="uk.org.openseizuredetector"
android:versionCode="104" android:versionCode="105"
android:versionName="4.1.0a"> android:versionName="4.1.0b">
<!-- 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

@@ -318,6 +318,9 @@ public class SdData implements Parcelable {
jsonObj.put("o2SatAlarmStanding", mO2SatAlarmStanding); jsonObj.put("o2SatAlarmStanding", mO2SatAlarmStanding);
jsonObj.put("o2SatThreshMin", mO2SatThreshMin); jsonObj.put("o2SatThreshMin", mO2SatThreshMin);
jsonObj.put("o2Sat", mO2Sat); jsonObj.put("o2Sat", mO2Sat);
jsonObj.put("cnnAlarmActive", mCnnAlarmActive);
jsonObj.put("pSeizure", mPseizure);
JSONArray arr = new JSONArray(); JSONArray arr = new JSONArray();
for (int i = 0; i < simpleSpec.length; i++) { for (int i = 0; i < simpleSpec.length; i++) {
arr.put(simpleSpec[i]); arr.put(simpleSpec[i]);