first Draft of UART for external LoRa-Module
This commit is contained in:
@@ -2,10 +2,16 @@
|
||||
#define _LORA_NET_H_
|
||||
|
||||
#include <Arduino.h>
|
||||
|
||||
#ifdef LORA_FEATURE_ENABLED
|
||||
#include <LoRa_E220.h>
|
||||
#elif defined(FEATURE_ENABLE_UARTLORA)
|
||||
#include <SoftwareSerial.h>
|
||||
#endif
|
||||
|
||||
// local includes
|
||||
#include "lora_messages.h"
|
||||
#include "debugger.h"
|
||||
#include "defaults.h"
|
||||
#include "config.h"
|
||||
#include "globals.h"
|
||||
|
@@ -14,6 +14,9 @@
|
||||
#error "You must define an WIFI_AP_PASSWORD for Standalone AP-Mode"
|
||||
#endif
|
||||
|
||||
#if defined(FEATURE_ENABLE_UARTLORA) && defined(FEATURE_ENABLE_LORA)
|
||||
#error "You cannot enable LoRa and UART-Protocol at the same time!"
|
||||
#endif
|
||||
|
||||
#ifdef FEATURE_ENABLE_WIFI_CLIENT
|
||||
#ifndef WIFI_CLIENT_PASSWORD
|
||||
|
Reference in New Issue
Block a user