include cmd_settings.h
This commit is contained in:
parent
31cacd63b3
commit
e4afaa98b7
1 changed files with 24 additions and 0 deletions
24
include/cmd_settings.h
Normal file
24
include/cmd_settings.h
Normal 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
|
Loading…
Reference in a new issue