Files
PresenceDetection/WiFi/Functions.h
2025-03-03 12:59:13 +01:00

24 lines
392 B
C++

#ifndef WIFI_FUNCTIONS_H
#define WIFI_FUNCTIONS_H
#include <cstdint>
#include <string>
namespace PresenceDetection {
namespace WiFi {
class Functions
{
public:
static bool Ping(const std::string& ipAddress);
private:
static uint16_t ICMPChecksum(uint16_t* addr, unsigned len);
};
} // namespace WiFi
} // namespace PresenceDetection
#endif // WIFI_FUNCTIONS_H