Browse Source

test2

pull/1/head
US1GHQ 11 months ago
parent
commit
2acd84a935
  1. 3
      platformio.ini
  2. 8
      src/TTGO_T-Beam_LoRa_APRS.ino
  3. 2
      tools/buildscript_versioning.py

3
platformio.ini

@ -50,7 +50,8 @@ build_flags =
-D 'ENABLE_LED_SIGNALING'
-D 'NETWORK_TNC_PORT=8001'
-D 'MAX_TIME_TO_NEXT_TX=360000L'
-D 'FIX_BEACON_INTERVAL=1800000L'
-D 'FIX_BEACON_INTERVAL=1800000L'
; -D 'RSSI_SNR_REPORT' ; RSSI and snr report in the KISS PACKET
[env:ttgo-t-beam-v1.0]
platform = espressif32 @ 3.0.0

8
src/TTGO_T-Beam_LoRa_APRS.ino

@ -90,7 +90,7 @@
#define I2C_SCL 15
#define BUTTON 2 //pin number for BUTTO
#define BUZZER 13 // enter your buzzer pin gpio
const byte TXLED = 2; //pin number for LED on TX Tracker
const byte TXLED = 25; //pin number for LED on TX Tracker
#elif ESP32_DEV_V1
#define I2C_SDA 21
#define I2C_SCL 22
@ -914,7 +914,11 @@ void loop() {
}
writedisplaytext(" ((RX))", "", loraReceivedFrameString, "", "", "");
#ifdef KISS_PROTOCOL
sendToTNC(loraReceivedFrameString + ", RSSI:"+ rf95.lastRssi() + ", SNR:" + rf95.lastSNR());
#ifdef RSSI_SNR_REPORT
sendToTNC(loraReceivedFrameString + ", RSSI:"+ rf95.lastRssi() + ", SNR:" + rf95.lastSNR()); //show RSSI & SNR in packet
#else
sendToTNC(loraReceivedFrameString);
#endif
#endif
#ifdef ENABLE_WIFI
sendToWebList(loraReceivedFrameString, rf95.lastRssi(), rf95.lastSNR());

2
tools/buildscript_versioning.py

@ -11,7 +11,7 @@ try:
build_no = int(f.readline()) + 1
except:
print('Starting build number from 1..')
build_no = 1
build_no = 53
with open(FILENAME_BUILDNO, 'w+') as f:
f.write(str(build_no))
print('Build number: {}'.format(build_no))

Loading…
Cancel
Save