mirror of
https://github.com/oe3cjb/TTGO-T-Beam-LoRa-APRS.git
synced 2026-03-18 18:54:43 +01:00
some clean up
This commit is contained in:
parent
98d27e0ac6
commit
6bf7c87f2c
|
|
@ -9,7 +9,7 @@
|
|||
; https://docs.platformio.org/page/projectconf.html
|
||||
|
||||
[env]
|
||||
platform = espressif32 @
|
||||
platform = espressif32
|
||||
framework = arduino
|
||||
|
||||
monitor_speed = 115200
|
||||
|
|
|
|||
|
|
@ -658,8 +658,6 @@ void setup(){
|
|||
time_to_refresh = millis() + showRXTime;
|
||||
displayInvalidGPS();
|
||||
digitalWrite(TXLED, HIGH);
|
||||
Serial.begin(115200);
|
||||
Serial.println('boot');
|
||||
}
|
||||
|
||||
// +---------------------------------------------------------------------+//
|
||||
|
|
|
|||
|
|
@ -6,32 +6,42 @@
|
|||
// licensed under CC BY-NC-SA
|
||||
|
||||
// USER DATA - USE THESE LINES TO MODIFY YOUR PREFERENCES
|
||||
#define KISS_PROTOCOL // If enabled send and receive data in SIMPLE KISS format to serial port
|
||||
#define CALLSIGN "NOCALL-0" //this option is available via WWW // enter your callsign here - less then 6 letter callsigns please add "spaces" so total length is 6 (without SSID)
|
||||
#define DIGI_PATH "ECHO" //this option is available via WWW // one hope, please use simple ECHO alias
|
||||
#define FIXED_BEACON_EN //this option is available via WWW // allows cyclic sending of a bicon when GPS is turned off
|
||||
#define LATIDUDE_PRESET "0000.00N" //this option is available via WWW // please in APRS notation: DDMM.mmN or DDMM.mmS (used for manual or fixed beacon sending)
|
||||
#define LONGITUDE_PRESET "00000.00E" //this option is available via WWW // please in APRS notation: DDDMM.mmE or DDDMM.mmW (used for manual or fixed beacon sending)
|
||||
#define APRS_SYMBOL_TABLE "/" //this option is available via WWW // set primary or secondary symbols table
|
||||
#define APRS_SYMBOL "[" //this option is available via WWW // other symbols are: "[" => RUNNER, "b" => BICYCLE, "<" => MOTORCYCLE, "R" => Recreation Vehicle
|
||||
#define MY_COMMENT "Lora Tracker" //this option is available via WWW // add your coment here - if empty then no comment is sent max 64 bytes
|
||||
//#define SHOW_ALT //this option is available via WWW // send Altitude in frame
|
||||
#define SHOW_BATT //this option is available via WWW // send battery voltage at the end of comment (we need beggining for QSY message format)
|
||||
#define SHOW_RX_PACKET //this option is available via WWW // uncomment to show received LoRa APS packets for the time given below
|
||||
#define SHOW_RX_TIME 10000 //this option is available via WWW // show RX packet for milliseconds (5000 = 5secs)
|
||||
#define KISS_PROTOCOL // If enabled send and receive data in SIMPLE KISS format to serial, bluetooth and tcp port
|
||||
#define CALLSIGN "NOCALL-0" // this option is available via WWW // enter your callsign here - less then 6 letter callsigns please add "spaces" so total length is 6 (without SSID)
|
||||
#define DIGI_PATH "ECHO" // this option is available via WWW // one hope, please use simple ECHO alias
|
||||
#define FIXED_BEACON_EN // this option is available via WWW // allows cyclic sending of a bicon when GPS is turned off
|
||||
#define LATIDUDE_PRESET "0000.00N" // this option is available via WWW // please in APRS notation: DDMM.mmN or DDMM.mmS (used for manual or fixed beacon sending)
|
||||
#define LONGITUDE_PRESET "00000.00E" // this option is available via WWW // please in APRS notation: DDDMM.mmE or DDDMM.mmW (used for manual or fixed beacon sending)
|
||||
#define APRS_SYMBOL_TABLE "/" // this option is available via WWW // set primary or secondary symbols table
|
||||
#define APRS_SYMBOL "[" // this option is available via WWW // other symbols are: "[" => RUNNER, "b" => BICYCLE, "<" => MOTORCYCLE, "R" => Recreation Vehicle
|
||||
#define MY_COMMENT "Lora Tracker" // this option is available via WWW // add your coment here - if empty then no comment is sent max 64 bytes
|
||||
#define SHOW_ALT // this option is available via WWW // send Altitude in frame
|
||||
#define SHOW_BATT // this option is available via WWW // send battery voltage at the end of comment (we need beggining for QSY message format)
|
||||
#define SHOW_RX_PACKET // this option is available via WWW // uncomment to show received LoRa APS packets for the time given below
|
||||
#define SHOW_RX_TIME 10000 // this option is available via WWW // show RX packet for milliseconds (5000 = 5secs)
|
||||
#define TXFREQ 433.775 // Set transmit frequency in MHz
|
||||
#define TXdbmW 20 // Set transmit power in dBm 17-50mW, 18-63mW, 19-80mW, 20-100mW
|
||||
//#define ENABLE_BLUETOOTH //this option is available via WWW // bluetooth KISS interface enable
|
||||
#define ENABLE_OLED //this option is available via WWW // enable oled
|
||||
//#define ENABLE_LED_SIGNALING // enable red and blue led signalling
|
||||
//#define BLUETOOTH_PIN "0000" // bluetooth pairing pin
|
||||
#define TXdbmW 20 // Set transmit power in dBm 17-50mW, 18-63mW, 19-80mW, 20-100mW
|
||||
#define ENABLE_OLED // this option is available via WWW // enable oled
|
||||
#define ENABLE_LED_SIGNALING // enable red and blue led signalling
|
||||
//#define ENABLE_TNC_SELF_TELEMETRY //
|
||||
//#define LOCAL_KISS_ECHO // echoing KISS frame back
|
||||
//#define T_BEAM_V1_0 // if enabled t-beam v1.0 disabled t-beam V.0.7
|
||||
//#define KISS_DEBUG //
|
||||
#define ENABLE_WIFI // enable WiFi conection do not turn off
|
||||
#define NETWORK_TNC_PORT 8001 // Set KISS TCP Port
|
||||
//#define ENABLE_WIFI_CLIENT_DEBUG //
|
||||
#define MAX_TIME_TO_NEXT_TX 360000L // TRANSMIT INTERVAL set here MAXIMUM time in ms(!) for smart beaconing - minimum time is always 1 min = 60 secs = 60000L !!!
|
||||
#define FIX_BEACON_INTERVAL 1800000L // Fixed beacon interwal (when GPS is disabled and FIXED_BEACON_EN is enabled) 30min default
|
||||
//#define TNC_SELF_TELEMETRY_INTERVAL (5 * 60 * 1000) //
|
||||
//#define TNC_SELF_TELEMETRY_INTERVAL (5 * 60 * 1000) //
|
||||
|
||||
#ifdef T_BEAM_V1_0
|
||||
#define ENABLE_WIFI // enable WiFi conection do not turn off
|
||||
#define ENABLE_BLUETOOTH // if enabled here this option is available via WWW // bluetooth KISS interface enabl
|
||||
//#define BLUETOOTH_PIN "0000" // bluetooth pairing pin
|
||||
#elif T_BEAM_V0_7
|
||||
#define ENABLE_WIFI // enable WiFi conection do not turn off
|
||||
#define ENABLE_BLUETOOTH // if enabled here this option is available via WWW // bluetooth KISS interface enabl
|
||||
//#define BLUETOOTH_PIN "0000" // bluetooth pairing pin
|
||||
#else
|
||||
#define ENABLE_WIFI // enable WiFi conection
|
||||
//#define ENABLE_BLUETOOTH // Lora32 board WiFi or Bluetooth
|
||||
//#define BLUETOOTH_PIN "0000" // bluetooth pairing pin
|
||||
#endif
|
||||
Loading…
Reference in a new issue