Classes | Namespaces | Functions | Variables
utils.py File Reference

Go to the source code of this file.

Classes

class  clearpath.utils.ChecksumError
 Exceptions. More...
class  clearpath.utils.FormatError
 Format Exception. More...
class  clearpath.utils.NullLoggingHandler
 Null Logging Handler. More...
class  clearpath.utils.SubscriptionError
 Subscription Exception. More...
class  clearpath.utils.TimeoutError
 Timeout Exception. More...
class  clearpath.utils.TransportError
 Transport Exception. More...
class  clearpath.utils.UnsupportedCodeError
 Unsupported Code Exception. More...

Namespaces

namespace  clearpath.utils
 

Module.


Functions

def clearpath.utils.ccitt_checksum
 Perform a 16-bit CRC with CCITT Polynomial 0x1021.
def clearpath.utils.from_ascii
 From ASCII to Byte List.
def clearpath.utils.from_byte
 From Byte to Byte List.
def clearpath.utils.from_char
 From Char to Byte List.
def clearpath.utils.from_int
 From Int to Byte List.
def clearpath.utils.from_short
 From Short to Byte List.
def clearpath.utils.from_unsigned_int
 From Unsigned Int to Byte List.
def clearpath.utils.from_unsigned_short
 From Unsigned Short to Byte List.
def clearpath.utils.hex
 Byte List.
def clearpath.utils.list_serial_ports
 List machine serial ports.
def clearpath.utils.to_ascii
 From Byte List to ASCII.
def clearpath.utils.to_byte
 From Byte List to Byte.
def clearpath.utils.to_bytes
 From Byte List to bytes.
def clearpath.utils.to_char
 From Byte List to Char.
def clearpath.utils.to_int
 From Byte List to Int.
def clearpath.utils.to_short
 From Byte List to Short.
def clearpath.utils.to_unsigned_int
 From Byte List to Unsigned Int.
def clearpath.utils.to_unsigned_short
 From Byte List to Unsigned Short.

Variables

string clearpath.utils.__revision__ = "$Revision: 674 $"
 SVN Code Revision.
string clearpath.utils.__version__ = "1.0"
 Module Version.
tuple clearpath.utils.CCIT_CRC_TABLE
 Precomputed checksum table.
tuple clearpath.utils.logger = logging.getLogger('clearpath.utils')
 Message Log.


clearpath_base
Author(s): Mike Purvis
autogenerated on Sun Oct 5 2014 22:52:08