426d363577
Modified web interface to display log files correctly (removed jquery-mobile)
Graham Jones2016-07-25 21:44:04 +01:00
121b36987b
Added beep generation to system log file.
Graham Jones2016-07-24 23:20:42 +01:00
eb6dad5e93
Increased period between pebble app re-starts to give it chance to send some data before being re-started.
Graham Jones2016-07-24 21:49:09 +01:00
0178f249c1
Created System Log file to help to trace system start-up/shut-down issues. Moved pebble specific code from OsdUtil to SdDataSoruce Pebble. Moved generic code for logging from SdDataSourcePebble to OsdUtil
Graham Jones2016-07-24 20:53:52 +01:00
f30d8b869d
Added logging function to OsdUtil so we can have a system log that can be used from outside of SdServer.
Graham Jones2016-07-24 09:07:32 +01:00
b299cc27f8
Removed some non-working code to do with raw data analysis.
Graham Jones2016-07-22 18:51:20 +01:00
4f71b024b5
Wrapped OsdUtil Toast calls in a RunOnUIThread function to avoid occasional crashes when beeping. Closes#8Graham Jones2016-07-22 18:36:40 +01:00
ffd731c85d
Added fft library ready for 'raw' analysis mode.
Graham Jones2016-07-20 23:05:26 +01:00
6edb68d306
Removed delay in startWatchApp because it crashed because of use of Handler.
Graham Jones2016-07-19 22:50:55 +01:00
85e0b811d4
v2.0.6 - removed delay in startWatchApp because it crashed because of use of handler.
Graham Jones2016-07-19 22:43:56 +01:00
354f9c6fa2
v2.0.6 - stop watch app before starting to improve reliability
Graham Jones2016-07-19 22:35:25 +01:00
d44ec7c489
Added code to stop watch app before starting it to try to improve reliability of app start.
Graham Jones2016-07-19 22:25:06 +01:00
70f251dff6
Added settings for watch debug mode and to switch the spectrum display on the watch off to save processor power.
Graham Jones2016-07-03 20:24:42 +01:00
5c392b887c
Recive data as 3 integers (x,y,z) rather than AccelData structure.
Graham Jones2016-07-01 19:54:42 +01:00
994655d55a
raw data transfer to phone working - started on adding fft analysis, but not finished.
Graham Jones2016-06-28 22:15:26 +01:00
c0d0f9ed30
Added receiving of raw data - not working yet - numSamples wrong and null pointer exception converting to AccelData class.
Graham Jones2016-06-27 22:45:43 +01:00
c871509d62
Added preferences for pebble seizure detector mode and sample frequency, and send them to watch as settings.
Graham Jones2016-06-27 20:53:09 +01:00
acb29fe72e
Got the 'install watch appp' function working to install the watch app from the phone app package.
Graham Jones2016-05-09 21:01:38 +01:00
cacbb04969
Added pebble watch app to assets folder, and added an 'installWatchApp()' function - still not working - installes from pebble store, not the pbw file...
Graham Jones2016-05-08 22:17:07 +01:00
29a7655e34
Sorted out issues with default pebbledatasource settings not being used.
Graham Jones2016-05-08 20:45:52 +01:00
6267745152
Re-hashing how we manage watch settings to make sure watch always uses the settings requested in the phone app - not working yet - not receiving data back from watch for some reason - too much settings traffic maybe?
Graham Jones2016-05-08 10:43:21 +01:00
51c277f691
V2.0.3 - fixed issue with crash during app re-start if warning beep sounding. And added logging of faults to alarm log on sd card.
Graham Jones2016-04-23 19:20:06 +01:00
9eee2b0471
Tidied up final settings screen, and called it V2.0 for publication.
Graham Jones2016-03-30 23:09:15 +01:00
02d22359b3
Modified network datasource to distinguish between network faults and faults on the main device connected to the Pebble
Graham Jones2016-03-30 21:20:56 +01:00
dc311ae079
fixex problem with multiple versions of MainActvity being started by StartUpActivity
Graham Jones2016-03-30 20:56:39 +01:00
8944cbc6d3
Sorted issue with startupActivity showing data recieved when it had not been, and disabled (non-functioning) ip camera settings.
Graham Jones2016-03-30 20:15:20 +01:00
06f6f8262c
Made startup activity scrollable so the buttons are useable on smaller screens.
Graham Jones2016-03-28 20:54:46 +01:00
ceb9fd7a0a
Test version 2.0f - added email crash report functionality.
Graham Jones2016-03-28 20:48:17 +01:00
4bd47afefa
Request settings from watch at a lower frequency than data requests.
Graham Jones2016-02-17 21:29:08 +00:00
2769094326
Added settings for data update period, mute period and manual alarm period. Altered fault timer so app does not alarm for long data periods.
Graham Jones2016-02-17 20:49:24 +00:00
f7661871ed
Added version 2.0d release candidate apk
Graham Jones2016-01-30 22:18:51 +00:00
60e51efed8
added changelog ready for V2.0 release
Graham Jones2016-01-30 21:54:23 +00:00
d89dafbfa0
Made 'Open Pebble App' compatible with either pebble classic or pebble time app, and added an 'install watch app' button to the start-up screen to allow the user to install the watch app from OpenSeizureDetector.
Graham Jones2016-01-30 21:25:07 +00:00
ba9dd89727
reduced alarm threshold from 100 to 70 to increase sensitivity if the user is lying on the watch so less movement than if it is free to move.
Graham Jones2016-01-29 21:36:51 +00:00
108e890dcc
App re-starts if settings are changed to make sure that new settings are picked up properly.
Graham Jones2016-01-16 23:03:56 +00:00
1c36fd6fa1
Fixed problem with not showing Pebble datasource settings on first run (default was set to 'pebble' not 'Pebble'.
Graham Jones2016-01-16 20:24:52 +00:00
15b1753e32
Fixed problem with not showing Pebble datasource settings on first run (default was set to 'pebble' not 'Pebble'.
Graham Jones2016-01-16 20:24:52 +00:00
ac76c9626c
Fixed mistake in default datasource - was 'undefined' - made default 'Pebble'
Graham Jones2016-01-16 20:06:44 +00:00
be7814c9b8
Moved to use v3 of Pebblekit library for compatibility with Pebble Time. - Release 2.0a for testing.
Graham Jones2016-01-16 19:16:58 +00:00
6d4c2495b8
modified build.gradle to return default values during testing.
Graham Jones2016-01-01 22:07:33 +00:00
e969da21e4
Added skeleton test structure - used Android Studio - right click on a class and sellect goto->test.
Graham Jones2016-01-01 21:35:05 +00:00
b3b8c941f8
Notification icon colour changes for warning and alarm levels. Fixed issue with multiple versions of mainactivity starting on alarm.
Graham Jones2015-12-23 23:07:28 +00:00
6d27e0dfe9
Forced faultTimer to run on UI thread using handler, because otherwise using pebble datasource gave an error about not having run Looper.prepare...
Graham Jones2015-12-23 22:14:19 +00:00
7e893758c7
Merge remote-tracking branch 'origin/v2.0' into v2.0
Graham Jones2015-12-23 21:53:51 +00:00
31997337d9
removed divide by zero errors if spectrum power is zero.
Graham Jones2015-12-23 21:41:43 +00:00
ebde242ef6
removed divide by zero errors if spectrum power is zero.
Graham Jones2015-12-23 21:41:43 +00:00
13a9c10211
Added fault timer to avoid warning beeps for short term glitches in connection.
Graham Jones2015-12-23 21:24:31 +00:00
a4cbc56d5a
move fault timer setting to alarm settings
Graham Jones2015-12-16 06:33:52 +00:00
aa3d159fec
Reinstated display of MainActivity when Alarm state entered.
Graham Jones2015-12-15 22:32:50 +00:00
db2d40879d
Tidied up UI - colours and background fill.
Graham Jones2015-12-15 22:13:18 +00:00
e7cf47f08a
Started adding IP camera viewer fragment - not working yet.
Graham Jones2015-12-15 20:47:53 +00:00
1af6e8787f
Had a go at adding a simple automatic test - can't make it work though!
Graham Jones2015-12-11 21:56:50 +00:00
71e2697a81
rounded of corners of progress bars and added visible background
Graham Jones2015-12-09 22:57:20 +00:00
159430f745
Made progress bars wider so they are easier to see.
Graham Jones2015-12-09 21:47:02 +00:00
a5af07b4cf
Fixed MainActivity crash on startup when not bound to server.
Graham Jones2015-12-09 20:46:46 +00:00
fe7cd37896
Added cancel audible button (was only present on client app, not server)
Graham Jones2015-12-08 18:53:43 +00:00
9826fda1ba
Moved web server to separate file to simplify SdServer, and fixed issue with fault alarms not being raised over network connection.
Graham Jones2015-12-08 18:28:14 +00:00
ba13ae226c
Reinstated pebble settings preference screen - it had got lost by accident...
Graham Jones2015-11-29 10:23:43 +00:00
9a49794428
Network data source now working, but needs testing still.
Graham Jones2015-11-28 22:54:06 +00:00
95c9cde8a3
Added a couple of stray resources files (not sure if they are used or not....)
Graham Jones2015-11-28 20:39:56 +00:00
c8f1430829
Added indicators to show margin to alarm for both spectral power and ratio.
Graham Jones2015-11-24 22:16:27 +00:00
ce30cb53cb
Added functionality to switch data sources (network data source does not work yet though!).
Graham Jones2015-11-22 07:21:51 +00:00
856b3c5d3d
Modified mainactivity to use generic utilities. Added more rows to startup screen.
Graham Jones2015-11-20 22:58:26 +00:00
63604bc25b
Modified notification to prevent more than one version of MainActivity being open at once. May not work completely!
Graham Jones2015-11-18 23:28:05 +00:00
c69ce006ce
Added startup screen that displays while background servie is started and while waiting for first data to arrive from seizure detector.
Graham Jones2015-11-18 19:44:46 +00:00
65d7731c0b
Added a simple 'about' dialog box with menu item to show it.
Graham Jones2015-11-17 23:02:40 +00:00
16a9207ded
Split preferences into different screens to make them simpler, and enable and disable screens depending on options selected.
Graham Jones2015-11-17 17:07:13 +00:00
f5e5c7e093
Started v2.0 of android app - re-factored so the service uses a datasource to populate the SdData class - so that we can make different data sources in the future.
Graham Jones2015-11-16 23:03:20 +00:00
9619375b49
Added Accept Alarm button to main screen as it is hard to find in the menu.
Graham Jones2015-11-11 20:58:39 +00:00
3b240e3a54
Added alarm latching option to SD Server app.
Graham Jones2015-11-10 23:09:22 +00:00
eec87aedd7
Added experimental support for fall detection, with ability to change fall detection settings from android app.
Graham Jones2015-11-10 18:14:51 +00:00
6879f1a116
Added flag to switch fall detection on and off (default=off)
Graham Jones2015-11-10 17:26:28 +00:00
6dcff85c7a
Simple threshold based fall detector added to pebble seizure detector.
Graham Jones2015-11-09 19:12:49 +00:00
bdfa9a3a21
Updated to make telephony access optional, so it will be listed as suitable for tablet computers as well as phones on Play Store.
Graham Jones2015-09-24 20:37:08 +01:00