Browse Source

Merge pull request #11 from Qyon/master_sq9mdd

cleanup recalcGPS, remove .vscode from repo
pull/13/head
Rysiek Labus 10 months ago
committed by GitHub
parent
commit
a237de71db
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      .gitignore
  2. 245
      .vscode/c_cpp_properties.json
  3. 7
      .vscode/extensions.json
  4. 34
      .vscode/launch.json
  5. 49
      src/TTGO_T-Beam_LoRa_APRS.ino

7
.gitignore

@ -3,4 +3,9 @@
.piolibdeps
.clang_complete
.gcc-flags.json
.idea
.idea
.vscode
CMakeLists.txt
CMakeListsPrivate.txt
CMakeListsUser.txt
cmake-build-*

245
.vscode/c_cpp_properties.json

@ -1,245 +0,0 @@
//
// !!! WARNING !!! AUTO-GENERATED FILE!
// PLEASE DO NOT MODIFY IT AND USE "platformio.ini":
// https://docs.platformio.org/page/projectconf/section_env_build.html#build-flags
//
{
"configurations": [
{
"name": "PlatformIO",
"includePath": [
"e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/include",
"e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/src",
"e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/lib/KISS_TO_TNC2",
"e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/lib/BG_RF95",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/BluetoothSerial/src",
"e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/.pio/libdeps/ttgo-t-beam/OneWire",
"e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/.pio/libdeps/ttgo-t-beam/AXP202X_Library/src",
"e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/.pio/libdeps/ttgo-t-beam/Adafruit Unified Sensor",
"e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/.pio/libdeps/ttgo-t-beam/Adafruit SSD1306",
"e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/.pio/libdeps/ttgo-t-beam/Adafruit GFX Library",
"e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/.pio/libdeps/ttgo-t-beam/Adafruit BusIO",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src",
"e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/.pio/libdeps/ttgo-t-beam/TinyGPSPlus/src",
"e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/.pio/libdeps/ttgo-t-beam/RadioHead",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/SPI/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/config",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_trace",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_update",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/asio",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bootloader_support",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bt",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/coap",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/console",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/driver",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-tls",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_adc_cal",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_event",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_client",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_server",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_https_ota",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_ringbuf",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ethernet",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/expat",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fatfs",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freemodbus",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freertos",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/heap",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/idf_test",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/jsmn",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/json",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/libsodium",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/log",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/lwip",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mbedtls",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mdns",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/micro-ecc",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mqtt",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/newlib",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nghttp",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nvs_flash",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/openssl",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protobuf-c",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protocomm",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/pthread",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/sdmmc",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/smartconfig_ack",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/soc",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spi_flash",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spiffs",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcp_transport",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcpip_adapter",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ulp",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/vfs",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wear_levelling",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wifi_provisioning",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wpa_supplicant",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/xtensa-debug-module",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-face",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32-camera",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fb_gfx",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/cores/esp32",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/variants/t-beam",
"e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/.pio/libdeps/ttgo-t-beam/Adafruit BME280 Library",
"e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/.pio/libdeps/ttgo-t-beam/DHT sensor library for ESPx",
"e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/.pio/libdeps/ttgo-t-beam/DallasTemperature",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/AsyncUDP/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/AzureIoT/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/BLE/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/DNSServer/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/EEPROM/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/ESP32/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/ESPmDNS/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/FFat/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/FS/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/HTTPClient/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/HTTPUpdate/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/NetBIOS/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/Preferences/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/SD/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/SD_MMC/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/SPIFFS/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/SimpleBLE/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/Ticker/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/Update/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/WebServer/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/WiFiClientSecure/src",
"C:/Users/rysiek/.platformio/packages/tool-unity",
""
],
"browse": {
"limitSymbolsToIncludedHeaders": true,
"path": [
"e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/include",
"e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/src",
"e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/lib/KISS_TO_TNC2",
"e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/lib/BG_RF95",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/BluetoothSerial/src",
"e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/.pio/libdeps/ttgo-t-beam/OneWire",
"e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/.pio/libdeps/ttgo-t-beam/AXP202X_Library/src",
"e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/.pio/libdeps/ttgo-t-beam/Adafruit Unified Sensor",
"e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/.pio/libdeps/ttgo-t-beam/Adafruit SSD1306",
"e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/.pio/libdeps/ttgo-t-beam/Adafruit GFX Library",
"e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/.pio/libdeps/ttgo-t-beam/Adafruit BusIO",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src",
"e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/.pio/libdeps/ttgo-t-beam/TinyGPSPlus/src",
"e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/.pio/libdeps/ttgo-t-beam/RadioHead",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/SPI/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/config",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_trace",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/app_update",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/asio",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bootloader_support",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/bt",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/coap",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/console",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/driver",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-tls",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_adc_cal",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_event",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_client",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_http_server",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_https_ota",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp_ringbuf",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ethernet",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/expat",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fatfs",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freemodbus",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/freertos",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/heap",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/idf_test",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/jsmn",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/json",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/libsodium",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/log",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/lwip",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mbedtls",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mdns",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/micro-ecc",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/mqtt",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/newlib",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nghttp",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/nvs_flash",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/openssl",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protobuf-c",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/protocomm",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/pthread",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/sdmmc",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/smartconfig_ack",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/soc",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spi_flash",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/spiffs",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcp_transport",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/tcpip_adapter",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/ulp",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/vfs",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wear_levelling",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wifi_provisioning",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/wpa_supplicant",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/xtensa-debug-module",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp-face",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/esp32-camera",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/tools/sdk/include/fb_gfx",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/cores/esp32",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/variants/t-beam",
"e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/.pio/libdeps/ttgo-t-beam/Adafruit BME280 Library",
"e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/.pio/libdeps/ttgo-t-beam/DHT sensor library for ESPx",
"e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/.pio/libdeps/ttgo-t-beam/DallasTemperature",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/ArduinoOTA/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/AsyncUDP/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/AzureIoT/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/BLE/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/DNSServer/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/EEPROM/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/ESP32/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/ESPmDNS/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/FFat/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/FS/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/HTTPClient/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/HTTPUpdate/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/NetBIOS/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/Preferences/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/SD/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/SD_MMC/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/SPIFFS/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/SimpleBLE/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/Ticker/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/Update/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/WebServer/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src",
"C:/Users/rysiek/.platformio/packages/framework-arduinoespressif32/libraries/WiFiClientSecure/src",
"C:/Users/rysiek/.platformio/packages/tool-unity",
""
]
},
"defines": [
"PLATFORMIO=50100",
"ARDUINO_T_Beam",
"BOARD_HAS_PSRAM",
"ESP32",
"ESP_PLATFORM",
"F_CPU=240000000L",
"HAVE_CONFIG_H",
"MBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\"",
"ARDUINO=10805",
"ARDUINO_ARCH_ESP32",
"ARDUINO_VARIANT=\"t-beam\"",
"ARDUINO_BOARD=\"TTGO T-Beam\"",
""
],
"cStandard": "c99",
"cppStandard": "c++11",
"compilerPath": "C:/Users/rysiek/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-gcc.exe",
"compilerArgs": [
"-mfix-esp32-psram-cache-issue",
"-mlongcalls",
""
]
}
],
"version": 4
}

