tactical callsign ready for testing
Some checks are pending
Commit Test Build / build (map[chip:esp32 name:ttgo-lora32-v21]) (push) Waiting to run

This commit is contained in:
Ricardo Guzman (Richonguzman) 2026-01-07 23:18:14 -03:00
parent bb3d59a20d
commit dbe980a081
3 changed files with 4 additions and 2 deletions

View file

@ -51,6 +51,8 @@ ____________________________________________________
<br />
# Timeline (Versions):
- 2026-01-07 Tactical Callsign added.
- 2026-01-05 Heltec V4 support added.
- 2025-12-22 Heltec Wireless Paper V1.2 and VisionMaster E290 Added. Thanks HA5SZI.
- 2025-12-18 TCXO and packet decoding updates.
- 2025-12-01 APRSPacketLib updates, AHT20 sensor added, INA219 support added.

View file

@ -148,7 +148,7 @@ namespace DIGI_Utils {
Sender = packet.substring(3, packet.indexOf(">"));
}
if (Sender != (Config.tacticalCallsign == "" ? Config.callsign : Config.tacticalCallsign)) { // Avoid listening to own packets
if (!thirdPartyPacket && !Utils::checkValidCallsign(Sender)) {
if (!thirdPartyPacket && Config.tacticalCallsign == "" && !Utils::checkValidCallsign(Sender)) {
return;
}
if (STATION_Utils::check25SegBuffer(Sender, temp.substring(temp.indexOf(":") + 2))) {

View file

@ -58,7 +58,7 @@ namespace GPS_Utils {
Config.backupDigiMode = false;
} else if (Utils::checkValidCallsign(Config.callsign) && Config.tacticalCallsign != "") {
beaconPacket = APRSPacketLib::generateBasePacket(Config.tacticalCallsign, "APLRG1", Config.beacon.path);
Config.beacon.comment = Config.callsign + " " + Config.beacon.comment;
Config.beacon.comment = Config.beacon.comment + " from " + Config.callsign;
Config.aprs_is.active = false;
Config.beacon.sendViaAPRSIS = false;
Config.backupDigiMode = false;