VW TP 2.0

This commit is contained in:
rusefillc 2022-12-01 19:31:49 -05:00
parent 7ef466f0c5
commit 705056603f
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ STATE_GOT_SECOND_RESPONSE = 2
function onCanHello(bus, id, dlc, data)
-- here we handle 201 packets
print('Got Hello Response ' ..arrayToString(data))
ecuId = data[5] * 256 + data[6]
ecuId = data[6] * 256 + data[5]
print('From ECU ' ..ecuId)
txCan(1, ecuId, 0, { 0xA0, 0x0F, 0x8A, 0xFF, 0x32, 0xFF })