A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol
C arduinobluetoothcan-busdebuggingeepromesp32flipperzerogpiohardware-hackingi2cjtagopenocdprotocolspwmradiorfidspisubghzuartwifi
remove ping from wifi service, now handled in network controller
Geoa51fee883714
diff --git a/src/Services/EthernetService.h b/src/Services/EthernetService.hindex 0a630d0b..674be125 100644--- a/src/Services/EthernetService.h+++ b/src/Services/EthernetService.h@@ -11,7 +11,6 @@#include "driver/spi_master.h"#include "lwip/ip4_addr.h"#include <Arduino.h>-#include <ESP32Ping.h>class EthernetService {public:diff --git a/src/Services/WifiService.cpp b/src/Services/WifiService.cppindex 8c6bdf3b..ee8d8fbd 100644--- a/src/Services/WifiService.cpp+++ b/src/Services/WifiService.cpp@@ -106,17 +106,6 @@ bool WifiService::startAccessPoint(const std::string& ssid, const std::string& p}}-int WifiService::ping(const std::string& host) {- IPAddress ip;- if (!WiFi.hostByName(host.c_str(), ip)) return -1;-- unsigned long start = millis();- bool success = Ping.ping(ip, 1);- unsigned long end = millis();-- return success ? (end - start) : -1;-}-void WifiService::reset() {disconnect();WiFi.mode(WIFI_STA);diff --git a/src/Services/WifiService.h b/src/Services/WifiService.hindex fc1cf941..fdb11f18 100644--- a/src/Services/WifiService.h+++ b/src/Services/WifiService.h@@ -1,7 +1,6 @@#pragma once#include <WiFi.h>-#include <ESP32Ping.h>#include <string>#include <vector>#include <sstream>@@ -70,9 +69,6 @@ public:// Access pointbool startAccessPoint(const std::string& ssid, const std::string& password = "", int channel = 1, int maxConn = 4);-- // Ping- int ping(const std::string& host);// Spoof MACbool spoofMacAddress(const std::string& macStr, MacInterface which);