+ if(packet == None):
+ packetE = [SIDhigh, SIDlow | 0x80, 0x00,0x00, # pad out EID regs
+ 0x08, # bit 6 must be set to 0 for data frame (1 for RTR)
+ # lower nibble is DLC
+ 0x01,0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0xFF]
+ else:
+ packetE = [SIDhigh, SIDlow | 0x80, 0x00,0x00, # pad out EID regs
+ 0x08, # bit 6 must be set to 0 for data frame (1 for RTR)
+ # lower nibble is DLC
+ packet[0],packet[1],packet[2],packet[3],packet[4],packet[5],packet[6],packet[7],packet[8]]