7
.vscode/extensions.json

@ -1,7 +0,0 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"platformio.platformio-ide"
]
}

34
.vscode/launch.json

@ -1,34 +0,0 @@
// AUTOMATICALLY GENERATED FILE. PLEASE DO NOT MODIFY IT MANUALLY
// PIO Unified Debugger
//
// Documentation: https://docs.platformio.org/page/plus/debugging.html
// Configuration: https://docs.platformio.org/page/projectconf/section_env_debug.html
{
"version": "0.2.0",
"configurations": [
{
"type": "platformio-debug",
"request": "launch",
"name": "PIO Debug",
"executable": "e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/.pio/build/ttgo-t-beam/firmware.elf",
"projectEnvName": "ttgo-t-beam",
"toolchainBinDir": "C:/Users/rysiek/.platformio/packages/toolchain-xtensa32/bin",
"preLaunchTask": {
"type": "PlatformIO",
"task": "Pre-Debug"
},
"internalConsoleOptions": "openOnSessionStart"
},
{
"type": "platformio-debug",
"request": "launch",
"name": "PIO Debug (skip Pre-Debug)",
"executable": "e:/Dokumenty/GitHub/TTGO-T-Beam-LoRa-APRS/.pio/build/ttgo-t-beam/firmware.elf",
"projectEnvName": "ttgo-t-beam",
"toolchainBinDir": "C:/Users/rysiek/.platformio/packages/toolchain-xtensa32/bin",
"internalConsoleOptions": "openOnSessionStart"
}
]
}

49
src/TTGO_T-Beam_LoRa_APRS.ino

