diff --git a/_pyren_launcher.py b/_pyren_launcher.py index d59eba4..1aa26dd 100755 --- a/_pyren_launcher.py +++ b/_pyren_launcher.py @@ -55,7 +55,7 @@ if osname == 'android': import pip except ImportError: pass - pip.main(['install', 'pyjnius-u4-qpython']) + #pip.main(['install', 'pyjnius-u4-qpython']) if jnius_mode: try: diff --git a/pyren/CHANGE_LOG.txt b/pyren/CHANGE_LOG.txt old mode 100644 new mode 100755 diff --git a/pyren/README.md b/pyren/README.md old mode 100644 new mode 100755 diff --git a/pyren/macro/init.txt b/pyren/macro/init.txt old mode 100644 new mode 100755 diff --git a/pyren/mod_ddt_ecu.py b/pyren/mod_ddt_ecu.py index 0220a81..3b53347 100755 --- a/pyren/mod_ddt_ecu.py +++ b/pyren/mod_ddt_ecu.py @@ -731,6 +731,12 @@ class DDTECU(): if len(hexval)%2: hexval = '0'+hexval + #check bytescount + if len(hexval)/2 < d.BytesCount: + hexval = '00'*(d.BytesCount-len(hexval)/2) + hexval + #debug + #print '#', d.BytesCount, ':', hexval + #revert byte order if little endian if littleEndian: a = hexval @@ -855,6 +861,8 @@ class DDTECU(): break if rcmd == '': + #debug + print res, d, self.req4data.keys () return 'ERROR' if self.datas[d].BytesASCII: