API:WiFi -> Error de handler

This commit is contained in:
semarnat committed 2026-05-22 10:51:16 -06:00
1 parent 80a703673f
commit 6ca5f7f68d
7 files changed
+151 -4

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
#pragma once
#include "Arduino.h"
#include "Network.h"
#include <WiFi.h>
class wifi_conf {
private:
const char* _ssid;
const char* _passwd;
void handler_WiFi(arduino_event_id_t event, arduino_event_info_t info);
public:
void conectar(
const char* ssid,
const char* passwd,
IPAddress local_ip,
IPAddress gateway,
IPAddress subnet,
IPAddress dns1,
IPAddress dns2
);
};