pcapWriter
PCAP file writer of protocol packets
Description
The pcapWriter object writes generated and recovered protocol
packets to a packet capture (PCAP) file (.pcap).
You can write these packet types to a PCAP file:
Generated and recovered 5G NR protocol packets (requires 5G Toolbox™)
Generated and recovered WLAN protocol packets (requires WLAN Toolbox™ and Wireless Network Toolbox™ (since R2026a))
Generated and recovered Bluetooth low energy (LE) link layer (LL) packets (requires Bluetooth® Toolbox and Wireless Network Toolbox (since R2026a) )
Creation
Description
creates a default PCAP file writer object.pcapObj = pcapWriter
sets using
one or more name-value arguments. Enclose each property name in quotes. For example,
pcapObj = pcapWriter(PropertyName=Value)ByteOrder="big-endian" specifies the byte order as big-endian.
Properties
Object Functions
Examples
References
[1] “Radiotap - Introduction.” Accessed May 20, 2020. https://www.radiotap.org/.
[2] Group, The Tcpdump. “Tcpdump/Libpcap Public Repository.” Accessed May 20, 2020. https://www.tcpdump.org.
[3] “Development/LibpcapFileFormat - The Wireshark Wiki.” Accessed May 20, 2020. https://www.wireshark.org.