diff --git a/README.md b/README.md index b76b57a..5b3418d 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ ## TTGO T-Beam Tracker for The Things Network +Current version: 1.1.1 + Uploads GPS data from the TTGO T-Beam to [The Things Network](https://www.thethingsnetwork.org) (TTN) and [TTN Mapper](https://ttnmapper.org) for tracking and determining signal strength of LoRaWAN gateways and nodes. #### Based on the code from [xoseperez/ttgo-beam-tracker](https://github.com/xoseperez/ttgo-beam-tracker), with excerpts from [dermatthias/Lora-TTNMapper-T-Beam](https://github.com/dermatthias/Lora-TTNMapper-T-Beam) to fix an issue with incorrect GPS data being transmitted to The Things Network. I also added support for the 915 MHz frequency (North and South America). [lewisxhe/TTGO-T-Beam](https://github.com/lewisxhe/TTGO-T-Beam) was referenced for enabling use on the newer T-Beam board (Rev1). diff --git a/main/configuration.h b/main/configuration.h index e02a60f..9a58b62 100644 --- a/main/configuration.h +++ b/main/configuration.h @@ -33,7 +33,7 @@ void ttn_register(void (*callback)(uint8_t message)); // ----------------------------------------------------------------------------- #define APP_NAME "TTN MAP-TRACK" -#define APP_VERSION "1.1.0" +#define APP_VERSION "1.1.1" // ----------------------------------------------------------------------------- // Configuration @@ -41,7 +41,7 @@ void ttn_register(void (*callback)(uint8_t message)); // Select which T-Beam board is being used. Only uncomment one. #define T_BEAM_V07 // AKA Rev0 (first board released) -// #define T_BEAM_V10 // AKA Rev1 (second board released) +//#define T_BEAM_V10 // AKA Rev1 (second board released) // Select the payload format. Change on TTN as well. Only uncomment one. #define PAYLOAD_USE_FULL diff --git a/main/screen.ino b/main/screen.ino index 5cd6422..9663689 100644 --- a/main/screen.ino +++ b/main/screen.ino @@ -115,7 +115,7 @@ void screen_loop() { if (axp.isVbusRemoveIRQ()) { baChStatus = "No Charging"; } - Serial.println(baChStatus); //Prints charging status to screen + Serial.println(baChStatus); //Prints charging status to screen digitalWrite(2, !digitalRead(2)); axp.clearIRQ(); } diff --git a/main/ttn.ino b/main/ttn.ino index 60b80f2..be8cf54 100644 --- a/main/ttn.ino +++ b/main/ttn.ino @@ -211,11 +211,11 @@ void ttn_join() { #elif defined(USE_OTAA) - #ifdef SINGLE_CHANNEL_GATEWAY // Make LMiC initialize the default channels, choose a channel, and // schedule the OTAA join LMIC_startJoining(); + #ifdef SINGLE_CHANNEL_GATEWAY // LMiC will already have decided to send on one of the 3 default // channels; ensure it uses the one we want LMIC.txChnl = SINGLE_CHANNEL_GATEWAY;