Wykres commitów

639 Commity (aa854462d45dab9029f3c3cc2803e8eae08ec63f)

Autor SHA1 Wiadomość Data
Thomas Osterried aa854462d4 Major changes. Hard work on this new releae.
Improvements
- Even more intelligent behavior in "Allow failback Mode AP"
- Webserver: Current GPS location can be stored as current lat/lon;
             And fixed a not-so-nice down-rounding from i.e.
             53.2100N to 53.2099N
- Webserver: better input handling for ap password, remoteAP ssid and
  password, syslog and ntp server
- Webserver: fixed typos in tooltip texts, and improved documentation,
  especially for the new features
- Position ambiguity and higher precision
  You can choose now between
    - compressed position (also when fixed position).
    - uncompressed aprs position
    - uncompressed aprs position with higher precision (DAO W and w)
  Improvement for unknown position: encode it according to aprs spec
- OLED: more variants to display lat/lon positions.
  Displayed lat/lon resolution depends on setting and if you move,
  and current gps hdop.
  You can also configure if maidenhead grid locator is shown (always,
  never, in intervals). Locator could be shown as RR99XX, RR99XX99
  or RR99XX99xx - you can choose which variant you like.
- Oled Lines: one-liners now cut at end of display-length;
  except for line2 (if line3-5 are empty).
  Oled display.display() is called only if display is on.
  Improvement for fillDisplayLines3to5 (may be forced)
- Serial output on boot: Warn for unser preference variables only once,
  and set them accordingly
- Digipeating / Gate handling. Don't send 3rd-party packets
  back to aprsis. Digipeat telemetry only do secondary qrg.
- aprs-is:
    - 3rd-party traffic: it's not seldom that igates use
  lowercase calls. Don't tread this as (minor) error anymore.
    - aprs-is: improved filters according to aprsis spec
- digipeating:
  - if we are a WIDE1 (= fill-in) digi and if a packet is in
  lora_TXBUF_for_digipeating and we hear a repeated one with same
  source-address and content, we clear it from queue.
  Improved viscous-delay.

For development (compile time): different debug-verbose levels

Fixes
- aprsLatPreset (etc..) variables are now changed from their temporary
  variable names at once. Reading from preferences, a separate
  variable is filled. This mitigates a smp problem between webserver
  and main threads
- aprsis login messages missed word "vers " placed before the version string
- Small fix for aprsis 3rd party traffic encoding according to the spec.
- Some numbers with decimals are now shown complete (instead of cut'ed
  to two decimals (default of String(floatVariable)).
- fixes for some buffer dimensions; detected two buffer overflow conditions
- Telemetry: assurance that values > 255 are ceiled and not start from 0 again
   (An analoge value must not exceet 255)

This dedicated to the three-country-edge SysOp meeting
in Engen 2023-02-11 ;)
LoRa was one topic..

And after my commit 38387dc189 from
Sun Feb 19 20:36:05 2023 +0100, I saw at github that hb9xar found
three bugs. One is (because code changed with my last commit ant
fixed it); the other tow I add now:
  fixed "message capable" APRS indicator upon startup
  USB CLI: fixed: shutdown command was not working

Signed-off-by: DL3EL <dl3el@darc.de>
Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2023-02-19 21:08:22 +01:00
Thomas Osterried 38387dc189 Major changes. Hard work on this new releae.
Improvements
- Even more intelligent behavior in "Allow failback Mode AP"
- Webserver: Current GPS location can be stored as current lat/lon;
             And fixed a not-so-nice down-rounding from i.e.
             53.2100N to 53.2099N
- Webserver: better input handling for ap password, remoteAP ssid and
  password, syslog and ntp server
- Webserver: fixed typos in tooltip texts, and improved documentation,
  especially for the new features
- Position ambiguity and higher precision
  You can choose now between
    - compressed position (also when fixed position).
    - uncompressed aprs position
    - uncompressed aprs position with higher precision (DAO W and w)
  Improvement for unknown position: encode it according to aprs spec
