Added PacketType ContentionFreePeriod

f_influx-checks
Ruakij 3 years ago
parent d714b342ed
commit 333a514363

@ -9,6 +9,7 @@ const PacketType = {
Acknowledgment: 'Acknowledgment', Acknowledgment: 'Acknowledgment',
BlockAcknowledgment: 'BlockAcknowledgment', BlockAcknowledgment: 'BlockAcknowledgment',
NoData: 'NoData', NoData: 'NoData',
ContentionFreePeriod: 'ContentionFreePeriod',
Unknown: 'Unknown' Unknown: 'Unknown'
} }

@ -12,7 +12,8 @@ const PACKET_TYPE_MAP = {
"Request-To-Send": PacketType.RequestToSend, "Request-To-Send": PacketType.RequestToSend,
"Clear-To-Send": PacketType.ClearToSend, "Clear-To-Send": PacketType.ClearToSend,
"Acknowledgment": PacketType.Acknowledgment, "Acknowledgment": PacketType.Acknowledgment,
"BA": PacketType.BlockAcknowledgment "BA": PacketType.BlockAcknowledgment,
"CD": PacketType.ContentionFreePeriod
}; };
const PACKET_TYPES_REGEX = Object.keys(PACKET_TYPE_MAP).join('|'); const PACKET_TYPES_REGEX = Object.keys(PACKET_TYPE_MAP).join('|');

Loading…
Cancel
Save