pcapWriter
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
Generated and recovered WLAN protocol packets (requires WLAN Toolbox™)
Generated and recovered Bluetooth low energy (LE) link layer (LL) packets (requires Bluetooth® Toolbox)
Creation
Description
creates a default PCAP file writer object.pcapObj
= pcapWriter
sets properties
using one or more name-value pair arguments. Enclose each property name in quotes. For example,
pcapObj
= pcapWriter(Name,Value
)'ByteOrder','big-endian'
specifies the byte order as big-endian.
Properties
Object Functions
Examples
References
[1] Group, The Tcpdump. “Tcpdump/Libpcap Public Repository.” Accessed May 20, 2020. https://www.tcpdump.org.
[2] “Development/LibpcapFileFormat - The Wireshark Wiki.” Accessed May 20, 2020. https://www.wireshark.org.
Extended Capabilities
Version History
Introduced in R2020b