This commit is contained in:
richonguzman 2023-02-22 08:20:33 -03:00
parent d3d25cc3f2
commit b7278718ee
3 changed files with 7 additions and 35 deletions

View File

@ -67,10 +67,12 @@ void setup() {
APRS_connect();
}
void loop() {
void loop() {
APRS_IS_READ();
uint32_t lastTx = millis() - lastTxTime;
/*uint32_t lastTx = millis() - lastTxTime;
if (lastTx >= BeaconInterval) {
beacon_update = true;
}
@ -80,5 +82,5 @@ void loop() {
espClient.write(WeatherReportBeaconPacket.c_str());
lastTxTime = millis();
beacon_update = false;
}
}*/
}

View File

@ -14,7 +14,8 @@ const String AprsServer = "radioaficion.pro"; // write the add
const int AprsServerPort = 14580; // 14579 port is allready filtered so use 14580
const String AprsSoftwareName = "ESP32_TEST";
const String AprsSoftwareVersion = "0.1.0";
const String AprsFilter = "t/poms/CD2RXU-10/50";
const int ReportingDistance = 50;
const String AprsFilter = "t/poms/CD2RXU-10/50"; //cambio a : "t/poms/" + WeatherReportCallsign + "/" + String(ReportingDistance)
const String WeatherReportComment = "LoRa APRS Weather Report https://github.com/richonguzman/ESP32_APRS_Weather_Report";

View File

@ -1,31 +0,0 @@
#ifndef PINS_CONFIG_H_
#define PINS_CONFIG_H_
#include <Arduino.h>
#define LORA_SCK 5
#define LORA_MISO 19
#define LORA_MOSI 27
#define LORA_CS 18
#define LORA_RST 14
#define LORA_IRQ 26
/*
SX1278-------------------> ESP32
GND GND
DIO1 -
DIO2 -
DIO3 -
VCC 3.3V
MISO 19
MOSI 27
SCLK 5
NSS 18
DIO0 26
REST 14
GND -
*/
#endif