diff --git a/README.md b/README.md index b78c547..7b6150b 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,11 @@ The symbol can now be changed without attached display - during normal operation for DHT22 I used the library from https://github.com/beegee-tokyo/DHTesp, as the standard library gives to many wrong readings
Now the DS18B20 is supported as well - uncomment line 31: // #define DS18B20 // use this if you use DS18B20, default ist DHT22

-new features:
+show RX packets
+by uncommenting // #define SHOW_RX_PACKET the tracker shows received LoRa APRS packets in raw format for the time in milliseconds defined in SHOW_RX_TIME - both in ...config.h
+
+new features:
+- show RX packets - DS18B20 support (setable in config.h) - GPS switched off in WX_FIXED mode (only available with boards with HW-Version >=V1.0) - immediate TX with short key press diff --git a/src/TTGO_T-Beam_LoRa_APRS.ino b/src/TTGO_T-Beam_LoRa_APRS.ino index e67abbf..7e59f33 100644 --- a/src/TTGO_T-Beam_LoRa_APRS.ino +++ b/src/TTGO_T-Beam_LoRa_APRS.ino @@ -505,6 +505,7 @@ void loop() { } if (rf95.waitAvailableTimeout(100)) { + #ifdef SHOW_RX_PACKET // only show RX packets when activitated in config if (rf95.recvAPRS(lora_RXBUFF, &len)) { Serial.print("((RX)): "); InputString = ""; @@ -513,8 +514,9 @@ void loop() { } Serial.println(InputString); blinker(3); - writedisplaytext(" ((RX))","",InputString,"","","",10000); + writedisplaytext(" ((RX))","",InputString,"","","",SHOW_RX_TIME); } + #endif } if (tracker_mode != WX_FIXED) { diff --git a/src/TTGO_T-Beam_LoRa_APRS_config.h b/src/TTGO_T-Beam_LoRa_APRS_config.h index 9958d4b..31cb7ff 100644 --- a/src/TTGO_T-Beam_LoRa_APRS_config.h +++ b/src/TTGO_T-Beam_LoRa_APRS_config.h @@ -48,3 +48,7 @@ // TRANSMIT INTERVAL unsigned long max_time_to_nextTX = 300000L; // set here MAXIMUM time in ms(!) for smart beaconing - minimum time is always 1 min = 60 secs = 60000L !!! // when entering 60000L intervall is fixed to 1 min + +// show RX values +// #define SHOW_RX_PACKET // uncomment to show received LoRa APS packets for the time given below +#define SHOW_RX_TIME 5000 // show RX packet for milliseconds (5000 = 5secs)