Public Member Functions | Public Attributes | Static Public Attributes | List of all members
redswallow.packet.PacketDecoder Class Reference

Public Member Functions

def __init__ (self)
 
def array_decoder (self, decoding_descriptor)
 
def chdata_decoder (self, asic_decoding_descriptor)
 
def dmsg_decoder (self, decoding_descriptor)
 
def generic_decoder (self, decoding_descriptor)
 
def get_connected_sensors (self, decoding_descriptor)
 
def get_version_decoder (self, decoding_descriptor)
 
def parseInputBuffer (self, pkt_handler)
 
def parseInputPacket (self, pkt_handler)
 
def reset (self)
 
def rsize (self)
 
def simple_acknowledge (self, args)
 
def unknown_packet_decoder (self, command_code)
 
def update (self, buffer_in, pkt_handler)
 

Public Attributes

 buffer
 
 decoders
 
 head
 
 size
 

Static Public Attributes

tuple FOOTER = (0xbe, 0xef)
 
tuple HEADER = (0x55, 0xaa)
 

Detailed Description

Definition at line 98 of file packet.py.

Constructor & Destructor Documentation

def redswallow.packet.PacketDecoder.__init__ (   self)

Definition at line 101 of file packet.py.

Member Function Documentation

def redswallow.packet.PacketDecoder.array_decoder (   self,
  decoding_descriptor 
)

Definition at line 279 of file packet.py.

def redswallow.packet.PacketDecoder.chdata_decoder (   self,
  asic_decoding_descriptor 
)

Definition at line 290 of file packet.py.

def redswallow.packet.PacketDecoder.dmsg_decoder (   self,
  decoding_descriptor 
)

Definition at line 273 of file packet.py.

def redswallow.packet.PacketDecoder.generic_decoder (   self,
  decoding_descriptor 
)

Definition at line 263 of file packet.py.

def redswallow.packet.PacketDecoder.get_connected_sensors (   self,
  decoding_descriptor 
)

Definition at line 343 of file packet.py.

def redswallow.packet.PacketDecoder.get_version_decoder (   self,
  decoding_descriptor 
)

Definition at line 328 of file packet.py.

def redswallow.packet.PacketDecoder.parseInputBuffer (   self,
  pkt_handler 
)

Definition at line 211 of file packet.py.

def redswallow.packet.PacketDecoder.parseInputPacket (   self,
  pkt_handler 
)

Definition at line 243 of file packet.py.

def redswallow.packet.PacketDecoder.reset (   self)

Definition at line 207 of file packet.py.

def redswallow.packet.PacketDecoder.rsize (   self)

Definition at line 189 of file packet.py.

def redswallow.packet.PacketDecoder.simple_acknowledge (   self,
  args 
)

Definition at line 258 of file packet.py.

def redswallow.packet.PacketDecoder.unknown_packet_decoder (   self,
  command_code 
)

Definition at line 351 of file packet.py.

def redswallow.packet.PacketDecoder.update (   self,
  buffer_in,
  pkt_handler 
)

Definition at line 192 of file packet.py.

Member Data Documentation

redswallow.packet.PacketDecoder.buffer

Definition at line 200 of file packet.py.

redswallow.packet.PacketDecoder.decoders

Definition at line 105 of file packet.py.

tuple redswallow.packet.PacketDecoder.FOOTER = (0xbe, 0xef)
static

Definition at line 100 of file packet.py.

redswallow.packet.PacketDecoder.head

Definition at line 102 of file packet.py.

tuple redswallow.packet.PacketDecoder.HEADER = (0x55, 0xaa)
static

Definition at line 99 of file packet.py.

redswallow.packet.PacketDecoder.size

Definition at line 103 of file packet.py.


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


tdk_robokit
Author(s): TDK-OpenSource
autogenerated on Sat Jan 11 2020 03:18:39