Update Naming and Tests
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#ifndef WIFI_FUNCTIONS_H
|
||||
#define WIFI_FUNCTIONS_H
|
||||
|
||||
#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
|
||||
Reference in New Issue
Block a user