Bertrand Lemasle
|
d5dfd3a461
|
Renamed debug notify failures entry
|
преди 6 години |
Bertrand Lemasle
|
6ec9d19094
|
Moved contact phone number inside sendSms (since there is one number, no need for core to know it)
|
преди 6 години |
Bertrand Lemasle
|
8b01ba9a5a
|
Reduced code size by refactoring sms buffer management
|
преди 6 години |
Bertrand Lemasle
|
c303ca86fc
|
Moved and renamed code for clarity
|
преди 6 години |
Bertrand Lemasle
|
1c69e884b0
|
Increased SMS buffer size to match possible all messages
|
преди 6 години |
Bertrand Lemasle
|
43a4c8c7af
|
Optimized alert messaging creation using flash string
|
преди 6 години |
Bertrand Lemasle
|
e2bfba407f
|
Sadly, version string must do exactly 4 chars to avoid leaving traces of old version string
|
преди 6 години |
Bertrand Lemasle
|
593fd71e98
|
Removed additional activeAlerts format parameter in config write
|
преди 6 години |
Bertrand Lemasle
|
390d9d2aca
|
Using binary format for active alerts config values notice
|
преди 6 години |
Bertrand Lemasle
|
472f788e73
|
Fixed bad condition for battery level alerts clearance
|
преди 6 години |
Bertrand Lemasle
|
2d4bd35c63
|
Disable rewrite of config values (only here for the first run on old firmwares)
|
преди 6 години |
Bertrand Lemasle
|
cde06ee4ba
|
Firmware version bump
|
преди 6 години |
Bertrand Lemasle
|
083d716384
|
Added NOTICE to sendSms. Reached 100% of program space (150 bytes left)
|
преди 6 години |
Bertrand Lemasle
|
8f07a185c5
|
Using snprintf instead of sprintf to build sms message
|
преди 6 години |
Bertrand Lemasle
|
d0ef217f75
|
Reworked code to fix missing network::powerOff in notifyFailures
|
преди 6 години |
Bertrand Lemasle
|
95b43e3f44
|
Added a fourth alert (RTC clock halt) and saving active alerts to eeprom to survive resets
|
преди 6 години |
Bertrand Lemasle
|
d8945d75d2
|
Added code size comments on config structs
|
преди 6 години |
Bertrand Lemasle
|
a2ab0c916c
|
Updated config read and write debug NOTICE with added configuration values
|
преди 6 години |
Bertrand Lemasle
|
18648de136
|
Added failure sms debug function and menu entry
|
преди 6 години |
Bertrand Lemasle
|
0ed68eeca1
|
Removed useless NOTICE call
|
преди 6 години |
Bertrand Lemasle
|
dea753de7e
|
Renamed ALERT_RTC_TEMPERATURE_FAILURE to ALERT_SUSPICIOUS_RTC_TEMPERATURE
|
преди 6 години |
Bertrand Lemasle
|
3b08d64b1f
|
sprintf on arduino cannot handle %.2f format, using temperature * 100 as in the position csv format
|
преди 6 години |
Bertrand Lemasle
|
4b04934443
|
Added config value & initialization temporary code
|
преди 6 години |
Bertrand Lemasle
|
3a5357a644
|
Fixed bad definition of core::notifyFailures
|
преди 6 години |
Bertrand Lemasle
|
93b97e377e
|
Added handle count of gps and network instances
|
преди 6 години |
Bertrand Lemasle
|
6bc833750d
|
Fixed bad use of constant. notifyFailures does not manage the state save of notified failures.
|
преди 6 години |
Bertrand Lemasle
|
250b5b3371
|
Added SMS send code to core::notifyFailures
|
преди 6 години |
Bertrand Lemasle
|
8d51ceb975
|
Added alerts notification and clearance in the main core function
|
преди 6 години |
Bertrand Lemasle
|
b538bd06d6
|
Fill metadata values even if the GPS fix isn't acquired.
|
преди 6 години |
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.
|
преди 6 години |
Bertrand Lemasle
|
b63912bd29
|
Added relativeToPowerOnTime to waitForRegistered, allowing to efficiently wait for the network accross the firmware
|
преди 6 години |
Bertrand Lemasle
|
701043b4a3
|
Added alerts conditions and framework
|
преди 6 години |
Bertrand Lemasle
|
4c3f2eda04
|
Merge branch 'pause-improvments'
|
преди 6 години |
Bertrand Lemasle
|
70db8ae6e4
|
Reported overflow prevention from pause detection to bad network detection code
|
преди 7 години |
Bertrand Lemasle
|
0894a1cb0e
|
Fixed long pause detection would never occur because of the use of max instead of min
|
преди 7 години |
Bertrand Lemasle
|
2541943150
|
Added verbose debug message in getDistanceFromPrevious
|
преди 7 години |
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)
|
преди 7 години |
Bertrand Lemasle
|
deaf10ed53
|
Stopped at boot up means going to long sleep. Fixed long sleep would result in a backup each time
|
преди 7 години |
Bertrand Lemasle
|
da9f958b9a
|
Fixed power off commands being issued on a powered off device force waiting for timeouts
|
преди 7 години |
Bertrand Lemasle
|
dd49cc3013
|
Fixed network not being turned off (resulting in sim808 not being turned off) because of prepare turning it on
|
преди 7 години |
Bertrand Lemasle
|
6b41da4c9a
|
Ability to force backup. Forcing backup when "stopping"
|
преди 7 години |
Bertrand Lemasle
|
ebfc1698b3
|
Fixed positions count from index, used to determine if backup is needed
|
преди 7 години |
Bertrand Lemasle
|
0cd271cf09
|
When network is not available for the time being, postponing the backup to a later time to avoid eating the battery for nothing
|
преди 7 години |
Bertrand Lemasle
|
eeee73206c
|
Sleep time computation algorithm adjustements
|
преди 7 години |
Bertrand Lemasle
|
12aa8fbae9
|
Fixed alteration of config in ram that prevent appropriate save of positions once the maximum has been reached
|
преди 7 години |
Bertrand Lemasle
|
ce182f64f7
|
Fixed intermediate timeout and data being incomplete / malformed
|
преди 7 години |
Bertrand Lemasle
|
f6cb167baa
|
Correctly implemented join timeout between gps & network. Adjusted timeouts
|
преди 7 години |
Bertrand Lemasle
|
404fccca5b
|
Enabling network before acquiring gps position to save some time. Reduced timeouts
|
преди 7 години |
Bertrand Lemasle
|
589acf16d8
|
Merge branch 'network-backup'
|
преди 7 години |
Bertrand Lemasle
|
c24b2c18e0
|
Added some log to acquireCurrentPosition
|
преди 7 години |