include cmd_settings.h

This commit is contained in:
Morgan 'ARR\!' Allen 2020-04-22 22:22:28 -07:00
parent 31cacd63b3
commit e4afaa98b7

24
include/cmd_settings.h Normal file
View file

@ -0,0 +1,24 @@
#ifndef __CMD_SETTINGS_H_
#define __CMD_SETTINGS_H_
#ifdef __cplusplus
extern "C" {
#endif
static struct wifi_settings {
uint8_t enabled;
uint8_t mode; // 0 = station, 1 = AP
char *ssid;
char *password;
};
static struct {
struct wifi_settings wifi;
} lorcomm_settings;
uint8_t init_settings_cmds();
#ifdef __cplusplus
}
#endif
#endif