Make APRS symbold code and overlay configurable via settings.h

This commit is contained in:
nobody 2020-11-06 00:13:47 +01:00
parent 3d39dae50a
commit 46f5dd62e9
2 changed files with 3 additions and 1 deletions

View file

@ -93,7 +93,7 @@ void loop()
msg.setDestination("APLT0");
String lat = create_lat_aprs(gps.location.rawLat());
String lng = create_long_aprs(gps.location.rawLng());
msg.getAPRSBody()->setData(String("=") + lat + "/" + lng + ">" + BEACON_MESSAGE);
msg.getAPRSBody()->setData(String("=") + lat + SYMBOL_OVERLAY + lng + SYMBOL_CODE + BEACON_MESSAGE);
String data = msg.encode();
Serial.println(data);
show_display("<< TX >>", data);

View file

@ -5,5 +5,7 @@
#define CALL "OE5BPA-7"
#define BEACON_MESSAGE "LoRa APRS Tracker test"
#define BEACON_TIMEOUT 1
#define SYMBOL_CODE ">"
#define SYMBOL_OVERLAY "/"
#endif