Public Member Functions | |
def | __init__ (self, data, silent_on_empty=False) |
def | inWaiting (self) |
def | read (self, length=1) |
Public Attributes | |
data | |
read_index | |
silent_on_empty | |
Represents a fake serial port which can be read from in a similar fashion to the real thing
def xbee.tests.Fake.FakeReadDevice.__init__ | ( | self, | |
data, | |||
silent_on_empty = False |
|||
) |
def xbee.tests.Fake.FakeReadDevice.inWaiting | ( | self | ) |
def xbee.tests.Fake.FakeReadDevice.read | ( | self, | |
length = 1 |
|||
) |