- OLED: more variants to display lat/lon positions.
  Displayed lat/lon resolution depends on setting and if you move,
  and current gps hdop.
  You can also configure if maidenhead grid locator is shown (always,
  never, in intervals). Locator could be shown as RR99XX, RR99XX99
  or RR99XX99xx - you can choose which variant you like.
- Oled Lines: one-liners now cut at end of display-length;
  except for line2 (if line3-5 are empty).
  Oled display.display() is called only if display is on.
  Improvement for fillDisplayLines3to5 (may be forced)
- Serial output on boot: Warn for unser preference variables only once,
  and set them accordingly
- Digipeating / Gate handling. Don't send 3rd-party packets
  back to aprsis. Digipeat telemetry only do secondary qrg.
- aprs-is:
    - 3rd-party traffic: it's not seldom that igates use
  lowercase calls. Don't tread this as (minor) error anymore.
    - aprs-is: improved filters according to aprsis spec
- digipeating:
  - if we are a WIDE1 (= fill-in) digi and if a packet is in
  lora_TXBUF_for_digipeating and we hear a repeated one with same
  source-address and content, we clear it from queue.
  Improved viscous-delay.

For development (compile time): different debug-verbose levels

Fixes
- aprsLatPreset (etc..) variables are now changed from their temporary
  variable names at once. Reading from preferences, a separate
  variable is filled. This mitigates a smp problem between webserver
  and main threads
- aprsis login messages missed word "vers " placed before the version string
- Small fix for aprsis 3rd party traffic encoding according to the spec.
- Some numbers with decimals are now shown complete (instead of cut'ed
  to two decimals (default of String(floatVariable)).
- fixes for some buffer dimensions; detected two buffer overflow conditions
- Telemetry: assurance that values > 255 are ceiled and not start from 0 again
   (An analoge value must not exceet 255)

This dedicated to the three-country-edge SysOp meeting
in Engen 2023-02-11 ;)
LoRa was one topic..

Signed-off-by: DL3EL <dl3el@darc.de>
Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2023-02-19 20:36:05 +01:00
Thomas Osterried 7600d5bc6e fix: wrong datatype
Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2023-02-17 23:01:47 +01:00
Thomas Osterried cb78bf522b fix for commit 521ed0f from 2023-02-01 "Webserver start issue fixed for LORA32_21 devices."
I was inacurate in applying the change

Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2023-02-09 19:06:55 +01:00
Thomas Osterried bc8997d113 tel_allow_tx_on_rf: fixed a mistake (compared frequency with speed ;)
Tnx to Gunnar SM3SGP

Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2023-02-01 17:58:53 +01:00
Thomas Osterried 521ed0f69c Webserver start issue fixed for LORA32_21 devices.
Logical errors about assumptions ;)

Tnx to Michal SQ2MO.

Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2023-02-01 17:47:27 +01:00
Thomas Osterried d98e08452c Small bugfix for a change from yesterday.
Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2023-01-29 18:45:38 +01:00
Thomas Osterried d926aab8c5 Bugfix in check for aprs call
..for my last patch a few hours ago.

Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2023-01-27 21:48:47 +01:00
Thomas Osterried b4fcb30f58 telemetry on rf is bad on slow lora.
But since we got several requests, here's the approach:
- only on secondary qrg
- only in mode >= 1200 (comparable to 1k2 AFSK APRS on 2m)
- no digipeater in the path

Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2023-01-27 18:40:20 +01:00
Thomas Osterried 2f15189484 taskWebserver Bugfix:
When saving the change:
- empty ssid check forced the configuration of a remote AP, even if you don't need one.
- also, the local AP password had to be configured.
- If you entered your call (PREF_APRS_CALLSIGN), "Dl9sau" had been allowed.
  -> Syntax check for call length <= 6 and optional ssid number 1 <= ssid <= 15

Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2023-01-27 18:10:26 +01:00
Thomas Osterried b61a65ac84 use Call as DNS name
Thanks to Joerg df3ei for feature request

Signed-off-by: DL3EL <dl3el@darc.de>
Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2023-01-24 23:42:11 +01:00
Thomas Osterried 8fcf124384 Fix for initialization of some variables when preferences.cfg is used
Better case handling in set_callsign()

