DL9SAU-TTGO-T-Beam-LoRa-APRS/include
Thomas Osterried d25692b209 Fixes and improvements: preamble, gps powersaving mode, LH, ..
- 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>
2024-04-24 13:36:39 +02:00
..
README LoRa APRS Tracker 2018-11-25 21:07:34 +01:00
images.h Added images.h for future development 2021-09-17 20:53:54 +02:00
preference_storage.h Fixes and improvements: preamble, gps powersaving mode, LH, .. 2024-04-24 13:36:39 +02:00
syslog_log.h Move preferences code to spearate cpp/h files. 2021-04-25 16:29:07 +02:00
taskGPS.h Experimental GPS output on TCP port 10110 2021-06-11 03:35:59 +02:00
taskTNC.h Experimental GPS output on TCP port 10110 2021-06-11 03:35:59 +02:00
taskWebServer.h Texting new wifi AP array. 2022-12-15 09:16:37 +01:00
wifi_clients.h Added missing files 2021-06-11 03:39:44 +02:00

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