Bertrand Lemasle
|
9882a9dc0b
|
Additional debug info for getTime and notifyFailures
|
6 years ago |
Bertrand Lemasle
|
28efbe5a75
|
Moved alerts code to match alerts bits definition
|
6 years ago |
Bertrand Lemasle
|
75b3b1ad40
|
Fixed alerts not starting at first bit
|
6 years ago |
Bertrand Lemasle
|
ff3cdc3086
|
Merge branch 'master' into alerts
|
6 years ago |
Bertrand Lemasle
|
a767fe6076
|
Fixed respondeCode was evaluated to a boolean
|
6 years ago |
Bertrand Lemasle
|
f1bf52a0e7
|
Merge branch 'code-reduction' into alerts
|
6 years ago |
Bertrand Lemasle
|
4a94de3800
|
Reworked config reset code to avoid static init that eats SRAM
|
6 years ago |
Bertrand Lemasle
|
0bc78bea88
|
Added reserved space is the case where network backup is disabled
|
6 years ago |
Bertrand Lemasle
|
25bad44a0a
|
Fixed bad conditional compilation location
|
6 years ago |
Bertrand Lemasle
|
9655908cae
|
Using printf with entry.position instead of strcat (-24 bytes)
|
6 years ago |
Bertrand Lemasle
|
9d77538dd9
|
Merge branch 'code-reduction' into alerts
|
6 years ago |
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
|
6 years ago |
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.
|
6 years ago |
Bertrand Lemasle
|
5aa4eed174
|
Using a common buffer for both http and sms
|
6 years ago |
Bertrand Lemasle
|
c00f4f480a
|
Using a PROGMEM format string for http body formatting
|
6 years ago |
Bertrand Lemasle
|
9c38ff5098
|
Long awaited bug fix about all eeprom positions being sent again
|
6 years ago |
Bertrand Lemasle
|
1083522e55
|
Added clear alerts debug command
|
6 years ago |
Bertrand Lemasle
|
ca97ccd13f
|
Added CONFIG_DEFAULT_ACTIVE_ALERTS constant for readibility
|
6 years ago |
Bertrand Lemasle
|
da048d65f8
|
Explained values in debug notifyFailures
|
6 years ago |
Bertrand Lemasle
|
d5dfd3a461
|
Renamed debug notify failures entry
|
6 years ago |
Bertrand Lemasle
|
6ec9d19094
|
Moved contact phone number inside sendSms (since there is one number, no need for core to know it)
|
6 years ago |
Bertrand Lemasle
|
8b01ba9a5a
|
Reduced code size by refactoring sms buffer management
|
6 years ago |
Bertrand Lemasle
|
c303ca86fc
|
Moved and renamed code for clarity
|
6 years ago |
Bertrand Lemasle
|
1c69e884b0
|
Increased SMS buffer size to match possible all messages
|
6 years ago |
Bertrand Lemasle
|
43a4c8c7af
|
Optimized alert messaging creation using flash string
|
6 years ago |
Bertrand Lemasle
|
e2bfba407f
|
Sadly, version string must do exactly 4 chars to avoid leaving traces of old version string
|
6 years ago |
Bertrand Lemasle
|
593fd71e98
|
Removed additional activeAlerts format parameter in config write
|
6 years ago |
Bertrand Lemasle
|
390d9d2aca
|
Using binary format for active alerts config values notice
|
6 years ago |
Bertrand Lemasle
|
472f788e73
|
Fixed bad condition for battery level alerts clearance
|
6 years ago |
Bertrand Lemasle
|
2d4bd35c63
|
Disable rewrite of config values (only here for the first run on old firmwares)
|
6 years ago |
Bertrand Lemasle
|
cde06ee4ba
|
Firmware version bump
|
6 years ago |
Bertrand Lemasle
|
083d716384
|
Added NOTICE to sendSms. Reached 100% of program space (150 bytes left)
|
6 years ago |
Bertrand Lemasle
|
8f07a185c5
|
Using snprintf instead of sprintf to build sms message
|
6 years ago |
Bertrand Lemasle
|
d0ef217f75
|
Reworked code to fix missing network::powerOff in notifyFailures
|
6 years ago |
Bertrand Lemasle
|
95b43e3f44
|
Added a fourth alert (RTC clock halt) and saving active alerts to eeprom to survive resets
|
6 years ago |
Bertrand Lemasle
|
d8945d75d2
|
Added code size comments on config structs
|
6 years ago |
Bertrand Lemasle
|
a2ab0c916c
|
Updated config read and write debug NOTICE with added configuration values
|
6 years ago |
Bertrand Lemasle
|
18648de136
|
Added failure sms debug function and menu entry
|
6 years ago |
Bertrand Lemasle
|
0ed68eeca1
|
Removed useless NOTICE call
|
6 years ago |
Bertrand Lemasle
|
dea753de7e
|
Renamed ALERT_RTC_TEMPERATURE_FAILURE to ALERT_SUSPICIOUS_RTC_TEMPERATURE
|
6 years ago |
Bertrand Lemasle
|
3b08d64b1f
|
sprintf on arduino cannot handle %.2f format, using temperature * 100 as in the position csv format
|
6 years ago |
Bertrand Lemasle
|
4b04934443
|
Added config value & initialization temporary code
|
6 years ago |
Bertrand Lemasle
|
3a5357a644
|
Fixed bad definition of core::notifyFailures
|
6 years ago |
Bertrand Lemasle
|
93b97e377e
|
Added handle count of gps and network instances
|
6 years ago |
Bertrand Lemasle
|
6bc833750d
|
Fixed bad use of constant. notifyFailures does not manage the state save of notified failures.
|
6 years ago |
Bertrand Lemasle
|
250b5b3371
|
Added SMS send code to core::notifyFailures
|
6 years ago |
Bertrand Lemasle
|
8d51ceb975
|
Added alerts notification and clearance in the main core function
|
6 years ago |
Bertrand Lemasle
|
b538bd06d6
|
Fill metadata values even if the GPS fix isn't acquired.
|
6 years ago |
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 years ago |
Bertrand Lemasle
|
b63912bd29
|
Added relativeToPowerOnTime to waitForRegistered, allowing to efficiently wait for the network accross the firmware
|
6 years ago |