yea ig
This commit is contained in:
13
README.md
13
README.md
@@ -19,14 +19,15 @@ and then in C
|
|||||||
#include <network.h>
|
#include <network.h>
|
||||||
#include <esp_event.h>
|
#include <esp_event.h>
|
||||||
|
|
||||||
static const wifi_networks_t known_networks = {
|
static const struct wifi_networks_t known_networks = {
|
||||||
.nets = {
|
.nets = {
|
||||||
{"DAA+", "password", true},
|
{"DAA+", "password", true},
|
||||||
{"DAA", "password", false},
|
{"DAA", "password", false},
|
||||||
},
|
},
|
||||||
.num_nets = 2
|
.num_nets = 2
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
void app_main(void) {
|
void app_main(void) {
|
||||||
esp_event_loop_create_default();
|
esp_event_loop_create_default();
|
||||||
init_wifi(&known_networks, "piec_monitor");
|
init_wifi(&known_networks, "piec_monitor");
|
||||||
|
|||||||
Reference in New Issue
Block a user