Trees | Index | Help |
|
---|
Module commport :: Class CommConnection |
|
Method Summary | |
---|---|
__init__(self,
logtarget,
port,
baud,
timeout,
hardwareflow,
softwareflow,
autolistfunc,
autolistargs,
configparameters)
| |
clearcounters(self)
| |
close(self)
| |
getcleanline(self,
peek)
| |
IsAuto(self)
| |
log(self,
str)
| |
logdata(self,
str,
data,
data_type)
| |
NextAutoPort(self)
| |
peekline(self)
| |
read(self,
numchars,
log)
| |
read_thread(self,
numchars,
log)
| |
Read until OK, ERROR or a timeout | |
readline(self)
| |
readsome(self,
log,
numchars)
| |
readuntil(self,
char,
log,
logsuccess,
numfailures)
| |
reset(self)
| |
sendatcommand(self,
atcommand,
ignoreerror,
retry)
| |
Boolean |
Change to the specified baud rate |
Boolean |
Set or Clear DTR |
Boolean |
Set or Clear RTS |
write(self,
data,
log)
| |
write_thread(self,
data,
log)
| |
writethenreaduntil(self,
data,
logwrite,
char,
logreaduntil,
logreaduntilsuccess,
numfailures)
|
Class Variable Summary | |
---|---|
int |
usbwhine = 0 |
Method Details |
---|
readatresponse(self, ignoreerror, log=True)Read until OK, ERROR or a timeout |
setbaudrate(self, rate)Change to the specified baud rate
|
setdtr(self, dtr)Set or Clear DTR
|
setrts(self, rts)Set or Clear RTS
|
Class Variable Details |
---|
usbwhine
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Aug 15 18:58:24 2008 | http://epydoc.sf.net |