Configurator
Public Member Functions | List of all members
maker_bus.Maker_Bus_Base Class Reference

Provide the shared interface to the MakerBus. More...

Public Member Functions

def __init__
 
def auto_flush_set
 
def flush
 
def discovery_mode
 
def frame_get
 
def frame_put
 
def request_begin
 
def request_end
 
def request_ubyte_put
 
def response_begin
 
def response_end
 
def response_ubyte_get
 

Detailed Description

Provide the shared interface to the MakerBus.

Maker_Bus_Base provides an interface to the serial port that talks the 8-bit to 9-bit protocol needed to communicate packets back and forth from the Makerbus

Member Function Documentation

def maker_bus.Maker_Bus_Base.auto_flush_set (   self,
  flush_mode 
)
{Maker_Bus}: Initialize a Maker_Bus object. 

Member Data Documentation

maker_bus.Maker_Bus_Base.response self.response
static
{Maker_Bus}: Return next unsigned byte from response in {self}. 
maker_bus.Maker_Bus_Base.serial self.serial
static
Maker_Bus_Base: Perform discovery mode 
maker_bus.Maker_Bus_Base.trace self.trace
static
{Maker_Bus}: This routine will set the auto flush mode for {self}
to {flush_mode}.  When {flush_mode} is set to {True}, it will
automatically flush each command sequence as it soon as possible.
When {flush_mode} is {False}, the command sequences are queued
up until they are explicitly flushed by calling {flush}(). 
{Maker_Bus}: Flush out current request. 
{Maker_Bus}: Return the next frame from the bus connected
to {self}. 
{Maker_Bus}: Send frame to the bus connected to {self}. 
{Maker_Bus}: Append {command} to self.request. 
Maker_Bus: Indicate that current command is complete. 
{Maker_Bus}: Append {ubyte} to current request in {self}. 
{Maker_Bus}: Begin a response sequence. 
{Maker_Bus}: End a response sequence. 

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