Reverted high precision info in oled long/latt, until concept for a
better representation.

Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-12-25 15:14:49 +01:00
Thomas Osterried 787ed2ba97 Minor improvements
- on software update on T-BEAM V1 power off lora chip
- aprsis_connect: return values -> better handling for cases with known bugs

Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-12-19 03:34:08 +01:00
Thomas Osterried 94037b8988 fix
Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-12-18 12:06:18 +01:00
Thomas Osterried 89bb214abb fix
Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-12-18 11:53:07 +01:00
Thomas Osterried bb47d976eb Time based numeric telemetry: fix
Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-12-18 11:37:35 +01:00
Thomas Osterried 6a40329280 Another time based telemetry algo.
Only numeric; no need to store seq.
Because alphanumeric telemetry is complained by aprs.fi.

Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-12-18 11:22:56 +01:00
Thomas Osterried ec81084a46 telemetry: another try to fix
Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-12-18 00:58:27 +01:00
Thomas Osterried ed1b502e22 telemetry:
- Rework of older code. Better readable
  - fixed smaller bugs in new code
  - tnc trace
  - Now battery vor non-T-BEAM v1 devices

- TNC: added show prompt to some commands

Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-12-18 00:22:14 +01:00
Thomas Osterried 7bc33de485 Telemetry: fixed regression
Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-12-17 16:17:26 +01:00
Thomas Osterried d3d117376d Telemetry: fix for time based sequence numbers
Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-12-17 09:21:28 +01:00
Thomas Osterried 194d8ef8d3 Telemetry: fix for time based sequence numbers
Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-12-17 09:17:12 +01:00
Thomas Osterried a8513a9099 Telemetry: fix for time based sequence numbers
Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-12-17 09:13:20 +01:00
Thomas Osterried 5e350b83d0 Removed unused variable
Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-12-17 00:05:40 +01:00
Thomas Osterried 94f67386a0 small fix for telemetry seq
Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-12-16 23:55:38 +01:00
Thomas Osterried 3d11f8801b By accident, I uploaded my testing platformio.ini.
-> reverting this with this patch

Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-12-16 23:46:54 +01:00
Thomas Osterried 4d034f63ac Testing: reconsidered telemetry function
- send to aprsis
- ratelimit for units
- bugfixes

Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-12-16 23:36:14 +01:00
Thomas Osterried 97fb5b7d59 More work on AP prio concept.
Now storing last used AP to preferences. Ratelimited.

debug: syslog for wite calls to preferences in flash

Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-12-16 20:50:07 +01:00
Thomas Osterried 1863d57078 Bugfix for last commit.
And new tnc feature.
And even more improved AP choosing.

Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-12-16 01:40:24 +01:00
Thomas Osterried 58322019ca Texting new wifi AP array.
..and other smaller new features.

Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-12-15 09:16:37 +01:00
Thomas Osterried fa05b426d9 Testing: units for display (km/h, mph, kn), ..
Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-12-14 13:30:29 +01:00
Thomas Osterried 65c4c6bcfe Fix for syslog server config in taskWebserver.
index_html: changed info (syslog is per default compiled in).

changed IP addeess in platformio.in to broadcast IP

Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-11-20 13:10:13 +01:00
Thomas Osterried 96706f35c0 Added "MHz" to CPU freq
Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-11-18 09:16:02 +01:00
Thomas Osterried 6746424c9c Changed message in webiface about reboot when gps is changed
Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-11-18 09:07:39 +01:00
Thomas Osterried 800de5cfca Added closing ')'
Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-11-18 08:34:23 +01:00
Thomas Osterried 5901a3589b Better variable names:
-String infoApName = "";
-String infoApPass = "";
-String infoIpAddr = "";
-// for SPIFFS WLAN Credentials
-String stdApName = "";
-String stdApPass = "";
-String safeApName = "";
-String safeApPass = "";
+String oled_wifi_SSID_curr = "";
+String oled_wifi_PASS_curr = "";
+String oled_wifi_IP_curr = "";
+String wifi_ModeAP_SSID;
+String wifi_ModeAP_PASS;
+String wifi_ModeSTA_SSID;
+String wifi_ModeSTA_PASS;
+// comes for SPIFFS WLAN Credentials:
+String wifi_ModeSTA_SSID_fallback;
+String wifi_ModeSTA_PASS_fallback;

