2023-02-20 13:51:54 +01:00
|
|
|
#ifndef _LORA_NET_H_
|
|
|
|
#define _LORA_NET_H_
|
|
|
|
|
|
|
|
#include <Arduino.h>
|
2023-05-25 14:00:06 +02:00
|
|
|
|
|
|
|
#ifdef LORA_FEATURE_ENABLED
|
2023-02-20 13:51:54 +01:00
|
|
|
#include <LoRa_E220.h>
|
2023-05-25 14:00:06 +02:00
|
|
|
#elif defined(FEATURE_ENABLE_UARTLORA)
|
|
|
|
#include <SoftwareSerial.h>
|
|
|
|
#endif
|
2023-02-20 13:51:54 +01:00
|
|
|
|
|
|
|
// local includes
|
|
|
|
#include "lora_messages.h"
|
2023-05-25 14:00:06 +02:00
|
|
|
#include "debugger.h"
|
2023-02-20 13:51:54 +01:00
|
|
|
#include "defaults.h"
|
|
|
|
#include "config.h"
|
|
|
|
#include "globals.h"
|
|
|
|
#include "dtc.h"
|
|
|
|
#include "common.h"
|
|
|
|
|
|
|
|
#define FREQUENCY_868
|
|
|
|
|
2023-04-12 22:47:17 +02:00
|
|
|
bool InitLoRa(void (*MPinHelper)(int, int));
|
2023-02-20 13:51:54 +01:00
|
|
|
void LoRa_Process();
|
|
|
|
void sendStatus_LoRa();
|
|
|
|
|
|
|
|
#endif
|