diff --git a/DTO/packet.hpp b/DTO/packet.hpp index ba263fb..2e20f1d 100644 --- a/DTO/packet.hpp +++ b/DTO/packet.hpp @@ -15,6 +15,18 @@ enum PacketType { NoData, Unknown }; +const std::array PACKET_TYPE_NAMES({{ + "Beacon", + "Probe Request", + "Probe Response", + "Data", + "Request to send", + "Clear to send", + "Acknowledgment", + "BlockAcknowledgment", + "NoData", + "Unknown" +}}); struct Packet { uint64_t timestampMicros;