mch2022-talktopics/main/include/wifi_connection.h
2022-05-24 14:35:05 +02:00

11 lines
351 B
C

#pragma once
#include <stdbool.h>
#include <stdint.h>
#include "esp_wifi.h"
void wifi_init();
bool wifi_connect(const char* aSsid, const char* aPassword, wifi_auth_mode_t aAuthmode, uint8_t aRetryMax);
bool wifi_connect_ent(const char* aSsid, const char *aIdent, const char *aAnonIdent, const char* aPassword, uint8_t aRetryMax);
void wifi_scan();