Commit Graph

446 Commits

Author SHA1 Message Date
Graham Jones
426d363577 Modified web interface to display log files correctly (removed jquery-mobile) 2016-07-25 21:44:04 +01:00
Graham Jones
121b36987b Added beep generation to system log file. 2016-07-24 23:20:42 +01:00
Graham Jones
eb6dad5e93 Increased period between pebble app re-starts to give it chance to send some data before being re-started. 2016-07-24 21:49:09 +01:00
Graham Jones
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 2016-07-24 20:53:52 +01:00
Graham Jones
f30d8b869d Added logging function to OsdUtil so we can have a system log that can be used from outside of SdServer. 2016-07-24 09:07:32 +01:00
Graham Jones
b299cc27f8 Removed some non-working code to do with raw data analysis. 2016-07-22 18:51:20 +01:00
Graham Jones
4f71b024b5 Wrapped OsdUtil Toast calls in a RunOnUIThread function to avoid occasional crashes when beeping. Closes #8 2016-07-22 18:36:40 +01:00
Graham Jones
ffd731c85d Added fft library ready for 'raw' analysis mode. 2016-07-20 23:05:26 +01:00
Graham Jones
6edb68d306 Removed delay in startWatchApp because it crashed because of use of Handler. 2016-07-19 22:50:55 +01:00
Graham Jones
85e0b811d4 v2.0.6 - removed delay in startWatchApp because it crashed because of use of handler. 2016-07-19 22:43:56 +01:00
Graham Jones
354f9c6fa2 v2.0.6 - stop watch app before starting to improve reliability 2016-07-19 22:35:25 +01:00
Graham Jones
d44ec7c489 Added code to stop watch app before starting it to try to improve reliability of app start. 2016-07-19 22:25:06 +01:00
Graham Jones
70f251dff6 Added settings for watch debug mode and to switch the spectrum display on the watch off to save processor power. 2016-07-03 20:24:42 +01:00
Graham Jones
5c392b887c Recive data as 3 integers (x,y,z) rather than AccelData structure. 2016-07-01 19:54:42 +01:00
Graham Jones
5bf50d8c7c Merge branch 'v2.0.x' of https://github.com/OpenSeizureDetector/Android_Pebble_SD into v2.0.x 2016-06-30 19:37:14 +01:00
Graham Jones
994655d55a raw data transfer to phone working - started on adding fft analysis, but not finished. 2016-06-28 22:15:26 +01:00
Graham Jones
c0d0f9ed30 Added receiving of raw data - not working yet - numSamples wrong and null pointer exception converting to AccelData class. 2016-06-27 22:45:43 +01:00
Graham Jones
c871509d62 Added preferences for pebble seizure detector mode and sample frequency, and send them to watch as settings. 2016-06-27 20:53:09 +01:00
Graham Jones
68478e3be0 Merge branch 'v2.0.x' of https://github.com/OpenSeizureDetector/Android_Pebble_SD into v2.0.x 2016-06-27 17:35:17 +01:00
Graham Jones
9dce8c6237 update gradel 2016-06-27 17:35:07 +01:00
Graham Jones
9612b7c639 Updated gradle tools 2016-06-26 15:13:33 +01:00
Graham Jones
fca8c4778e Updated version number 2016-06-18 21:17:42 +01:00
Graham Jones
bde99a6ce0 Release v2.0.4 - see CHANGELOG.md 2016-05-14 22:23:02 +01:00
Graham Jones
51db370411 Fixed missing axis labels on chart (drawing black on a black background..) 2016-05-10 22:12:02 +01:00
Graham Jones
33e77c51f9 Changed bar colours to represent AlarmFreqMin and AlarmFreqMax settings 2016-05-10 21:12:43 +01:00
Graham Jones
15205f3c94 Prevent startup activity from sleeping. Changed mainactivity graph to bar chart. 2016-05-10 20:47:48 +01:00
Graham Jones
28f26f8d38 Chnaged main screen graph to bar chart. 2016-05-09 22:48:41 +01:00
Graham Jones
8f98e86c83 removed .iml files from git tracking. 2016-05-09 21:03:06 +01:00
Graham Jones
acb29fe72e Got the 'install watch appp' function working to install the watch app from the phone app package. 2016-05-09 21:01:38 +01:00
Graham Jones
cacbb04969 Added pebble watch app to assets folder, and added an 'installWatchApp()' function - still not working - installes from pebble store, not the pbw file... 2016-05-08 22:17:07 +01:00
Graham Jones
29a7655e34 Sorted out issues with default pebbledatasource settings not being used. 2016-05-08 20:45:52 +01:00
Graham Jones
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? 2016-05-08 10:43:21 +01:00
Graham Jones
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. 2016-04-23 19:20:06 +01:00
Graham Jones
5cc6c83048 Packaged v2.0.2 for release. 2016-04-13 20:50:58 +01:00
Graham Jones
11d9d1c85c Modified sdServer to use a single ToneGenerator instance rather than create a new one for each beep. 2016-04-08 21:51:12 +01:00
Graham Jones
5beefb5a6b Added GPL Licence file 2016-04-04 21:39:02 +01:00
Graham Jones
916d03fc1e Closes #5 - failure to raise fault alarm if watch disconnects from phone. 2016-04-02 21:36:23 +01:00
Graham Jones
e2bab49e65 Added v2.0 compiled apk. 2016-03-30 23:14:21 +01:00
Graham Jones
9eee2b0471 Tidied up final settings screen, and called it V2.0 for publication. 2016-03-30 23:09:15 +01:00
Graham Jones
02d22359b3 Modified network datasource to distinguish between network faults and faults on the main device connected to the Pebble 2016-03-30 21:20:56 +01:00
Graham Jones
dc311ae079 fixex problem with multiple versions of MainActvity being started by StartUpActivity 2016-03-30 20:56:39 +01:00
Graham Jones
8944cbc6d3 Sorted issue with startupActivity showing data recieved when it had not been, and disabled (non-functioning) ip camera settings. 2016-03-30 20:15:20 +01:00
Graham Jones
06f6f8262c Made startup activity scrollable so the buttons are useable on smaller screens. 2016-03-28 20:54:46 +01:00
Graham Jones
ceb9fd7a0a Test version 2.0f - added email crash report functionality. 2016-03-28 20:48:17 +01:00
Graham Jones
4bd47afefa Request settings from watch at a lower frequency than data requests. 2016-02-17 21:29:08 +00:00
Graham Jones
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. 2016-02-17 20:49:24 +00:00
Graham Jones
f7661871ed Added version 2.0d release candidate apk 2016-01-30 22:18:51 +00:00
Graham Jones
60e51efed8 added changelog ready for V2.0 release 2016-01-30 21:54:23 +00:00
Graham Jones
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. 2016-01-30 21:25:07 +00:00
Graham Jones
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. 2016-01-29 21:36:51 +00:00