create separate folder for arduino and espidf
This commit is contained in:
parent
bc3989f111
commit
a5e0f81930
22 changed files with 0 additions and 0 deletions
26
SourceCode/esp-idf/include/network/theWifi.h
Normal file
26
SourceCode/esp-idf/include/network/theWifi.h
Normal file
|
@ -0,0 +1,26 @@
|
|||
#ifndef WIFI_H
|
||||
#define WIFI_H
|
||||
|
||||
#include "string.h"
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/task.h"
|
||||
#include "freertos/event_groups.h"
|
||||
#include "esp_system.h"
|
||||
#include "esp_wifi.h"
|
||||
#include "esp_event.h"
|
||||
#include "esp_log.h"
|
||||
|
||||
#include "lwip/err.h"
|
||||
#include "lwip/sys.h"
|
||||
|
||||
#include "secrets.h"
|
||||
|
||||
#define ESP_WIFI_SSID SSID
|
||||
#define ESP_WIFI_PASS PSK
|
||||
|
||||
#define WIFI_CONNECTED_BIT BIT0
|
||||
#define WIFI_FAIL_BIT BIT1
|
||||
|
||||
void setup_wifi(char *serverIp);
|
||||
|
||||
#endif
|
Reference in a new issue