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

◆ __init__()

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

◆ __iter__()

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

Definition at line 108 of file mav2pcap.py.

◆ read()

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

Definition at line 93 of file mav2pcap.py.

◆ write()

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

Definition at line 101 of file mav2pcap.py.

Member Data Documentation

◆ _endian

pymavlink.examples.mav2pcap.pcap._endian
private

Definition at line 62 of file mav2pcap.py.

◆ _MAGIC

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

Definition at line 48 of file mav2pcap.py.

◆ linktype

pymavlink.examples.mav2pcap.pcap.linktype

Definition at line 85 of file mav2pcap.py.

◆ magic

pymavlink.examples.mav2pcap.pcap.magic

Definition at line 65 of file mav2pcap.py.

◆ sigfigs

pymavlink.examples.mav2pcap.pcap.sigfigs

Definition at line 83 of file mav2pcap.py.

◆ snaplen

pymavlink.examples.mav2pcap.pcap.snaplen

Definition at line 84 of file mav2pcap.py.

◆ stream

pymavlink.examples.mav2pcap.pcap.stream

Definition at line 51 of file mav2pcap.py.

◆ thiszone

pymavlink.examples.mav2pcap.pcap.thiszone

Definition at line 82 of file mav2pcap.py.

◆ version

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 Fri Aug 2 2019 03:39:47