809531a
Fix network not being powered off if not available by
2018-08-06 12:23:47 +1200
4e7fa88
Added intellisense configuration file by
2018-08-05 23:18:50 +1200
a371b85
Added workspace to scm by
2018-08-05 23:03:23 +1200
cb6bacf
Moved files around for vscode by
2018-08-05 22:56:14 +1200
ac38f7b
Reduced conditions for allerts triggering and clearing (-46 bytes) by
2018-08-05 21:31:47 +1200
6c45715
Merge branch 'alerts' into code-reduction by
2018-08-05 20:53:34 +1200
32e0588
debug::notifyFailures now calls alerts::add by
2018-08-05 19:10:40 +1200
d2f3afa
Moved line return at the beginning of each line. by
2018-08-05 19:09:54 +1200
b99b782
Fixed using bad parameter for battery alerts clearance by
2018-08-05 19:09:05 +1200
c5c91b7
Moved notifyFailures alerts to match alerts bits by
2018-08-05 17:36:58 +1200
741947d
Fixed start of sms message not at the start of the buffer by
2018-08-05 17:35:27 +1200
82a00d3
Fix gps & network powered count could go to 255 by
2018-08-05 17:34:28 +1200
9882a9d
Additional debug info for getTime and notifyFailures by
2018-08-05 17:06:15 +1200
28efbe5
Moved alerts code to match alerts bits definition by
2018-08-05 17:05:08 +1200
75b3b1a
Fixed alerts not starting at first bit by
2018-08-05 17:04:11 +1200
ff3cdc3
Merge branch 'master' into alerts by
2018-08-05 16:27:51 +1200
a767fe6
Fixed respondeCode was evaluated to a boolean by
2018-08-05 16:26:41 +1200
f1bf52a
Merge branch 'code-reduction' into alerts by
2018-08-04 22:05:15 +1200
4a94de3
Reworked config reset code to avoid static init that eats SRAM by
2018-08-04 21:56:27 +1200
0bc78be
Added reserved space is the case where network backup is disabled by
2018-08-04 21:35:40 +1200
25bad44
Fixed bad conditional compilation location by
2018-08-04 21:34:24 +1200
9655908
Using printf with entry.position instead of strcat (-24 bytes) by
2018-08-04 21:24:46 +1200
9d77538
Merge branch 'code-reduction' into alerts by
2018-08-04 21:19:50 +1200
56fa127
Using a PROGMEM string for sms buffer init. Side effects : avoid gcc optimization that declares the buffer as a global variable, which overflow the available SRAM by
2018-08-04 21:17:55 +1200
94d0b53
Revert "Using a common buffer for both http and sms" by
2018-08-04 21:15:26 +1200
5aa4eed
Using a common buffer for both http and sms by
2018-08-04 20:13:43 +1200
c00f4f4
Using a PROGMEM format string for http body formatting by
2018-08-04 20:06:44 +1200
9c38ff5
Long awaited bug fix about all eeprom positions being sent again by
2018-08-04 19:48:28 +1200
1083522
Added clear alerts debug command by
2018-08-04 18:07:54 +1200
ca97ccd
Added CONFIG_DEFAULT_ACTIVE_ALERTS constant for readibility by
2018-08-04 18:00:04 +1200
da048d6
Explained values in debug notifyFailures by
2018-08-04 17:48:26 +1200
d5dfd3a
Renamed debug notify failures entry by
2018-08-04 17:31:39 +1200
6ec9d19
Moved contact phone number inside sendSms (since there is one number, no need for core to know it) by
2018-08-04 17:24:51 +1200
8b01ba9
Reduced code size by refactoring sms buffer management by
2018-08-04 17:20:05 +1200
c303ca8
Moved and renamed code for clarity by
2018-08-04 16:54:20 +1200
1c69e88
Increased SMS buffer size to match possible all messages by
2018-08-04 16:30:31 +1200
43a4c8c
Optimized alert messaging creation using flash string by
2018-08-04 16:27:39 +1200
e2bfba4
Sadly, version string must do exactly 4 chars to avoid leaving traces of old version string by
2018-08-04 15:24:53 +1200
593fd71
Removed additional activeAlerts format parameter in config write by
2018-08-04 15:20:59 +1200
390d9d2
Using binary format for active alerts config values notice by
2018-08-04 15:20:00 +1200
472f788
Fixed bad condition for battery level alerts clearance by
2018-08-04 15:15:24 +1200
2d4bd35
Disable rewrite of config values (only here for the first run on old firmwares) by
2018-08-04 15:01:31 +1200
cde06ee
Firmware version bump by
2018-08-04 14:58:33 +1200
083d716
Added NOTICE to sendSms. Reached 100% of program space (150 bytes left) by
2018-08-04 14:40:41 +1200
8f07a18
Using snprintf instead of sprintf to build sms message by
2018-08-04 14:37:23 +1200
d0ef217
Reworked code to fix missing network::powerOff in notifyFailures by
2018-08-03 22:01:13 +1200
95b43e3
Added a fourth alert (RTC clock halt) and saving active alerts to eeprom to survive resets by
2018-08-03 21:58:05 +1200
d8945d7
Added code size comments on config structs by
2018-08-03 21:06:27 +1200
a2ab0c9
Updated config read and write debug NOTICE with added configuration values by
2018-08-03 21:00:59 +1200
18648de
Added failure sms debug function and menu entry by
2018-08-03 20:56:37 +1200
0ed68ee
Removed useless NOTICE call by
2018-08-03 20:56:06 +1200
dea753d
Renamed ALERT_RTC_TEMPERATURE_FAILURE to ALERT_SUSPICIOUS_RTC_TEMPERATURE by
2018-08-03 20:55:45 +1200
3b08d64
sprintf on arduino cannot handle %.2f format, using temperature * 100 as in the position csv format by
2018-08-03 20:44:21 +1200
4b04934
Added config value & initialization temporary code by
2018-08-03 20:41:12 +1200
3a5357a
Fixed bad definition of core::notifyFailures by
2018-08-03 20:30:38 +1200
93b97e3
Added handle count of gps and network instances by
2018-08-03 20:28:13 +1200
6bc8337
Fixed bad use of constant. notifyFailures does not manage the state save of notified failures. by
2018-08-03 20:11:18 +1200
250b5b3
Added SMS send code to core::notifyFailures by
2018-08-03 18:38:24 +1200
8d51ceb
Added alerts notification and clearance in the main core function by
2018-08-03 18:32:57 +1200
b538bd0
Fill metadata values even if the GPS fix isn't acquired. by
2018-08-02 23:31:22 +1200
c7063a5
Moved RTC time update from GPS to Core workflow rather than position acquisition. Avoid edge cases where the spend time measurement could be wrong because of time update in between the two measure points. by
2018-08-02 23:13:45 +1200
b63912b
Added relativeToPowerOnTime to waitForRegistered, allowing to efficiently wait for the network accross the firmware by
2018-08-02 22:59:01 +1200
701043b
Added alerts conditions and framework by
2018-08-02 22:35:07 +1200
4c3f2ed
Merge branch 'pause-improvments' by
2018-08-02 22:26:02 +1200
70db8ae
Reported overflow prevention from pause detection to bad network detection code by
2018-05-20 22:19:35 +1200
0894a1c
Fixed long pause detection would never occur because of the use of max instead of min by
2018-05-20 22:18:57 +1200
2541943
Added verbose debug message in getDistanceFromPrevious by
2018-05-16 17:58:30 +1200
5e220b2
[Untested] Reset StoppedInARow if gap between the previous and current position is more than a default value (try to detect missed positions) by
2018-05-16 16:34:09 +1200
deaf10e
Stopped at boot up means going to long sleep. Fixed long sleep would result in a backup each time by
2018-05-03 23:39:52 +1200
da9f958
Fixed power off commands being issued on a powered off device force waiting for timeouts by
2018-05-03 20:11:22 +1200
dd49cc3
Fixed network not being turned off (resulting in sim808 not being turned off) because of prepare turning it on by
2018-05-03 18:07:43 +1200
6b41da4
Ability to force backup. Forcing backup when "stopping" by
2018-05-03 17:33:21 +1200
ebfc169
Fixed positions count from index, used to determine if backup is needed by
2018-04-29 21:33:57 +1200
0cd271c
When network is not available for the time being, postponing the backup to a later time to avoid eating the battery for nothing by
2018-04-29 20:54:16 +1200
eeee732
Sleep time computation algorithm adjustements by
2018-04-29 20:22:08 +1200
12aa8fb
Fixed alteration of config in ram that prevent appropriate save of positions once the maximum has been reached by
2018-04-01 23:43:03 +1200
ce182f6
Fixed intermediate timeout and data being incomplete / malformed by
2018-03-29 00:04:06 +1300
f6cb167
Correctly implemented join timeout between gps & network. Adjusted timeouts by
2018-03-25 00:16:32 +1300
404fccc
Enabling network before acquiring gps position to save some time. Reduced timeouts by
2018-03-24 22:59:37 +1300
589acf1
Merge branch 'network-backup' by
2018-03-24 21:21:51 +1300
c24b2c1
Added some log to acquireCurrentPosition by
2018-03-24 21:21:07 +1300
b75f486
Fixed constant string being declared in RAM by
2018-03-24 21:19:30 +1300
6a6b606
Removed debug menu SD_WRITE_TEST as sd card support will probably never make it back by
2018-03-24 21:18:07 +1300
f687c9d
Adjusted log level : verbose is really in a case of a hard debugging session by
2018-03-24 21:16:01 +1300
89fbf75
Increase conditions before bailing out because of a poor quality network by
2018-03-24 20:40:34 +1300
2575be5
Enabled network backup to real server by
2018-03-24 20:15:15 +1300
16a50cf
The gps tracker server now has its own repository by
2018-03-21 22:14:34 +1300
32be4cf
Started some real work around a gps tracker postions server. by
2018-03-21 16:37:32 +1300
ba971f7
Introduced constant for the "no network" bail out by
2018-03-21 15:18:59 +1300
b8aed99
Added project for python server that will receive gps tracker positions by
2018-03-21 15:17:16 +1300
e77f5aa
Gave some more space for the "no network" bail out by
2018-03-21 15:16:46 +1300
9ccd312
Sending freeRam and gsm signal attenuation along with position for debugging purpose by
2018-03-21 15:16:25 +1300
f47ab93
Changed network backup configuration by
2018-03-21 15:15:33 +1300
cb75225
Cleaned up code of freeRam debugs. Cleaned commented code by
2018-03-21 15:15:13 +1300
2273ed1
Adjusted sleep timings by
2018-03-20 23:20:20 +1300
f5b38fe
Do not wait the full time when no gsm signal can be found by
2018-03-19 22:44:29 +1300
c12fc78
Fix sleep time at night by
2018-03-19 22:31:40 +1300
1b8e898
Introduced speed timing variations based on time of the day by
2018-03-18 22:37:53 +1300
27c290d
Added detected velocity and sleep timing when setting false gps coordinate by
2018-03-18 21:38:56 +1300
6b19ce9
Adjusted speed timings by
2018-03-18 17:36:03 +1300