From f1e8069afd5c12a67927c20f85247c6c603475de Mon Sep 17 00:00:00 2001 From: Ruakij Date: Mon, 22 Nov 2021 13:52:03 +0100 Subject: [PATCH] Added specialisation-packets --- DTO/beaconPacket.hpp | 11 +++++++++++ DTO/probeRequestPacket.hpp | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 DTO/beaconPacket.hpp create mode 100644 DTO/probeRequestPacket.hpp diff --git a/DTO/beaconPacket.hpp b/DTO/beaconPacket.hpp new file mode 100644 index 0000000..292b818 --- /dev/null +++ b/DTO/beaconPacket.hpp @@ -0,0 +1,11 @@ +#ifndef FDDB997A_BCD3_4056_BFEA_9FF6A548DACF +#define FDDB997A_BCD3_4056_BFEA_9FF6A548DACF + +#include "./packet.hpp" +#include + +class BeaconPacket : Packet{ + std::string SSID; +}; + +#endif /* FDDB997A_BCD3_4056_BFEA_9FF6A548DACF */ diff --git a/DTO/probeRequestPacket.hpp b/DTO/probeRequestPacket.hpp new file mode 100644 index 0000000..da29726 --- /dev/null +++ b/DTO/probeRequestPacket.hpp @@ -0,0 +1,11 @@ +#ifndef CD2BF199_8153_4F10_A85C_50883FAD66A8 +#define CD2BF199_8153_4F10_A85C_50883FAD66A8 + +#include "./packet.hpp" +#include + +class ProbeRequestPacket : Packet{ + std::string requestSSID; +}; + +#endif /* CD2BF199_8153_4F10_A85C_50883FAD66A8 */