Ajout support OTA - 2
This commit is contained in:
1 parent
845205c60d
commit
c3aa7d9dfd
7 files changed
+84
-39
No files matched your search
@@ -0,0 +1,9 @@
|
||||
struct WifiConfig {
|
||||
long magic;
|
||||
char mqtt_server[40];
|
||||
char mqtt_user[32];
|
||||
char mqtt_passw[32];
|
||||
char api_token[32];
|
||||
char ssid[32];
|
||||
char password[32];
|
||||
};
|
||||
+2
-1
@@ -1 +1,2 @@
|
||||
void setupMQTT(void);
|
||||
void setupMQTT(void);
|
||||
void loopMQTT(void);
|
||||
+4
-10
@@ -1,12 +1,6 @@
|
||||
#include "main.h"
|
||||
|
||||
|
||||
extern WifiConfig wifiConfig;
|
||||
|
||||
void WifiSetup(void);
|
||||
|
||||
struct WifiConfig {
|
||||
long magic;
|
||||
char mqtt_server[40];
|
||||
char mqtt_user[32];
|
||||
char mqtt_passw[32];
|
||||
char api_token[32];
|
||||
char ssid[32];
|
||||
char password[32];
|
||||
};
|
||||
Reference in new issue
Block a user