Closed dl9sau closed 2 years ago
In LoRa every byte lesser is goot, because it spares airtime.
APRS-Spec allows the notation in DST-Call -> Instead DL9SAU->APRS,WIDE1-1:.. we could write DL9SAU->APRS-1:..
Implementation:
@@ -286,11 +304,19 @@ void prepareAPRSFrame(){ outString = ""; outString += Tcall; - if (relay_path.isEmpty()){ - outString += ">APLO01:!"; - }else{ - outString += ">APLO01," + relay_path + ":!"; + //if (relay_path.isEmpty()){ + outString += ">APLO02"; + if (relay_path.length() < 3) { + int ssid = relay_path.toInt(); + if (ssid > 0 && ssid <= /* 15 // no, max hop 3 */ 3) { + char buf[4]; + sprintf(buf, "-%d", ssid); + outString += buf; + } + } else { + outString = outString + "," + relay_path; } + outString += ":!"; if(gps_state && gps.location.isValid()){ outString += aprsSymbolTable;
-> In Webinterface, just configure "1" instead of "WIDE1-1" ;)
Feature is stable in my development version
In LoRa every byte lesser is goot, because it spares airtime.
APRS-Spec allows the notation in DST-Call -> Instead DL9SAU->APRS,WIDE1-1:.. we could write DL9SAU->APRS-1:..
Implementation:
-> In Webinterface, just configure "1" instead of "WIDE1-1" ;)