mirror of
https://github.com/lora-aprs/LoRa_APRS_iGate.git
synced 2025-12-06 07:42:00 +01:00
Merge branch 'master' into lora-aprs-lib_version_prep
This commit is contained in:
commit
aa55634189
|
|
@ -10,7 +10,6 @@
|
|||
#include "LoRa_APRS.h"
|
||||
|
||||
#include "pins.h"
|
||||
#include "settings.h"
|
||||
#include "display.h"
|
||||
#include "configuration.h"
|
||||
|
||||
|
|
@ -60,7 +59,6 @@ void setup()
|
|||
} else {
|
||||
Serial.println("LoRa-APRS / Init / AXP192 Begin FAIL");
|
||||
}
|
||||
Wire.begin(SDA, SCL);
|
||||
powerManagement.activateLoRa();
|
||||
powerManagement.activateOLED();
|
||||
powerManagement.deactivateGPS();
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
#include "SPIFFS.h"
|
||||
|
||||
#include "configuration.h"
|
||||
#include "settings.h"
|
||||
|
||||
|
||||
ConfigurationManagement::ConfigurationManagement(String FilePath)
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ PowerManagement::PowerManagement()
|
|||
}
|
||||
|
||||
// cppcheck-suppress unusedFunction
|
||||
bool PowerManagement::begin(TwoWire port)
|
||||
bool PowerManagement::begin(TwoWire & port)
|
||||
{
|
||||
bool result = axp.begin(port, AXP192_SLAVE_ADDRESS);
|
||||
if(!result)
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ class PowerManagement
|
|||
{
|
||||
public:
|
||||
PowerManagement();
|
||||
bool begin(TwoWire port);
|
||||
bool begin(TwoWire & port);
|
||||
|
||||
void activateLoRa();
|
||||
void deactivateLoRa();
|
||||
|
|
|
|||
|
|
@ -1,35 +0,0 @@
|
|||
|
||||
#ifndef SETTINGS_H_
|
||||
#define SETTINGS_H_
|
||||
|
||||
///////////////////////////////////////////////////
|
||||
/////// DON'T CHANGE THIS FILE ANYMORE! ///////
|
||||
///////////////////////////////////////////////////
|
||||
/////// Use the json file in the folder ///////
|
||||
/////// 'data' to configure your iGate ///////
|
||||
/////// and upload it via 'Upload File ///////
|
||||
/////// System image'! These settings ///////
|
||||
/////// will be removed soon! ///////
|
||||
///////////////////////////////////////////////////
|
||||
|
||||
|
||||
|
||||
|
||||
#define WIFI_NAME ""
|
||||
#define WIFI_KEY ""
|
||||
|
||||
#define USER "NOCALL-10"
|
||||
#define PASS ""
|
||||
|
||||
#define SERVER "austria.aprs2.net"
|
||||
//#define SERVER "euro.aprs2.net"
|
||||
#define PORT 14580
|
||||
|
||||
#define BEACON_TIMEOUT (15)
|
||||
#define BEACON_LAT_POS "4819.82N"
|
||||
#define BEACON_LONG_POS "01418.68E"
|
||||
#define BEACON_MESSAGE "LoRa IGATE (RX only), Info: github.com/peterus/LoRa_APRS_iGate"
|
||||
|
||||
//#define SEND_MESSAGES_FROM_IS_TO_LORA
|
||||
|
||||
#endif
|
||||
Loading…
Reference in a new issue