d25692b209
- web: - preamble: A bit more detailed description, with suggestion to try value 12 (default is 8) Assurance in taskWebserver that value is >= 8. - sb_angle: min is 5 but text said Range 0 to 360. - GPS: new "GPS powersaving mode". Still testing. "Made GPS may sleep when running on battery" default. - GPS powersaving mode: If you have problems, set it to "Ignore this feature". While looking at the power consumption, GPS has a quite high power consumption. If we have no fix for 10min, we go to sleep mode. Interval Sleep 1min, 2min, 4min, 8min, 1min, 2min, .. Awake 120, next: 60s, next: 40, next: 30s After 4 rounds, we run GPS 10min again (better chance to refresh the almanach). During sleep, taskGPS is suspended and gps chip is powered off. -> This algorithm saves reduces the power consumption of the GPS chip to ~30%. If it behaves good, more fine-tuning can be done (i.E. switching it earlier off if you don't move. Reduce the initial fix-loss-time of 10min, ..) LCD shows "GPS: sleep" when GPS is in power saving mode. If it awakes and has no fix, it shows (as usual) GPS: age nnn". - preamble changes: - TX setting: Now only affects main qrg. Perhaps it's wiser to be able to set it in more detail: Main, Secondary, Both. Or with different values for the different frequencies. - RX setting: moved to loraSend(), where default rx values are reset after TX - LCD: - "GPS: sleep" as described above - Tried to improve the readibility of the LastHeard lines. Need to verify Signed-off-by: Thomas Osterried <dl9sau@darc.de> |
||
---|---|---|
.. | ||
README | ||
images.h | ||
preference_storage.h | ||
syslog_log.h | ||
taskGPS.h | ||
taskTNC.h | ||
taskWebServer.h | ||
wifi_clients.h |
README
This directory is intended for project header files. A header file is a file containing C declarations and macro definitions to be shared between several project source files. You request the use of a header file in your project source file (C, C++, etc) located in `src` folder by including it, with the C preprocessing directive `#include'. ```src/main.c #include "header.h" int main (void) { ... } ``` Including a header file produces the same results as copying the header file into each source file that needs it. Such copying would be time-consuming and error-prone. With a header file, the related declarations appear in only one place. If they need to be changed, they can be changed in one place, and programs that include the header file will automatically use the new version when next recompiled. The header file eliminates the labor of finding and changing all the copies as well as the risk that a failure to find one copy will result in inconsistencies within a program. In C, the usual convention is to give header files names that end with `.h'. It is most portable to use only letters, digits, dashes, and underscores in header file names, and at most one dot. Read more about using header files in official GCC documentation: * Include Syntax * Include Operation * Once-Only Headers * Computed Includes https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html