barback32/include/main.h

20 lines
249 B
C
Raw Normal View History

2020-04-23 01:22:42 -04:00
#ifndef __MAIN_H_
#define __MAIN_H_
2020-04-23 01:43:27 -04:00
#include "nvs_flash.h"
2020-04-23 01:22:42 -04:00
#include "esp32-lora.h"
extern uint8_t mac[6];
extern lora32_cfg_t lora;
2020-04-23 01:43:27 -04:00
struct lorcomm_cfg {
2020-04-24 15:56:14 -04:00
char *hostname;
2020-04-23 01:43:27 -04:00
lora32_cfg_t *lora;
2020-04-24 15:56:14 -04:00
nvs_handle_t nvs_handle;
2020-04-23 01:43:27 -04:00
} lorcomm_cfg;
2020-04-23 01:22:42 -04:00
#endif