V4.2.2 - Added support for OSD status reporting to PineTime watches
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
OpenSeizureDetector Android App - Change Log
|
OpenSeizureDetector Android App - Change Log
|
||||||
============================================
|
============================================
|
||||||
|
V4.2.2 - Added support for PineTime OSD Status reporting.
|
||||||
V4.2.1 - Added support for PineTime wathes using the Bluetooth Data Source
|
V4.2.1 - Added support for PineTime wathes using the Bluetooth Data Source
|
||||||
V4.1.0 - Added experimental support for neural network based seizure detector.
|
V4.1.0 - Added experimental support for neural network based seizure detector.
|
||||||
V4.0.7 - Improvements to Data Sharing data log manager screen
|
V4.0.7 - Improvements to Data Sharing data log manager screen
|
||||||
|
|||||||
Binary file not shown.
@@ -111,6 +111,7 @@ public class SdDataSourceBLE extends SdDataSource {
|
|||||||
|
|
||||||
public static String SERV_INFINITIME_MOTION = "00030000-78fc-48fe-8e23-433b3a1942d0";
|
public static String SERV_INFINITIME_MOTION = "00030000-78fc-48fe-8e23-433b3a1942d0";
|
||||||
public static String CHAR_INFINITIME_ACC_DATA = "00030002-78fc-48fe-8e23-433b3a1942d0";
|
public static String CHAR_INFINITIME_ACC_DATA = "00030002-78fc-48fe-8e23-433b3a1942d0";
|
||||||
|
public static String CHAR_INFINITIME_OSD_STATUS = "00030078-78fc-48fe-8e23-433b3a1942d0";
|
||||||
|
|
||||||
public static String CHAR_BATT_DATA = "00002a19-0000-1000-8000-00805f9b34fb";
|
public static String CHAR_BATT_DATA = "00002a19-0000-1000-8000-00805f9b34fb";
|
||||||
public static String SERV_BATT = "0000180f-0000-1000-8000-00805f9b34fb";
|
public static String SERV_BATT = "0000180f-0000-1000-8000-00805f9b34fb";
|
||||||
@@ -322,6 +323,9 @@ public class SdDataSourceBLE extends SdDataSource {
|
|||||||
mOsdChar = gattCharacteristic;
|
mOsdChar = gattCharacteristic;
|
||||||
mAccFmt = ACC_FMT_3D; // Infinitime presents x, y, z data
|
mAccFmt = ACC_FMT_3D; // Infinitime presents x, y, z data
|
||||||
setCharacteristicNotification(gattCharacteristic, true);
|
setCharacteristicNotification(gattCharacteristic, true);
|
||||||
|
} else if (charUuidStr.equals(CHAR_INFINITIME_OSD_STATUS)) {
|
||||||
|
Log.i(TAG, "Found Infinitime OSD Status Characteristic");
|
||||||
|
mStatusChar = gattCharacteristic;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (uuidStr.equals(SERV_BATT)) {
|
} else if (uuidStr.equals(SERV_BATT)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user