lorawan.h 447 Bytes
Newer Older
1
2
#ifndef AMPEL_LORAWAN_H_
#define AMPEL_LORAWAN_H_
3
#if defined(ESP32)
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include <Arduino.h>
#include <lmic.h>
#include <hal/hal.h>
#include <SPI.h>
typedef uint8_t u1_t;
//#include <lmic_project_config.h>

#include "co2_sensor.h"
#include "led_effects.h"
#include "config.h"

#include "util.h"

namespace lorawan {
  extern bool waiting_for_confirmation;
  void initialize();
  void process();
  void preparePayloadIfTimehasCome();
}

#endif
25
#endif