Browse Source

rename typo KISS_PROTOCOL

pull/10/head
Łukasz Nidecki 1 year ago
parent
commit
c51b844c79
  1. 14
      src/TTGO_T-Beam_LoRa_APRS.ino
  2. 2
      src/TTGO_T-Beam_LoRa_APRS_config.h

14
src/TTGO_T-Beam_LoRa_APRS.ino

@ -37,7 +37,7 @@
//other global Variables
String Textzeile1, Textzeile2;
#ifdef KISS_PROTOCOLL
#ifdef KISS_PROTOCOL
String inTNCData = "";
#endif
int button=0;
@ -138,7 +138,7 @@ BluetoothSerial SerialBT;
// This custom version of delay() ensures that the gps object
// is being "fed".
static void smartDelay(unsigned long ms){
#ifdef KISS_PROTOCOLL
#ifdef KISS_PROTOCOL
delay(10);
return;
#endif
@ -233,7 +233,7 @@ void recalcGPS(){
outString += String(BattVolts,2);
outString += ("V");
#endif
#ifdef KISS_PROTOCOLL
#ifdef KISS_PROTOCOL
Serial.print(encode_kiss(outString));
#ifdef ENABLE_BLUETOOTH
if (SerialBT.connected()){
@ -388,7 +388,7 @@ void loop() {
gps.encode(gpsSerial.read());
}
#ifdef KISS_PROTOCOLL
#ifdef KISS_PROTOCOL
while (Serial.available() > 0 ){
char character = Serial.read();
handleKISSData(character);
@ -412,7 +412,7 @@ void loop() {
for (int i=0 ; i < loraReceivedLength ; i++) {
loraReceivedFrameString += (char) lora_RXBUFF[i];
}
#ifdef KISS_PROTOCOLL
#ifdef KISS_PROTOCOL
Serial.print(encode_kiss(loraReceivedFrameString));
#ifdef ENABLE_BLUETOOTH
if (SerialBT.connected()){
@ -516,7 +516,7 @@ void loop() {
displayInvalidGPS();
}
}
#ifdef KISS_PROTOCOLL
#ifdef KISS_PROTOCOL
#ifdef KISS_DEBUG
static auto last_debug_send_time = millis();
if (millis() - last_debug_send_time > 1000*5) {
@ -550,7 +550,7 @@ void handleKISSData(char character) {
inTNCData.concat(character);
if (character == (char)FEND && inTNCData.length() > 3){
writedisplaytext("(KISSTX))","","","","","",1);
#ifdef KISS_PROTOCOLL
#ifdef KISS_PROTOCOL
const String &TNC2DataFrame = decode_kiss(inTNCData);
Serial.print(inTNCData);

2
src/TTGO_T-Beam_LoRa_APRS_config.h

@ -5,7 +5,7 @@
// licensed under CC BY-NC-SA
// USER DATA - USE THESE LINES TO MODIFY YOUR PREFERENCES
#define KISS_PROTOCOLL // If enabled send and receive data in SIMPLE KISS format to serial port
#define KISS_PROTOCOL // If enabled send and receive data in SIMPLE KISS format to serial port
#define CALLSIGN "SQ9MDD-11" // enter your callsign here - less then 6 letter callsigns please add "spaces" so total length is 6 (without SSID)
#define DIGI_PATH "WIDE1-1" // one hope please (WIDE1-1)
#define APRS_SYMBOL_TABLE "/"

Loading…
Cancel
Save