Public Member Functions | Public Attributes | Private Attributes | Static Private Attributes | List of all members
pymavlink.examples.mav2pcap.pcap Class Reference
Inheritance diagram for pymavlink.examples.mav2pcap.pcap:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, stream, mode='rb', snaplen=65535, linktype=1)
 
def __iter__ (self)
 
def read (self)
 
def write (self, packet)
 

Public Attributes

 linktype
 
 magic
 
 sigfigs
 
 snaplen
 
 stream
 
 thiszone
 
 version
 

Private Attributes

 _endian
 

Static Private Attributes

int _MAGIC = 0xA1B2C3D4
 

Detailed Description

   Used under the terms of GNU GPL v3.
   Original author: Neale Pickett
   see http://dirtbags.net/py-pcap.html

Definition at line 42 of file mav2pcap.py.

Constructor & Destructor Documentation

def pymavlink.examples.mav2pcap.pcap.__init__ (   self,
  stream,
  mode = 'rb',
  snaplen = 65535,
  linktype = 1 
)

Definition at line 49 of file mav2pcap.py.

Member Function Documentation

def pymavlink.examples.mav2pcap.pcap.__iter__ (   self)

Definition at line 108 of file mav2pcap.py.

def pymavlink.examples.mav2pcap.pcap.read (   self)

Definition at line 93 of file mav2pcap.py.

def pymavlink.examples.mav2pcap.pcap.write (   self,
  packet 
)

Definition at line 101 of file mav2pcap.py.

Member Data Documentation

pymavlink.examples.mav2pcap.pcap._endian
private

Definition at line 62 of file mav2pcap.py.

int pymavlink.examples.mav2pcap.pcap._MAGIC = 0xA1B2C3D4
staticprivate

Definition at line 48 of file mav2pcap.py.

pymavlink.examples.mav2pcap.pcap.linktype

Definition at line 85 of file mav2pcap.py.

pymavlink.examples.mav2pcap.pcap.magic

Definition at line 65 of file mav2pcap.py.

pymavlink.examples.mav2pcap.pcap.sigfigs

Definition at line 83 of file mav2pcap.py.

pymavlink.examples.mav2pcap.pcap.snaplen

Definition at line 84 of file mav2pcap.py.

pymavlink.examples.mav2pcap.pcap.stream

Definition at line 51 of file mav2pcap.py.

pymavlink.examples.mav2pcap.pcap.thiszone

Definition at line 82 of file mav2pcap.py.

pymavlink.examples.mav2pcap.pcap.version

Definition at line 91 of file mav2pcap.py.


The documentation for this class was generated from the following file:


mavlink
Author(s): Lorenz Meier
autogenerated on Sun Apr 7 2019 02:06:02