@ -36,13 +36,9 @@
#define SSD1306_ADDRESS 0x3C
//other global Variables
String Textzeile1, Textzeile2;
#ifdef KISS_PROTOCOL
String inTNCData = "";
#endif
//int button=0;
//int button_ctr=0;
// LED for signalling
@ -117,7 +113,6 @@ static const adc_unit_t unit = ADC_UNIT_1;
void recalcGPS(void);
void sendpacket(void);
void loraSend(byte, byte, byte, byte, byte, long, byte, float);
void batt_read(void);
void writedisplaytext(String, String, String, String, String, String, int);
void setup_data(void);
@ -160,22 +155,19 @@ char *ax25_base91enc(char *s, uint8_t n, uint32_t v){
void recalcGPS(){
String Ns, Ew, helper;
char helper_base91[] = {"0000\0"};
float Tlat=52.0000, Tlon=20.0000;
int i, Talt, lenalt;
double Tlat=52.0000, Tlon=20.0000;
uint32_t aprs_lat, aprs_lon;
float Tspeed=0, Tcourse=0;
String Speedx, Coursex, Altx;
double Tspeed=0, Tcourse=0;
String Speedx, Coursex;
int i;
#ifdef SHOW_ALT
String Altx;
int Talt;
#endif
Tlat=gps.location.lat();
Tlon=gps.location.lng();
Talt=gps.altitude.meters() * 3.28;
Altx = Talt;
lenalt = Altx.length();
Altx = "";
for (i = 0; i < (6-lenalt); i++) {
Altx += "0";
}
Altx += Talt;
Tcourse=gps.course.deg();
Tspeed=gps.speed.knots();
if(Tlat<0) { Ns = "S"; } else { Ns = "N"; }
@ -202,7 +194,7 @@ void recalcGPS(){
outString += ">APLM0:!";
#endif
if(gps_state==true && gps.location.isValid()){
if(gps_state && gps.location.isValid()){
outString += APRS_SYMBOL_TABLE;
ax25_base91enc(helper_base91, 4, aprs_lat);
for (i=0; i<4; i++) {
@ -217,10 +209,15 @@ void recalcGPS(){
outString += helper_base91[0];
ax25_base91enc(helper_base91, 1, (uint32_t) (log1p(Tspeed)/0.07696));
outString += helper_base91[0];
outString += "\x48";
outString += "H";
#ifdef SHOW_ALT
Talt=gps.altitude.meters() * 3.28d;
Altx = Talt;
outString += "/A=";
outString += Altx;
for (i = 0; i < (6-Altx.length()); ++i) {
outString += "0";
}
outString += Talt;
#endif
}else{
outString += LATIDUDE_PRESET;
@ -240,7 +237,7 @@ void recalcGPS(){
#ifdef KISS_PROTOCOL
Serial.print(encode_kiss(outString));
#ifdef ENABLE_BLUETOOTH
if (SerialBT.connected()) {
if (SerialBT.hasClient()) {
SerialBT.print(encode_kiss(outString));
}
#endif
@ -337,7 +334,7 @@ void handleKISSData(char character) {
Serial.print(inTNCData);
#endif
#ifdef ENABLE_BLUETOOTH
if (SerialBT.connected()) {
if (SerialBT.hasClient()) {
#ifdef LOCAL_KISS_ECHO
SerialBT.print(inTNCData);
#endif
@ -357,7 +354,7 @@ String getSatAndBatInfo() {
line5 = "SAT: X BAT: " + String(BattVolts, 1) + "V";
}
#ifdef ENABLE_BLUETOOTH
if (SerialBT.connected()){
if (SerialBT.hasClient()){
line5 += "BT";
}
#endif
@ -367,7 +364,7 @@ String getSatAndBatInfo() {
void displayInvalidGPS() {
writedisplaytext(" " + Tcall, "(TX) at valid GPS", "LAT: not valid", "LON: not valid", "SPD: --- CRS: ---", getSatAndBatInfo(), 1);
#ifdef SHOW_GPS_DATA
Serial.print("(TX) at valid GPS / LAT: not valid / Lon: not valid / SPD: --- / CRS: ---");
Serial.print("(TX) at valid GPS / LAT: not valid / Lon: not valid / SPD: --- / CRS: ---");
Serial.print(" / SAT: ");
Serial.print(String(gps.satellites.value()));
Serial.print(" / BAT: ");
@ -506,7 +503,7 @@ void loop() {
handleKISSData(character);
}
#ifdef ENABLE_BLUETOOTH
if (SerialBT.connected()) {
if (SerialBT.hasClient()) {
while (SerialBT.available() > 0 ){
char character = SerialBT.read();
handleKISSData(character);
@ -529,7 +526,7 @@ void loop() {
#ifdef KISS_PROTOCOL
Serial.print(encode_kiss(loraReceivedFrameString));
#ifdef ENABLE_BLUETOOTH
if (SerialBT.connected()){
if (SerialBT.hasClient()){
SerialBT.print(encode_kiss(loraReceivedFrameString));
}
#endif

Loading…
Cancel
Save