PCAP file writer of protocol packets
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 Bluetooth® low energy (BLE) link layer (LL) packets (requires Communications Toolbox™ Library for the Bluetooth Protocol)
Generated and recovered 5G NR protocol packets (requires 5G Toolbox™)
Generated and recovered WLAN protocol packets (requires WLAN Toolbox™)
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.
[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/.