diff --git a/DTO/packet.hpp b/DTO/packet.hpp index 5cedb24..ba263fb 100644 --- a/DTO/packet.hpp +++ b/DTO/packet.hpp @@ -3,6 +3,19 @@ #include +enum PacketType { + Beacon, + ProbeRequest, + ProbeResponse, + Data, + RequestToSend, + ClearToSend, + Acknowledgment, + BlockAcknowledgment, + NoData, + Unknown +}; + struct Packet { uint64_t timestampMicros; @@ -16,7 +29,7 @@ struct Packet { unsigned int frequency; unsigned char dataRate; - std::string type; + PacketType type; }; #endif /* C42FA9F6_8CF3_453F_8FA0_918E543DCD59 */