Changed type to enum-packet-type

OLD_dev
Ruakij 3 years ago
parent ca1b59e4c6
commit c87a95b167

@ -3,6 +3,19 @@
#include <string>
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 */

Loading…
Cancel
Save