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 |
Bertrand Lemasle
|
701043b4a3
|
Added alerts conditions and framework
|
6 years ago |
Bertrand Lemasle
|
4c3f2eda04
|
Merge branch 'pause-improvments'
|
6 years ago |
Bertrand Lemasle
|
70db8ae6e4
|
Reported overflow prevention from pause detection to bad network detection code
|
7 years ago |
Bertrand Lemasle
|
0894a1cb0e
|
Fixed long pause detection would never occur because of the use of max instead of min
|
7 years ago |
Bertrand Lemasle
|
2541943150
|
Added verbose debug message in getDistanceFromPrevious
|
7 years ago |
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 years ago |
Bertrand Lemasle
|
deaf10ed53
|
Stopped at boot up means going to long sleep. Fixed long sleep would result in a backup each time
|
7 years ago |
Bertrand Lemasle
|
da9f958b9a
|
Fixed power off commands being issued on a powered off device force waiting for timeouts
|
7 years ago |
Bertrand Lemasle
|
dd49cc3013
|
Fixed network not being turned off (resulting in sim808 not being turned off) because of prepare turning it on
|
7 years ago |
Bertrand Lemasle
|
6b41da4c9a
|
Ability to force backup. Forcing backup when "stopping"
|
7 years ago |
Bertrand Lemasle
|
ebfc1698b3
|
Fixed positions count from index, used to determine if backup is needed
|
7 years ago |
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 years ago |
Bertrand Lemasle
|
eeee73206c
|
Sleep time computation algorithm adjustements
|
7 years ago |
Bertrand Lemasle
|
12aa8fbae9
|
Fixed alteration of config in ram that prevent appropriate save of positions once the maximum has been reached
|
7 years ago |
Bertrand Lemasle
|
ce182f64f7
|
Fixed intermediate timeout and data being incomplete / malformed
|
7 years ago |
Bertrand Lemasle
|
f6cb167baa
|
Correctly implemented join timeout between gps & network. Adjusted timeouts
|
7 years ago |
Bertrand Lemasle
|
404fccca5b
|
Enabling network before acquiring gps position to save some time. Reduced timeouts
|
7 years ago |
Bertrand Lemasle
|
589acf16d8
|
Merge branch 'network-backup'
|
7 years ago |
Bertrand Lemasle
|
c24b2c18e0
|
Added some log to acquireCurrentPosition
|
7 years ago |
Bertrand Lemasle
|
b75f48671c
|
Fixed constant string being declared in RAM
|
7 years ago |
Bertrand Lemasle
|
6a6b6063a2
|
Removed debug menu SD_WRITE_TEST as sd card support will probably never make it back
|
7 years ago |
Bertrand Lemasle
|
f687c9d11a
|
Adjusted log level : verbose is really in a case of a hard debugging session
|
7 years ago |
Bertrand Lemasle
|
89fbf75373
|
Increase conditions before bailing out because of a poor quality network
|
7 years ago |
Bertrand Lemasle
|
2575be5e35
|
Enabled network backup to real server
|
7 years ago |
Bertrand Lemasle
|
16a50cf531
|
The gps tracker server now has its own repository
|
7 years ago |
Bertrand Lemasle
|
32be4cf9e5
|
Started some real work around a gps tracker postions server.
|
7 years ago |
Bertrand Lemasle
|
ba971f712a
|
Introduced constant for the "no network" bail out
|
7 years ago |
Bertrand Lemasle
|
b8aed99418
|
Added project for python server that will receive gps tracker positions
|
7 years ago |
Bertrand Lemasle
|
e77f5aac48
|
Gave some more space for the "no network" bail out
|
7 years ago |
Bertrand Lemasle
|
9ccd312144
|
Sending freeRam and gsm signal attenuation along with position for debugging purpose
|
7 years ago |
Bertrand Lemasle
|
f47ab930e4
|
Changed network backup configuration
|
7 years ago |
Bertrand Lemasle
|
cb75225139
|
Cleaned up code of freeRam debugs. Cleaned commented code
|
7 years ago |
Bertrand Lemasle
|
2273ed1464
|
Adjusted sleep timings
|
7 years ago |
Bertrand Lemasle
|
f5b38feed3
|
Do not wait the full time when no gsm signal can be found
|
7 years ago |
Bertrand Lemasle
|
c12fc78f7d
|
Fix sleep time at night
|
7 years ago |
Bertrand Lemasle
|
1b8e898a9b
|
Introduced speed timing variations based on time of the day
|
7 years ago |
Bertrand Lemasle
|
27c290dd5b
|
Added detected velocity and sleep timing when setting false gps coordinate
|
7 years ago |
Bertrand Lemasle
|
6b19ce95d3
|
Adjusted speed timings
|
7 years ago |
Bertrand Lemasle
|
878f509e4b
|
Reduced sleeping time for debugging purpose, and menu timeout is not effective after first command
|
7 years ago |
Bertrand Lemasle
|
a093a1ea47
|
Revert "Removed menu timeout, that was a bad idea"
This reverts commit 92c6a34fef .
|
7 years ago |
Bertrand Lemasle
|
c0febe7fd6
|
Force the hand to obtain an accurate fix when possible. To be improved (intermediate timeout between fix / accurate fix and no fix at all)
|
7 years ago |
Bertrand Lemasle
|
039e2c98ad
|
Removed menu timeout, that was a bad idea
|
7 years ago |
Bertrand Lemasle
|
838c2c3b62
|
Fixed maxEntryIndex being set to 6 as eeprom is not initialized on static init.
|
7 years ago |
Bertrand Lemasle
|
6a2a305cd1
|
Adjusted log levels
|
7 years ago |
Bertrand Lemasle
|
d66789faed
|
Code cleanup etc
|
7 years ago |
Bertrand Lemasle
|
dc106a1ce2
|
Fixed _DEBUG vs !_DEBUG. Fixed code delcarations when network backup is disabled
|
7 years ago |
Bertrand Lemasle
|
eea6c85b9d
|
Removed _DEBUG define for release configuration
|
7 years ago |
Bertrand Lemasle
|
bbbc829b7f
|
Defined configuration constants. Added a timeout to the menu. The goal is to automatically run normally at boot if no input is detected
|
7 years ago |