Bertrand Lemasle
|
8f07a185c5
|
Using snprintf instead of sprintf to build sms message
|
pirms 6 gadiem |
Bertrand Lemasle
|
d0ef217f75
|
Reworked code to fix missing network::powerOff in notifyFailures
|
pirms 6 gadiem |
Bertrand Lemasle
|
95b43e3f44
|
Added a fourth alert (RTC clock halt) and saving active alerts to eeprom to survive resets
|
pirms 6 gadiem |
Bertrand Lemasle
|
3b08d64b1f
|
sprintf on arduino cannot handle %.2f format, using temperature * 100 as in the position csv format
|
pirms 6 gadiem |
Bertrand Lemasle
|
6bc833750d
|
Fixed bad use of constant. notifyFailures does not manage the state save of notified failures.
|
pirms 6 gadiem |
Bertrand Lemasle
|
250b5b3371
|
Added SMS send code to core::notifyFailures
|
pirms 6 gadiem |
Bertrand Lemasle
|
8d51ceb975
|
Added alerts notification and clearance in the main core function
|
pirms 6 gadiem |
Bertrand Lemasle
|
c7063a5698
|
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.
|
pirms 6 gadiem |
Bertrand Lemasle
|
0894a1cb0e
|
Fixed long pause detection would never occur because of the use of max instead of min
|
pirms 7 gadiem |
Bertrand Lemasle
|
5e220b23b2
|
[Untested] Reset StoppedInARow if gap between the previous and current position is more than a default value (try to detect missed positions)
|
pirms 7 gadiem |
Bertrand Lemasle
|
deaf10ed53
|
Stopped at boot up means going to long sleep. Fixed long sleep would result in a backup each time
|
pirms 7 gadiem |
Bertrand Lemasle
|
6b41da4c9a
|
Ability to force backup. Forcing backup when "stopping"
|
pirms 7 gadiem |
Bertrand Lemasle
|
eeee73206c
|
Sleep time computation algorithm adjustements
|
pirms 7 gadiem |
Bertrand Lemasle
|
404fccca5b
|
Enabling network before acquiring gps position to save some time. Reduced timeouts
|
pirms 7 gadiem |
Bertrand Lemasle
|
f687c9d11a
|
Adjusted log level : verbose is really in a case of a hard debugging session
|
pirms 7 gadiem |
Bertrand Lemasle
|
1b8e898a9b
|
Introduced speed timing variations based on time of the day
|
pirms 7 gadiem |
Bertrand Lemasle
|
6a2a305cd1
|
Adjusted log levels
|
pirms 7 gadiem |
Bertrand Lemasle
|
01f3a488a1
|
Added some code to reduce the effect of a gps fix that would indicate no speed, leaving the device in sleep mode for too long
|
pirms 7 gadiem |
Bertrand Lemasle
|
b64990c0a5
|
Code cleanup after DS3231 trim
|
pirms 7 gadiem |
Bertrand Lemasle
|
33ad3149d9
|
Added structure for sd card positions backup implementation
|
pirms 7 gadiem |
Bertrand Lemasle
|
2d9121855c
|
Changed useless pass by ref argument in gps::getVelocity
|
pirms 7 gadiem |
Bertrand Lemasle
|
06c331ce41
|
Code cleanup
|
pirms 7 gadiem |
Bertrand Lemasle
|
8ff02bf6c2
|
Added timeToFix to each position entry, reorganized code a bit to withdraw responsabilities from core::main
|
pirms 7 gadiem |
Bertrand Lemasle
|
c0107ab80e
|
Implemented temperature reading and logging
|
pirms 7 gadiem |
Bertrand Lemasle
|
ed7a10e47e
|
Added sleep debug function and NOTICE_XXX macros
|
pirms 7 gadiem |
Bertrand Lemasle
|
6e0060c432
|
Removed useless calls to rtc::powerOn && rtc::powerOff
|
pirms 7 gadiem |
Bertrand Lemasle
|
3c9a53a6c0
|
Improved logs
|
pirms 7 gadiem |
Bertrand Lemasle
|
4c76a75e65
|
Implemented config and positions saving to eeprom.
|
pirms 7 gadiem |
Bertrand Lemasle
|
65afc63249
|
Redesigned main loop to allow for debug programs and commands
|
pirms 7 gadiem |
Bertrand Lemasle
|
0d24ef07e3
|
Using define instead of magic numbers. Started to implement speed vs sleep time logic
|
pirms 7 gadiem |
Bertrand Lemasle
|
bf9c9d58ca
|
Cleaned unnecessary code
|
pirms 7 gadiem |
Bertrand Lemasle
|
a8b9d65327
|
Started building major bricks and global algorithm
|
pirms 7 gadiem |