Capture file reader. More...
Public Member Functions | |
| def | close |
| close the file handle | |
| def | info |
| def | open |
| Open and read a capture file. | |
| def | pcap_get_header |
| return file header | |
| def | read_packet |
| read a frame f | |
| def | set_channel |
| Setting of a channel is is unsupported for a file. | |
Data Fields | |
| FCNT | |
| fh | |
| fname | |
| frameidx | |
| frames | |
Capture file reader.
This class reads packets from a capture file, that was previously stored with tshark/wireshark.
Definition at line 54 of file ieee802154_io.py.
| def ieee802154_io::FileIn::close | ( | self | ) |
close the file handle
Definition at line 68 of file ieee802154_io.py.
| def ieee802154_io::FileIn::open | ( | self, | ||
| fname | ||||
| ) |
Open and read a capture file.
| fname | name of the file |
Definition at line 58 of file ieee802154_io.py.
| def ieee802154_io::FileIn::pcap_get_header | ( | self | ) |
return file header
Reimplemented from ieee802154_base::PcapBase.
Definition at line 72 of file ieee802154_io.py.
| def ieee802154_io::FileIn::read_packet | ( | self | ) |
read a frame f
Definition at line 90 of file ieee802154_io.py.
| def ieee802154_io::FileIn::set_channel | ( | self, | ||
| channel | ||||
| ) |
Setting of a channel is is unsupported for a file.
Definition at line 86 of file ieee802154_io.py.
1.7.1