ESP32-PaxCounter/src/lorawan.h

20 lines
480 B
C
Raw Normal View History

2018-07-17 15:15:58 +02:00
#ifndef _LORAWAN_H
#define _LORAWAN_H
2018-07-15 14:28:05 +02:00
// LMIC-Arduino LoRaWAN Stack
#include <lmic.h>
#include <hal/hal.h>
#include "loraconf.h"
void onEvent(ev_t ev);
void gen_lora_deveui(uint8_t *pdeveui);
void RevBytes(unsigned char *b, size_t c);
void get_hard_deveui(uint8_t *pdeveui);
2018-07-15 14:28:05 +02:00
void os_getDevKey(u1_t *buf);
void os_getArtEui(u1_t *buf);
void os_getDevEui(u1_t *buf);
2018-08-03 23:50:04 +02:00
void showLoraKeys(void);
2018-07-23 13:20:06 +02:00
void lorawan_loop(void *pvParameters);
2018-08-05 12:16:54 +02:00
void switch_lora(uint8_t sf, uint8_t tx);
2018-07-15 14:28:05 +02:00
#endif