878f509
Reduced sleeping time for debugging purpose, and menu timeout is not effective after first command by
2018-03-18 12:34:03 +1300
a093a1e
Revert "Removed menu timeout, that was a bad idea" by
2018-03-18 12:28:08 +1300
c0febe7
Force the hand to obtain an accurate fix when possible. To be improved (intermediate timeout between fix / accurate fix and no fix at all) by
2018-03-18 12:23:33 +1300
039e2c9
Removed menu timeout, that was a bad idea by
2018-03-18 12:15:37 +1300
838c2c3
Fixed maxEntryIndex being set to 6 as eeprom is not initialized on static init. by
2018-03-18 12:00:39 +1300
6a2a305
Adjusted log levels by
2018-03-17 23:03:30 +1300
d66789f
Code cleanup etc by
2018-03-17 22:04:54 +1300
dc106a1
Fixed _DEBUG vs !_DEBUG. Fixed code delcarations when network backup is disabled by
2018-03-17 19:52:56 +1300
eea6c85
Removed _DEBUG define for release configuration by
2018-03-16 22:57:12 +1300
bbbc829
Defined configuration constants. Added a timeout to the menu. The goal is to automatically run normally at boot if no input is detected by
2018-03-16 22:56:35 +1300
4ecb38a
Added debug functions to print sleeep times based on velocity by
2018-03-16 22:54:48 +1300
5815e5c
Avoid to backup positions if no positions have been saved at all by
2018-03-16 22:53:41 +1300
fe7723c
getVelocity() returns 0 when parsing from lastPosition fails by
2018-03-16 22:52:08 +1300
01f3a48
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 by
2018-03-16 22:46:24 +1300
4d8986d
Saving network backup progress into eeprom by
2018-03-14 20:23:16 +1300
30a99cb
Working network positions backup by
2018-03-14 20:17:54 +1300
5bbf966
For now expected code is 200 as most of the online request bin like respond with that code by
2018-03-14 20:17:22 +1300
4864d8d
Messed up state where I try to gain some RAM by
2018-03-14 19:15:00 +1300
ba9531f
Display signal quality while searching for network by
2018-03-14 16:58:28 +1300
7159d83
Fixed debug print from Positions::get by
2018-03-14 16:57:44 +1300
dfae1a9
Fixed timeout for gsm and gps overflow uint16 by
2018-03-14 16:56:55 +1300
00f5660
Fixed Gprs being disabled after CFUN has been set to the minimum by
2018-03-14 14:55:46 +1300
7a9987c
Improved gprs activation in NetworkPositionsBackup by
2018-03-14 14:55:19 +1300
c7c7652
Fixed main unit being woke up by SoftwareSerial interrupts by
2018-03-14 14:53:35 +1300
5d9920d
Added doBackup debug command by
2018-03-14 14:49:40 +1300
0be4128
Removed sim808 powerOn / off on startup to improve startup speed by
2018-03-14 11:00:48 +1300
2c35fbe
Implemented wait for network. Call backups directly to face what seems to be a segfault in positions::doBackup by
2018-03-14 00:28:34 +1300
1ce692f
Blind implementation of network positions backup by
2018-03-13 22:13:06 +1300
f7679c8
Transformed config seed into uint8_t and removed apn from config by
2018-03-13 20:27:16 +1300
9143e49
Conditionnal includes of backup code work for more than one implementation by
2018-03-13 20:20:28 +1300
fda3aaa
Conditionnaly include sdcard backup into code by
2018-03-13 19:52:00 +1300
f4ed7d4
Merge branch 'master' into sdcard by
2018-03-13 19:01:14 +1300
2f5fa03
Time3.h has been removed from uDS3231 library by
2018-03-13 17:52:55 +1300
b64990c
Code cleanup after DS3231 trim by
2018-03-13 17:48:43 +1300
f4516c0
Switched time reading and writing to parameter based function rather than private variables by
2018-03-13 14:55:21 +1300
84e0957
Use tmElements_t struct (offset from 2000) to set and get time by
2018-03-13 14:02:27 +1300
31fcdba
Adapted code to uDS3231 code trim by
2018-03-13 13:22:05 +1300
79678ab
Removed RawSdFile by
2018-03-12 23:50:51 +1300
56fab86
Remove/replace some Serial.print by
2018-03-12 22:34:00 +1300
f5438b8
swtiched to uDS3231 lib by
2018-03-12 23:06:46 +1300
f712c3b
Non tested implementaion of sd card positions backup by
2018-03-12 20:07:28 +1300
626bfa8
Started real implementation of sdcard backup process by
2018-03-12 18:53:13 +1300
e1babd9
Reorganized config code to allow for main vs sd vs another config by
2018-03-12 17:13:23 +1300
33ad314
Added structure for sd card positions backup implementation by
2018-03-12 14:06:34 +1300
2d91218
Changed useless pass by ref argument in gps::getVelocity by
2018-03-12 12:52:11 +1300
06c331c
Code cleanup by
2018-03-12 12:41:16 +1300
8ff02bf
Added timeToFix to each position entry, reorganized code a bit to withdraw responsabilities from core::main by
2018-03-12 12:09:09 +1300
c0107ab
Implemented temperature reading and logging by
2018-03-11 23:34:11 +1300
e6ccf67
Fixed rtc wake up by
2018-03-11 22:02:45 +1300
ed7a10e
Added sleep debug function and NOTICE_XXX macros by
2018-03-11 20:40:46 +1300
6585d4a
Changed default configuration by
2018-03-11 20:35:33 +1300
7d64cb8
Switched constant APN to Vodafone as its the only one that currently runs a 2G network in NZ by
2018-03-11 17:47:51 +1300
61195dc
Removed storage namespace by
2018-03-11 17:35:21 +1300
64f44a5
Removed rtc::powerOn && rtc::powerOff (handled internally) by
2018-03-11 17:32:29 +1300
6e0060c
Removed useless calls to rtc::powerOn && rtc::powerOff by
2018-03-11 17:29:45 +1300
455276f
APN is now part of the configuration by
2018-03-11 17:26:50 +1300
6fc4e7b
Improved logging and removed eepromPowerOff/On && rtcPowerOff/On by
2018-03-11 17:26:29 +1300
0bb7171
Reduced config access to EEPROM by
2018-03-11 16:26:01 +1300
75eaaaa
Code cleanup by
2018-03-11 16:09:23 +1300
72ad27c
Fixed positions reading using an iterator like method by
2018-03-11 16:08:37 +1300
a4cc7b2
Fixed positions saving and reading by
2018-03-11 15:32:21 +1300
d5655f8
Some cleanup of Gps.cpp by
2018-03-10 12:34:20 +1300
815ce3d
i2c power on/off is handled by functions that need it as it does not cost time to change power state by
2018-03-10 12:32:28 +1300
9263764
Replace strn with safer strl by
2018-03-10 12:11:48 +1300
7e112df
Fixed RTC time get from GPS by
2018-03-10 12:09:36 +1300
3d861d1
Automatic power on/off of i2c devices by
2018-03-09 17:35:59 +1300
0c5b267
Added many debug commands and use char id instead of numeric by
2018-02-12 00:31:52 +0100
789b260
Fix sleep time being passed in milliseconds instead of seconds by
2018-02-12 00:31:19 +0100
98ecb9a
Fixed PROGMEM string reading after sleep by
2018-02-12 00:30:53 +0100
b2ec826
Fixed setAlarm(seconds) by
2018-02-12 00:30:18 +0100
3c9a53a
Improved logs by
2018-02-11 22:30:54 +0100
c7890cc
Fixed sim808 components power state not being detected in case of an error by
2018-02-11 22:30:25 +0100
d0e93ea
Fixed double init from setup by
2018-02-11 22:29:52 +0100
8c7628a
setup sim808 at boot by
2018-02-11 22:28:36 +0100
4c76a75
Implemented config and positions saving to eeprom. by
2018-02-11 19:11:41 +0100
65afc63
Redesigned main loop to allow for debug programs and commands by
2018-02-11 16:54:45 +0100
0d24ef0
Using define instead of magic numbers. Started to implement speed vs sleep time logic by
2018-01-29 23:17:23 +0100
8b6c908
Fixed rtc might be powered off when calling interruptIn by
2018-01-25 00:09:05 +0100
bf9c9d5
Cleaned unnecessary code by
2018-01-24 23:49:51 +0100
3fdb6e5
Implemented wait for gps position and use it to set rtc time by
2018-01-24 23:29:17 +0100
5e7e47d
Inlined some functions and handle logical vs physical power management by
2018-01-24 21:21:06 +0100
ce42f41
Fixed build by importing part of TimeLib in the project. The trick seems to add optimization directive to work around https://github.com/arduino/Arduino/issues/3972 by
2018-01-23 23:29:45 +0100
b8f6505
Added Hardware namespace by
2018-01-22 01:15:05 +0100
d21ba43
Implemented RTC alarm sleep and wake up by
2018-01-21 17:59:55 +0100
a8b9d65
Started building major bricks and global algorithm by
2018-01-21 14:48:18 +0100
7d72b2e
Initial commit by
2018-01-20 19:11:46 +0100