Browse Source

Test3

pull/1/head
US1GHQ 11 months ago
parent
commit
ea522ea439
  1. 4
      platformio.ini
  2. 2
      src/TTGO_T-Beam_LoRa_APRS.ino

4
platformio.ini

@ -51,7 +51,7 @@ build_flags =
-D 'NETWORK_TNC_PORT=8001'
-D 'MAX_TIME_TO_NEXT_TX=360000L'
-D 'FIX_BEACON_INTERVAL=1800000L'
; -D 'RSSI_SNR_REPORT' ; RSSI and snr report in the KISS PACKET
-D 'RSSI_SNR_REPORT' ; RSSI and snr report in the KISS PACKET
[env:ttgo-t-beam-v1.0]
platform = espressif32 @ 3.0.0
@ -114,7 +114,7 @@ build_flags =
platform = espressif32 @ 3.2.1
board = esp32doit-devkit-v1
; change MCU frequency
board_build.f_cpu = 80000000L
;board_build.f_cpu = 80000000L
build_flags =
${env.build_flags}
-D ENABLE_WIFI

2
src/TTGO_T-Beam_LoRa_APRS.ino

@ -915,7 +915,7 @@ void loop() {
writedisplaytext(" ((RX))", "", loraReceivedFrameString, "", "", "");
#ifdef KISS_PROTOCOL
#ifdef RSSI_SNR_REPORT
sendToTNC(loraReceivedFrameString + ", RSSI:"+ rf95.lastRssi() + ", SNR:" + rf95.lastSNR()/10); //show RSSI & SNR in packet
sendToTNC(loraReceivedFrameString + ", RSSI:"+ rf95.lastRssi() + ", SNR:" + rf95.lastSNR() / 10); //show RSSI & SNR in packet
#else
sendToTNC(loraReceivedFrameString);
#endif

Loading…
Cancel
Save