mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-07-15 06:11:37 +02:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 775e08a10a | |||
| f9291821d2 | |||
| 12d0bb760e | |||
| f020eb7491 |
+1
-1
@@ -45,7 +45,7 @@ namespace Utils {
|
|||||||
void checkRebootMode();
|
void checkRebootMode();
|
||||||
void checkRebootTime();
|
void checkRebootTime();
|
||||||
void checkSleepByLowBatteryVoltage(uint8_t mode);
|
void checkSleepByLowBatteryVoltage(uint8_t mode);
|
||||||
bool checkValidCallsign(const String& callsign);
|
bool callsignIsValid(const String& callsign);
|
||||||
void startupDelay();
|
void startupDelay();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ ___________________________________________________________________*/
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
String versionDate = "2026-01-21";
|
String versionDate = "2026-02-16";
|
||||||
String versionNumber = "3.2";
|
String versionNumber = "3.2";
|
||||||
Configuration Config;
|
Configuration Config;
|
||||||
WiFiClient aprsIsClient;
|
WiFiClient aprsIsClient;
|
||||||
|
|||||||
@@ -204,7 +204,7 @@ namespace APRS_IS_Utils {
|
|||||||
int firstColonIndex = packet.indexOf(":");
|
int firstColonIndex = packet.indexOf(":");
|
||||||
if (firstColonIndex > 5 && firstColonIndex < (packet.length() - 1) && packet[firstColonIndex + 1] != '}' && packet.indexOf("TCPIP") == -1) {
|
if (firstColonIndex > 5 && firstColonIndex < (packet.length() - 1) && packet[firstColonIndex + 1] != '}' && packet.indexOf("TCPIP") == -1) {
|
||||||
const String& Sender = packet.substring(3, packet.indexOf(">"));
|
const String& Sender = packet.substring(3, packet.indexOf(">"));
|
||||||
if (Sender != Config.callsign && Utils::checkValidCallsign(Sender)) {
|
if (Sender != Config.callsign && Utils::callsignIsValid(Sender)) {
|
||||||
STATION_Utils::updateLastHeard(Sender);
|
STATION_Utils::updateLastHeard(Sender);
|
||||||
Utils::typeOfPacket(packet.substring(3), 0); // LoRa-APRS
|
Utils::typeOfPacket(packet.substring(3), 0); // LoRa-APRS
|
||||||
const String& AddresseeAndMessage = packet.substring(packet.indexOf("::") + 2);
|
const String& AddresseeAndMessage = packet.substring(packet.indexOf("::") + 2);
|
||||||
|
|||||||
+9
-9
@@ -99,8 +99,8 @@ namespace DIGI_Utils {
|
|||||||
} else {
|
} else {
|
||||||
temp = packet.substring(packet.indexOf(">") + 1, packet.indexOf(":"));
|
temp = packet.substring(packet.indexOf(">") + 1, packet.indexOf(":"));
|
||||||
}
|
}
|
||||||
if (temp.indexOf(",") > 2) { // checks for path
|
if (temp.indexOf(",") > 2) { // checks for path in temp
|
||||||
const String& path = temp.substring(temp.indexOf(",") + 1); // after tocall
|
const String& path = temp.substring(temp.indexOf(",") + 1); // extract path after tocall
|
||||||
if (Config.digi.mode == 2 || backupDigiMode) {
|
if (Config.digi.mode == 2 || backupDigiMode) {
|
||||||
if (path.indexOf("WIDE1-1") != - 1) {
|
if (path.indexOf("WIDE1-1") != - 1) {
|
||||||
return buildPacket(path, packet, thirdParty, false);
|
return buildPacket(path, packet, thirdParty, false);
|
||||||
@@ -135,7 +135,8 @@ namespace DIGI_Utils {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void processLoRaPacket(const String& packet) {
|
void processLoRaPacket(const String& packet) {
|
||||||
if (packet.indexOf("NOGATE") == -1) {
|
if (packet.indexOf("NOGATE") >= 0) return;
|
||||||
|
|
||||||
bool thirdPartyPacket = false;
|
bool thirdPartyPacket = false;
|
||||||
String temp, Sender;
|
String temp, Sender;
|
||||||
int firstColonIndex = packet.indexOf(":");
|
int firstColonIndex = packet.indexOf(":");
|
||||||
@@ -147,10 +148,10 @@ namespace DIGI_Utils {
|
|||||||
temp = packet.substring(3);
|
temp = packet.substring(3);
|
||||||
Sender = packet.substring(3, packet.indexOf(">"));
|
Sender = packet.substring(3, packet.indexOf(">"));
|
||||||
}
|
}
|
||||||
if (Sender != (Config.tacticalCallsign == "" ? Config.callsign : Config.tacticalCallsign)) { // Avoid listening to own packets
|
|
||||||
if (!thirdPartyPacket && Config.tacticalCallsign == "" && !Utils::checkValidCallsign(Sender)) {
|
if (Sender == (Config.tacticalCallsign == "" ? Config.callsign : Config.tacticalCallsign)) return; // Avoid listening to self packets
|
||||||
return;
|
if (!thirdPartyPacket && Config.tacticalCallsign == "" && !Utils::callsignIsValid(Sender)) return; // No thirdParty + no tactical y no valid callsign
|
||||||
}
|
|
||||||
if (STATION_Utils::check25SegBuffer(Sender, temp.substring(temp.indexOf(":") + 2))) {
|
if (STATION_Utils::check25SegBuffer(Sender, temp.substring(temp.indexOf(":") + 2))) {
|
||||||
STATION_Utils::updateLastHeard(Sender);
|
STATION_Utils::updateLastHeard(Sender);
|
||||||
Utils::typeOfPacket(temp, 2); // Digi
|
Utils::typeOfPacket(temp, 2); // Digi
|
||||||
@@ -172,8 +173,7 @@ namespace DIGI_Utils {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
//}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
+3
-3
@@ -34,7 +34,7 @@
|
|||||||
extern Configuration Config;
|
extern Configuration Config;
|
||||||
extern HardwareSerial gpsSerial;
|
extern HardwareSerial gpsSerial;
|
||||||
extern TinyGPSPlus gps;
|
extern TinyGPSPlus gps;
|
||||||
extern bool callsignIsValid;
|
extern bool stationCallsignIsValid;
|
||||||
String distance, iGateBeaconPacket, iGateLoRaBeaconPacket;
|
String distance, iGateBeaconPacket, iGateLoRaBeaconPacket;
|
||||||
|
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ namespace GPS_Utils {
|
|||||||
String encodedGPS = APRSPacketLib::encodeGPSIntoBase91(Config.beacon.latitude, Config.beacon.longitude, 0, 0, Config.beacon.symbol, false, 0, true, Config.beacon.ambiguityLevel);
|
String encodedGPS = APRSPacketLib::encodeGPSIntoBase91(Config.beacon.latitude, Config.beacon.longitude, 0, 0, Config.beacon.symbol, false, 0, true, Config.beacon.ambiguityLevel);
|
||||||
|
|
||||||
if (Config.callsign.indexOf("NOCALL-10") != 0) {
|
if (Config.callsign.indexOf("NOCALL-10") != 0) {
|
||||||
if (!callsignIsValid) {
|
if (!stationCallsignIsValid) {
|
||||||
displayShow("***** ERROR ******", "CALLSIGN = NOT VALID!", "", "Only Rx Mode Active", 3000);
|
displayShow("***** ERROR ******", "CALLSIGN = NOT VALID!", "", "Only Rx Mode Active", 3000);
|
||||||
Config.loramodule.txActive = false;
|
Config.loramodule.txActive = false;
|
||||||
Config.aprs_is.messagesToRF = false;
|
Config.aprs_is.messagesToRF = false;
|
||||||
@@ -57,7 +57,7 @@ namespace GPS_Utils {
|
|||||||
Config.beacon.sendViaRF = false;
|
Config.beacon.sendViaRF = false;
|
||||||
Config.digi.mode = 0;
|
Config.digi.mode = 0;
|
||||||
Config.digi.backupDigiMode = false;
|
Config.digi.backupDigiMode = false;
|
||||||
} else if (callsignIsValid && Config.tacticalCallsign != "") {
|
} else if (stationCallsignIsValid && Config.tacticalCallsign != "") {
|
||||||
beaconPacket = APRSPacketLib::generateBasePacket(Config.tacticalCallsign, "APLRG1", Config.beacon.path);
|
beaconPacket = APRSPacketLib::generateBasePacket(Config.tacticalCallsign, "APLRG1", Config.beacon.path);
|
||||||
Config.aprs_is.active = false;
|
Config.aprs_is.active = false;
|
||||||
Config.beacon.sendViaAPRSIS = false;
|
Config.beacon.sendViaAPRSIS = false;
|
||||||
|
|||||||
+2
-2
@@ -44,7 +44,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern Configuration Config;
|
extern Configuration Config;
|
||||||
extern bool callsignIsValid;
|
extern bool stationCallsignIsValid;
|
||||||
|
|
||||||
|
|
||||||
namespace POWER_Utils {
|
namespace POWER_Utils {
|
||||||
@@ -324,7 +324,7 @@ namespace POWER_Utils {
|
|||||||
delay(1000);
|
delay(1000);
|
||||||
BATTERY_Utils::setup();
|
BATTERY_Utils::setup();
|
||||||
BATTERY_Utils::startupBatteryHealth();
|
BATTERY_Utils::startupBatteryHealth();
|
||||||
callsignIsValid = Utils::checkValidCallsign(Config.callsign);
|
stationCallsignIsValid = Utils::callsignIsValid(Config.callsign);
|
||||||
setCpuFrequencyMhz(80);
|
setCpuFrequencyMhz(80);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -49,9 +49,9 @@ namespace QUERY_Utils {
|
|||||||
answer.concat(versionDate);
|
answer.concat(versionDate);
|
||||||
} else if (queryQuestion == "?APRSP") {
|
} else if (queryQuestion == "?APRSP") {
|
||||||
answer.concat("iGate QTH: ");
|
answer.concat("iGate QTH: ");
|
||||||
answer.concat(String(Config.beacon.latitude,3));
|
answer.concat(String(Config.beacon.latitude,2));
|
||||||
answer.concat(" ");
|
answer.concat(" ");
|
||||||
answer.concat(String(Config.beacon.longitude,3));
|
answer.concat(String(Config.beacon.longitude,2));
|
||||||
} else if (queryQuestion == "?APRSL") {
|
} else if (queryQuestion == "?APRSL") {
|
||||||
if (lastHeardStations.size() == 0) {
|
if (lastHeardStations.size() == 0) {
|
||||||
char answerArray[50];
|
char answerArray[50];
|
||||||
|
|||||||
+4
-3
@@ -51,12 +51,13 @@ namespace SLEEP_Utils {
|
|||||||
if (Config.digi.ecoMode == 1) {
|
if (Config.digi.ecoMode == 1) {
|
||||||
pinMode(RADIO_WAKEUP_PIN, INPUT);
|
pinMode(RADIO_WAKEUP_PIN, INPUT);
|
||||||
attachInterrupt(digitalPinToInterrupt(RADIO_WAKEUP_PIN), wakeUpLoRaPacketReceived, RISING);
|
attachInterrupt(digitalPinToInterrupt(RADIO_WAKEUP_PIN), wakeUpLoRaPacketReceived, RISING);
|
||||||
#if defined(ESP32) || defined(ESP32_S2) || defined(ESP32_S3)
|
|
||||||
|
#if defined(CONFIG_IDF_TARGET_ESP32) || defined(CONFIG_IDF_TARGET_ESP32S2) || defined(CONFIG_IDF_TARGET_ESP32S3)
|
||||||
esp_sleep_enable_ext1_wakeup(GPIO_WAKEUP_PIN, ESP_EXT1_WAKEUP_ANY_HIGH);
|
esp_sleep_enable_ext1_wakeup(GPIO_WAKEUP_PIN, ESP_EXT1_WAKEUP_ANY_HIGH);
|
||||||
#endif
|
#elif defined(CONFIG_IDF_TARGET_ESP32C3)
|
||||||
#if defined(ESP32_C3)
|
|
||||||
esp_deep_sleep_enable_gpio_wakeup(1ULL << GPIO_WAKEUP_PIN, ESP_GPIO_WAKEUP_GPIO_HIGH);
|
esp_deep_sleep_enable_gpio_wakeup(1ULL << GPIO_WAKEUP_PIN, ESP_GPIO_WAKEUP_GPIO_HIGH);
|
||||||
#endif
|
#endif
|
||||||
|
//#if defined(ARDUINO_ARCH_STM32) || defined(ARDUINO_ARCH_NRF52)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-3
@@ -67,7 +67,7 @@ bool beaconUpdate = false;
|
|||||||
uint32_t lastBeaconTx = 0;
|
uint32_t lastBeaconTx = 0;
|
||||||
uint32_t lastScreenOn = millis();
|
uint32_t lastScreenOn = millis();
|
||||||
uint32_t lastStatusTx = 0;
|
uint32_t lastStatusTx = 0;
|
||||||
bool callsignIsValid = false;
|
bool stationCallsignIsValid = false;
|
||||||
String beaconPacket;
|
String beaconPacket;
|
||||||
String secondaryBeaconPacket;
|
String secondaryBeaconPacket;
|
||||||
|
|
||||||
@@ -198,7 +198,7 @@ namespace Utils {
|
|||||||
}
|
}
|
||||||
beaconPacket += Config.beacon.comment;
|
beaconPacket += Config.beacon.comment;
|
||||||
secondaryBeaconPacket += Config.beacon.comment;
|
secondaryBeaconPacket += Config.beacon.comment;
|
||||||
if (callsignIsValid && Config.tacticalCallsign != "") {
|
if (stationCallsignIsValid && Config.tacticalCallsign != "") {
|
||||||
beaconPacket += " de ";
|
beaconPacket += " de ";
|
||||||
beaconPacket += Config.callsign;
|
beaconPacket += Config.callsign;
|
||||||
secondaryBeaconPacket += " de ";
|
secondaryBeaconPacket += " de ";
|
||||||
@@ -415,7 +415,7 @@ namespace Utils {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool checkValidCallsign(const String& callsign) {
|
bool callsignIsValid(const String& callsign) {
|
||||||
if (callsign == "WLNK-1") return true;
|
if (callsign == "WLNK-1") return true;
|
||||||
|
|
||||||
String cleanCallsign;
|
String cleanCallsign;
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32_C3
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1268
|
#define HAS_SX1268
|
||||||
#define RADIO_HAS_XTAL
|
#define RADIO_HAS_XTAL
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1268
|
#define HAS_SX1268
|
||||||
#define HAS_1W_LORA
|
#define HAS_1W_LORA
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1262
|
#define HAS_SX1262
|
||||||
#define HAS_1W_LORA
|
#define HAS_1W_LORA
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_LLCC68
|
#define HAS_LLCC68
|
||||||
#define HAS_1W_LORA
|
#define HAS_1W_LORA
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1268
|
#define HAS_SX1268
|
||||||
#define HAS_1W_LORA
|
#define HAS_1W_LORA
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1278
|
#define HAS_SX1278
|
||||||
#define RADIO_SCLK_PIN 5
|
#define RADIO_SCLK_PIN 5
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1276
|
#define HAS_SX1276
|
||||||
#define RADIO_SCLK_PIN 5
|
#define RADIO_SCLK_PIN 5
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1278
|
#define HAS_SX1278
|
||||||
#define RADIO_SCLK_PIN 18
|
#define RADIO_SCLK_PIN 18
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1276
|
#define HAS_SX1276
|
||||||
#define RADIO_SCLK_PIN 18
|
#define RADIO_SCLK_PIN 18
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1278
|
#define HAS_SX1278
|
||||||
#define RADIO_SCLK_PIN 36
|
#define RADIO_SCLK_PIN 36
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1268
|
#define HAS_SX1268
|
||||||
#define HAS_1W_LORA
|
#define HAS_1W_LORA
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32_S3
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1268
|
#define HAS_SX1268
|
||||||
#define RADIO_VCC_PIN 21
|
#define RADIO_VCC_PIN 21
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32_S3
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1268
|
#define HAS_SX1268
|
||||||
#define HAS_1W_LORA
|
#define HAS_1W_LORA
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1278
|
#define HAS_SX1278
|
||||||
#define RADIO_SCLK_PIN 5
|
#define RADIO_SCLK_PIN 5
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1278
|
#define HAS_SX1278
|
||||||
#define RADIO_SCLK_PIN 18
|
#define RADIO_SCLK_PIN 18
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1278
|
#define HAS_SX1278
|
||||||
#define RADIO_SCLK_PIN 15
|
#define RADIO_SCLK_PIN 15
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32_S2
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1278
|
#define HAS_SX1278
|
||||||
#define RADIO_SCLK_PIN 36
|
#define RADIO_SCLK_PIN 36
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32_S3
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1262
|
#define HAS_SX1262
|
||||||
#define HAS_TCXO
|
#define HAS_TCXO
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32_C3
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1268
|
#define HAS_SX1268
|
||||||
#define HAS_1W_LORA
|
#define HAS_1W_LORA
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32_C3
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1262
|
#define HAS_SX1262
|
||||||
#define HAS_1W_LORA
|
#define HAS_1W_LORA
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1278
|
#define HAS_SX1278
|
||||||
#define RADIO_SCLK_PIN 5
|
#define RADIO_SCLK_PIN 5
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1276
|
#define HAS_SX1276
|
||||||
#define RADIO_SCLK_PIN 5
|
#define RADIO_SCLK_PIN 5
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32_C3
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1262
|
#define HAS_SX1262
|
||||||
#define HAS_TCXO
|
#define HAS_TCXO
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32_S3
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1262
|
#define HAS_SX1262
|
||||||
#define HAS_TCXO
|
#define HAS_TCXO
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32_S3
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1262
|
#define HAS_SX1262
|
||||||
#define HAS_TCXO
|
#define HAS_TCXO
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32_S3
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1262
|
#define HAS_SX1262
|
||||||
#define HAS_TCXO
|
#define HAS_TCXO
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32_S3
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1262
|
#define HAS_SX1262
|
||||||
#define HAS_TCXO
|
#define HAS_TCXO
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1276
|
#define HAS_SX1276
|
||||||
#define RADIO_SCLK_PIN 5
|
#define RADIO_SCLK_PIN 5
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32_S3
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1262
|
#define HAS_SX1262
|
||||||
#define HAS_TCXO
|
#define HAS_TCXO
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32_S3
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1262
|
#define HAS_SX1262
|
||||||
#define HAS_TCXO
|
#define HAS_TCXO
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32_S3
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1262
|
#define HAS_SX1262
|
||||||
#define HAS_TCXO
|
#define HAS_TCXO
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32_S3
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1262
|
#define HAS_SX1262
|
||||||
#define HAS_TCXO
|
#define HAS_TCXO
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32_S3
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1262
|
#define HAS_SX1262
|
||||||
#define HAS_TCXO
|
#define HAS_TCXO
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32_S3
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1262
|
#define HAS_SX1262
|
||||||
#define HAS_TCXO
|
#define HAS_TCXO
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1278
|
#define HAS_SX1278
|
||||||
#define RADIO_SCLK_PIN 5
|
#define RADIO_SCLK_PIN 5
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1276
|
#define HAS_SX1276
|
||||||
#define RADIO_SCLK_PIN 5
|
#define RADIO_SCLK_PIN 5
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1278
|
#define HAS_SX1278
|
||||||
#define RADIO_SCLK_PIN 5
|
#define RADIO_SCLK_PIN 5
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1278
|
#define HAS_SX1278
|
||||||
#define RADIO_SCLK_PIN 5
|
#define RADIO_SCLK_PIN 5
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1276
|
#define HAS_SX1276
|
||||||
#define RADIO_SCLK_PIN 5
|
#define RADIO_SCLK_PIN 5
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1262
|
#define HAS_SX1262
|
||||||
#define HAS_TCXO
|
#define HAS_TCXO
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1276
|
#define HAS_SX1276
|
||||||
#define RADIO_SCLK_PIN 5
|
#define RADIO_SCLK_PIN 5
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1268
|
#define HAS_SX1268
|
||||||
#define RADIO_SCLK_PIN 5
|
#define RADIO_SCLK_PIN 5
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32_S3
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1262
|
#define HAS_SX1262
|
||||||
#define HAS_TCXO
|
#define HAS_TCXO
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32_S3
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1262
|
#define HAS_SX1262
|
||||||
#define HAS_TCXO
|
#define HAS_TCXO
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32_S3
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1262
|
#define HAS_SX1262
|
||||||
#define HAS_TCXO
|
#define HAS_TCXO
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#ifndef BOARD_PINOUT_H_
|
#ifndef BOARD_PINOUT_H_
|
||||||
#define BOARD_PINOUT_H_
|
#define BOARD_PINOUT_H_
|
||||||
|
|
||||||
#define ESP32_S3
|
|
||||||
|
|
||||||
// LoRa Radio
|
// LoRa Radio
|
||||||
#define HAS_SX1262
|
#define HAS_SX1262
|
||||||
#define HAS_TCXO
|
#define HAS_TCXO
|
||||||
|
|||||||
Reference in New Issue
Block a user