network separated

This commit is contained in:
2021-03-09 17:17:00 +01:00
parent 6896222332
commit 9380be167e
4 changed files with 4 additions and 1 deletions

1
src/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
build/

View File

@ -1,2 +1,3 @@
idf_component_register(SRCS "app_main.c"
"network_mngr.c"
INCLUDE_DIRS ".")

View File

@ -14,6 +14,7 @@
#include <nvs_flash.h>
static const char *TAG = "app";
void deviceInit() {
/* Initialize NVS partition */

View File

@ -23,7 +23,7 @@
#include <wifi_provisioning/scheme_ble.h>
static const char *TAG = "app";
static const char *TAG = "nm";
/* Signal Wi-Fi events on this event-group */
const int WIFI_CONNECTED_EVENT = BIT0;