From e1efe75eb1ba5f42fffe43516e6483b0872c8e38 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Fri, 13 Jan 2023 15:33:43 -0500 Subject: [PATCH] progress --- firmware/controllers/lua/examples/vw-tp.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/firmware/controllers/lua/examples/vw-tp.txt b/firmware/controllers/lua/examples/vw-tp.txt index 8d5a6e37a6..e7913e75fd 100644 --- a/firmware/controllers/lua/examples/vw-tp.txt +++ b/firmware/controllers/lua/examples/vw-tp.txt @@ -54,9 +54,10 @@ function onCanHello(bus, id, dlc, data) -- here we handle 201 packets print('Got Hello Response ' ..arrayToString(data)) cuId = data[6] * 256 + data[5] - print('From ECU ' ..cuId) - txCan(1, cuId, 0, { 0xA0, 0x0F, 0x8A, 0xFF, 0x32, 0xFF }) + + out = { 0xA0, 0x0F, 0x8A, 0xFF, 0x32, 0xFF } + txCan(1, cuId, 0, out) end local sendCounter = 0