ieee802154_io::FileIn Class Reference

Inheritance diagram for ieee802154_io::FileIn:

Inheritance graph
[legend]

Detailed Description

Capture file reader.

This class reads packets from a capture file, that was previously stored with tshark/wireshark.

Todo:
This class reads the entire file (open()) at once. So it would be a good idea, to read the file block by block.

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

Member Function Documentation

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.

Parameters:
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.


This documentation for µracoli was generated on 21 Jan 2010 by  doxygen 1.5.5