Bertrand Lemasle
|
506ecc3e49
|
Removed DEFAULT from all constants
|
před 6 roky |
Bertrand Lemasle
|
3b431c2390
|
Moved triggered notice up a bit so it is diplayed in all cases
|
před 6 roky |
Bertrand Lemasle
|
3abdc2edcd
|
Added a new ABOUT_TO_STOP state to manage prepare and backup power adequality
|
před 6 roky |
Bertrand Lemasle
|
c417f4198f
|
Rework log defines for clarity
|
před 6 roky |
Bertrand Lemasle
|
816301be51
|
Updated GpsTracker with recent changes from sim808
(cherry picked from commit 275bc46688 )
|
před 6 roky |
Bertrand Lemasle
|
5831dca9a2
|
Applied changes from uDS3231 rewrite
|
před 6 roky |
Bertrand Lemasle
|
af60126a40
|
Serial cannot be detected, so alert SMS were never sent.
|
před 6 roky |
Bertrand Lemasle
|
19408cd24a
|
Cleaned includes in header files
|
před 6 roky |
Bertrand Lemasle
|
ffc030d011
|
Moved defines and include around
|
před 6 roky |
Bertrand Lemasle
|
c7b491f1f1
|
Changed rtc::getTemperature to an in16_t (-214 bytes)
With this change, EEPROM historic data is unusable so version bump + config seed change
|
před 6 roky |
Bertrand Lemasle
|
7cc36c6258
|
Avoid backup while the tracker is moving
|
před 6 roky |
Bertrand Lemasle
|
e072cadbc2
|
Moved all source files inside a src folder
|
před 6 roky |
Bertrand Lemasle
|
5cd3f2e09b
|
Clear the active alerts first
|
před 6 roky |
Bertrand Lemasle
|
0d68f8766d
|
Display alerts on Serial when available to avoid SMS costs while debugging
|
před 6 roky |
Bertrand Lemasle
|
5498b9ae67
|
Remove intermediate variable (-48 bytes)
|
před 6 roky |
Bertrand Lemasle
|
818faef87b
|
Reduced code size when only one backup method is enabled (22 bytes)
|
před 6 roky |
Bertrand Lemasle
|
2af81daeaa
|
Reduced hex size by reversing if condition (-33bytes)
|
před 6 roky |
Bertrand Lemasle
|
809531acce
|
Fix network not being powered off if not available
|
před 6 roky |
Bertrand Lemasle
|
cb6bacfde5
|
Moved files around for vscode
|
před 6 roky |
Bertrand Lemasle
|
d2f3afae42
|
Moved line return at the beginning of each line.
|
před 6 roky |
Bertrand Lemasle
|
c5c91b7eea
|
Moved notifyFailures alerts to match alerts bits
|
před 6 roky |
Bertrand Lemasle
|
741947db3d
|
Fixed start of sms message not at the start of the buffer
|
před 6 roky |
Bertrand Lemasle
|
56fa127bb7
|
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
|
před 6 roky |
Bertrand Lemasle
|
94d0b53a8e
|
Revert "Using a common buffer for both http and sms"
This reverts commit 3cfc7074d1 .
Common buffer implies that the buffer goes to static memory, which overflow the available SRAM.
|
před 6 roky |
Bertrand Lemasle
|
5aa4eed174
|
Using a common buffer for both http and sms
|
před 6 roky |
Bertrand Lemasle
|
6ec9d19094
|
Moved contact phone number inside sendSms (since there is one number, no need for core to know it)
|
před 6 roky |
Bertrand Lemasle
|
8b01ba9a5a
|
Reduced code size by refactoring sms buffer management
|
před 6 roky |
Bertrand Lemasle
|
c303ca86fc
|
Moved and renamed code for clarity
|
před 6 roky |
Bertrand Lemasle
|
1c69e884b0
|
Increased SMS buffer size to match possible all messages
|
před 6 roky |
Bertrand Lemasle
|
43a4c8c7af
|
Optimized alert messaging creation using flash string
|
před 6 roky |
Bertrand Lemasle
|
8f07a185c5
|
Using snprintf instead of sprintf to build sms message
|
před 6 roky |
Bertrand Lemasle
|
d0ef217f75
|
Reworked code to fix missing network::powerOff in notifyFailures
|
před 6 roky |
Bertrand Lemasle
|
95b43e3f44
|
Added a fourth alert (RTC clock halt) and saving active alerts to eeprom to survive resets
|
před 6 roky |
Bertrand Lemasle
|
3b08d64b1f
|
sprintf on arduino cannot handle %.2f format, using temperature * 100 as in the position csv format
|
před 6 roky |
Bertrand Lemasle
|
6bc833750d
|
Fixed bad use of constant. notifyFailures does not manage the state save of notified failures.
|
před 6 roky |
Bertrand Lemasle
|
250b5b3371
|
Added SMS send code to core::notifyFailures
|
před 6 roky |
Bertrand Lemasle
|
8d51ceb975
|
Added alerts notification and clearance in the main core function
|
před 6 roky |
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.
|
před 6 roky |
Bertrand Lemasle
|
0894a1cb0e
|
Fixed long pause detection would never occur because of the use of max instead of min
|
před 7 roky |
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)
|
před 7 roky |
Bertrand Lemasle
|
deaf10ed53
|
Stopped at boot up means going to long sleep. Fixed long sleep would result in a backup each time
|
před 7 roky |
Bertrand Lemasle
|
6b41da4c9a
|
Ability to force backup. Forcing backup when "stopping"
|
před 7 roky |
Bertrand Lemasle
|
eeee73206c
|
Sleep time computation algorithm adjustements
|
před 7 roky |
Bertrand Lemasle
|
404fccca5b
|
Enabling network before acquiring gps position to save some time. Reduced timeouts
|
před 7 roky |
Bertrand Lemasle
|
f687c9d11a
|
Adjusted log level : verbose is really in a case of a hard debugging session
|
před 7 roky |
Bertrand Lemasle
|
1b8e898a9b
|
Introduced speed timing variations based on time of the day
|
před 7 roky |
Bertrand Lemasle
|
6a2a305cd1
|
Adjusted log levels
|
před 7 roky |
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
|
před 7 roky |
Bertrand Lemasle
|
b64990c0a5
|
Code cleanup after DS3231 trim
|
před 7 roky |
Bertrand Lemasle
|
33ad3149d9
|
Added structure for sd card positions backup implementation
|
před 7 roky |