
This class reads packets from a capture file, that was previously stored with tshark/wireshark.
Definition at line 54 of file ieee802154_io.py.
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 | |
| def ieee802154_io::FileIn::close | ( | self | ) |
| 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 | ) |
| def ieee802154_io::FileIn::set_channel | ( | self, | ||
| channel | ||||
| ) |
1.5.5