Make APRS symbold code and overlay configurable via settings.h
This commit is contained in:
parent
3d39dae50a
commit
46f5dd62e9
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue