Skip to content

Commit e658551

Browse files
committed
disconnect reason
1 parent f4efcfa commit e658551

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libraries/WiFi/src/WiFiGeneric.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,12 +194,14 @@ class WiFiGenericClass
194194

195195
static bool setDualAntennaConfig(uint8_t gpio_ant1, uint8_t gpio_ant2, wifi_rx_ant_t rx_mode, wifi_tx_ant_t tx_mode);
196196

197+
const char * disconnectReasonName(wifi_err_reason_t reason);
198+
const char * eventName(arduino_event_id_t id);
197199
static const char * getHostname();
198200
static bool setHostname(const char * hostname);
199201
static bool hostname(const String& aHostname) { return setHostname(aHostname.c_str()); }
200202

201203
static esp_err_t _eventCallback(arduino_event_t *event);
202-
204+
203205
static void useStaticBuffers(bool bufferMode);
204206
static bool useStaticBuffers();
205207

0 commit comments

Comments
 (0)