def payload(self): a = 0x01 a = 0x43 + a * 0x100 a = 0x01 + a * 0x100 a = 0x44 + a * 0x100 a = 0x01 + a * 0x100 a = 0x52 + a * 0x100 return hex_to_str(a, 12)
def payload(self): rpm = self.car.getRPM() return hex_to_str(rpm*4, 4)
def payload(self): rpm = self.car.getRPM() return hex_to_str(rpm * 4, 4)
def payload(self): return hex_to_str(0x0000, 4) # 4 bytes sure?!
def payload(self): pids_supported = self.car.getPIDsSupported() return hex_to_str(pids_supported, 8)
def payload(self): return hex_to_str(None)
def payload(self): # Temporary implemented as an uniform variable data1 = 50 * 0x100 data2 = 50 return hex_to_str(data1+data2, 4)
def response(self): msg = hex_to_str(0x40 + self.getService(), 2) msg += hex_to_str(self.getPID(), 2) msg += self.payload() return msg
def payload(self): return hex_to_str(0x06, 2)
def payload(self): # Temporary implemented as an uniform variable data1 = 50 * 0x100 data2 = 50 return hex_to_str(data1 + data2, 4)
def payload(self): # Temporary implemented as an uniform variable data = 99 return hex_to_str(data, 2)
def payload(self): vss = self.car.getVSS() return hex_to_str(vss, 2)
def payload(self): return hex_to_str(0x014400000000, 12)
def payload(self): return hex_to_str(0x8307E500, 8)
def payload(self): return hex_to_str(0x0100, 4)
def payload(self): return hex_to_str(0x51, 4)