mod_term added send_raw with _ prefix
This commit is contained in:
parent
3c597deee1
commit
aae01f6ac5
@ -727,7 +727,7 @@ class ScanEcus:
|
|||||||
|
|
||||||
if len(row['stopDiagReq'])>0:
|
if len(row['stopDiagReq'])>0:
|
||||||
self.elm.cmd(row['stopDiagReq']) #close session
|
self.elm.cmd(row['stopDiagReq']) #close session
|
||||||
|
|
||||||
res = ""
|
res = ""
|
||||||
for s in rrsp.split('\n'):
|
for s in rrsp.split('\n'):
|
||||||
dss = s.replace(' ','')
|
dss = s.replace(' ','')
|
||||||
|
@ -226,6 +226,12 @@ def optParser():
|
|||||||
default=False,
|
default=False,
|
||||||
action="store_true")
|
action="store_true")
|
||||||
|
|
||||||
|
parser.add_argument("--verbose",
|
||||||
|
help="show verbose output (unused)",
|
||||||
|
dest="verb",
|
||||||
|
default=False,
|
||||||
|
action="store_true")
|
||||||
|
|
||||||
parser.add_argument("--dialog",
|
parser.add_argument("--dialog",
|
||||||
help="show dialog for selecting macro",
|
help="show dialog for selecting macro",
|
||||||
dest="dia",
|
dest="dia",
|
||||||
@ -610,7 +616,11 @@ def proc_line( l, elm ):
|
|||||||
bit_cmd( l.lower()[7:], elm, fnc='exit_if' )
|
bit_cmd( l.lower()[7:], elm, fnc='exit_if' )
|
||||||
return
|
return
|
||||||
|
|
||||||
print elm.cmd(l)
|
|
||||||
|
if l.lower().startswith('_'):
|
||||||
|
print elm.send_raw(l[1:])
|
||||||
|
else:
|
||||||
|
print elm.cmd(l)
|
||||||
|
|
||||||
if cmd_delay>0:
|
if cmd_delay>0:
|
||||||
print '# delay:', cmd_delay
|
print '# delay:', cmd_delay
|
||||||
|
Loading…
x
Reference in New Issue
Block a user