And marked gps_enable in Webserver for need to reboot after config change

Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-11-18 08:29:46 +01:00
Thomas Osterried 5eb6a5ef06 Merge branch 'master' of github.com:dl9sau/TTGO-T-Beam-LoRa-APRS 2022-11-17 21:40:01 +01:00
Thomas Osterried 0e8c504418 - Soft-reconfiguration in runtime without need for rebot
(not for all, but for many changed settings). Thanks to dl3el
- added a once_a_second_timer

Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-11-17 21:38:13 +01:00
Thomas Osterried b1854b408f Example preferences.cfg
Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-11-17 21:35:36 +01:00
Thomas Osterried cb5351a0cf Testing runtime reload function of changed settings
Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-11-09 07:42:13 +01:00
Thomas Osterried 464e505c1b Fix in /wifi.cfg
I did a mistake when applying Thomas' patches.

Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-11-07 16:15:26 +01:00
Thomas Osterried ab96db25e5 This is a commit that needs testing
Migrated Thomas dl3el's patches for SPIFFS preferences.cfg.

taskTNC can initiate the storage of preferences.cfg file,
and can show the runing config.

In taskWebserver we now do anti-idle on the connection.

Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-11-04 09:19:05 +01:00
Thomas Osterried 6890ec9114 This is a commit that needs testing
Migrated Thomas dl3el's patches for SPIFFS preferences.cfg.

taskTNC can initiate the storage of preferences.cfg file,
and can show the runing config.

In taskWebserver we now do anti-idle on the connection.

Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-11-04 09:14:30 +01:00
Thomas Osterried 6c6297afba This is a commit that needs testing
Migrated Thomas dl3el's patches for SPIFFS preferences.cfg.

taskTNC can initiate the storage of preferences.cfg file,
and can show the runing config.

In taskWebserver we now do anti-idle on the connection.

Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-11-04 09:11:01 +01:00
Thomas Osterried c918b816d8 This is a commit that needs testing
Migrated Thomas dl3el's patches for SPIFFS preferences.cfg.

taskTNC can initiate the storage of preferences.cfg file,
and can show the runing config.

In taskWebserver we now do anti-idle on the connection.

Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-11-04 07:20:22 +01:00
Thomas Osterried 500c9a1b4b This is a commit that needs testing
Migrated Thomas dl3el's patches for SPIFFS preferences.cfg.

taskTNC can initiate the storage of preferences.cfg file,
and can show the runing config.

In taskWebserver we now do anti-idle on the connection.

Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-11-04 06:35:19 +01:00
Thomas Osterried 57530319d9 This is a commit that needs testing
Migrated Thomas dl3el's patches for SPIFFS preferences.cfg.

taskTNC can initiate the storage of preferences.cfg file,
and can show the runing config.

In taskWebserver we now do anti-idle on the connection.

Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-11-04 06:34:07 +01:00
Thomas Osterried 48fcc174d1 This is a commit that needs testing
Migrated Thomas dl3el's patches for SPIFFS preferences.cfg.

taskTNC can initiate the storage of preferences.cfg file,
and can show the runing config.

In taskWebserver we now do anti-idle on the connection.

Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-11-04 06:23:01 +01:00
Thomas Osterried 229a84027b This is a commit that needs testing
Migrated Thomas dl3el's patches for SPIFFS preferences.cfg.

taskTNC can initiate the storage of preferences.cfg file,
and can show the runing config.

In taskWebserver we now do anti-idle on the connection.

Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-11-04 06:16:34 +01:00
Thomas Osterried 14069e93c4 This is a commit that needs testing
Migrated Thomas dl3el's patches for SPIFFS preferences.cfg.

taskTNC can initiate the storage of preferences.cfg file,
and can show the runing config.

In taskWebserver we now do anti-idle on the connection.

Signed-off-by: Thomas Osterried <dl9sau@darc.de>
2022-11-03 07:23:37 +01:00