Skip to content

Commit

Permalink
fix(pcap): IEEE802.15.4 without FCS pcap link type
Browse files Browse the repository at this point in the history
Since smoltcp does not generate the FCS, the pcap link type should be
set to IEEE802.15.4 without FCS.
  • Loading branch information
thvdveld committed Dec 11, 2023
1 parent c647a32 commit 4d49e17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/phy/pcap_writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ enum_with_unknown! {
Ethernet = 1,
/// IPv4 or IPv6 packets (depending on the version field)
Ip = 101,
/// IEEE 802.15.4 packets with FCS included.
Ieee802154WithFcs = 195,
/// IEEE 802.15.4 packets without FCS.
Ieee802154WithoutFcs = 230,
}
}

Expand Down

0 comments on commit 4d49e17

Please sign in to comment.