Re: Tool to manage openinverter via CAN
Posted: Sat Aug 10, 2024 4:53 pm
I might be too tired to find my mistake, cleared clara can map and run previously working oic script which no longer works for some reason. Tried with long time used 0.0.9 and also git version 0.1.0.
oic -n 22 can clear
CAN all mapping removed successfully.
oic -n 22 can add tx 0x109 UdcDivider 0 8 0 10
Adding CAN tx mapping with can_id=0x109 param='UdcDivider' position=0 length=8 gain=0.0 offset=10
Command or parameter not supported
CAN log:
Tried can add help example with same error:
oic -n22 can add tx 0x101 temp3 32 8
oic -n 22 can clear
CAN all mapping removed successfully.
oic -n 22 can add tx 0x109 UdcDivider 0 8 0 10
Adding CAN tx mapping with can_id=0x109 param='UdcDivider' position=0 length=8 gain=0.0 offset=10
Command or parameter not supported
CAN log:
Code: Select all
Time Stamp,ID,Extended,Dir,Bus,LEN,D1,D2,D3,D4,D5,D6,D7,D8
18977723,00000616,false,Rx,0,8,40,00,50,03,00,00,00,00,
18978367,00000596,false,Rx,0,8,43,00,50,03,13,EE,00,00,
18980910,00000616,false,Rx,0,8,23,00,30,00,09,01,00,00,
18981786,00000596,false,Rx,0,8,60,00,30,00,09,01,00,00,
18982152,00000616,false,Rx,0,8,23,00,30,01,01,00,00,08,
18982988,00000596,false,Rx,0,8,60,00,30,01,01,00,00,08,
18983209,00000616,false,Rx,0,8,23,00,30,02,00,00,00,0A,
18983990,00000596,false,Rx,0,8,80,00,30,02,00,00,02,06,
oic -n22 can add tx 0x101 temp3 32 8
Code: Select all
Time Stamp,ID,Extended,Dir,Bus,LEN,D1,D2,D3,D4,D5,D6,D7,D8
41307649,00000616,false,Rx,0,8,40,00,50,03,00,00,00,00,
41308306,00000596,false,Rx,0,8,43,00,50,03,13,EE,00,00,
41311027,00000616,false,Rx,0,8,23,00,30,00,01,01,00,00,
41311570,00000596,false,Rx,0,8,60,00,30,00,01,01,00,00,
41312064,00000616,false,Rx,0,8,23,00,30,01,D5,07,20,08,
41312602,00000596,false,Rx,0,8,60,00,30,01,D5,07,20,08,
41312975,00000616,false,Rx,0,8,23,00,30,02,E8,03,00,00,
41313572,00000596,false,Rx,0,8,80,00,30,02,00,00,02,06,