sudo modprobe vcan

or

sudo modprobe can

can-utils

git cone https://github.com/linux-can/can-utils make sudo make install

can-isotp

git clone https://github.com/hartkopp/can-isotp

make cd net/can

sudo insmo ./can-isotp.ko

Kayak

git clone git://github.com/dschanoeh/Kayak nvm clean package ./application/target/kayak/bin/kayak

# To print all a sorted list of amount of messages per idunique ID’s:


$ awk '{print $3}' candump-2017-10-15_142848.log | awk -F '#' '{print $1}' | sort | uniq -c | sort
  94716 405
  51739 210
  50504 443
  49517 220
  47967 1E1
  39800 328
  38497 212
  30757 130
  28260 423
  16216 270
  12066 416
  12058 40C
   8808 2F1
   7745 208
   7675 300
   7373 308
   6664 412
   6539 200
   6522 312
   2028 1A4
   1681 408
   1433 608
    780 194
    438 536
     61 4F6
      3 111
      3 101
      2 7C0

(deels) bekende ID’s

210

D2,D34 zijn gaspedaal

// gaspedaal niet ingedrukt can0 210 [8] 00 00 00 00 00 00 00 FF

// volledig ingedrukt can0 210 [8] 00 00 0F A0 20 00 00 0F

Volledig onbekend ID’s

  • 101: nauwelijks berichten
  • 110: nauwelijks berichten

Mogelijkheden voor RPM

NIET - 101 - 110

130

D1 lijkt een counter die steeds oploopt, vn 0 naar F.

405

Messages with this id have no data.

443

D1 and D2 seems to be a counter that is counting up. Maybe D0 is part of the number as well.

015020050000

Geen handrem

1E1

Only contains 2 values:

47305 0000000000000000 662 0810000000000000

423

D0 en D1 hebben iets te maken met licht

licht uit can0 423 [6] 03 00 00 09 0D 0C

normaal licht aan

can0 423 [6] 03 00 00 09 0D 0C

mist licht achter

can0 423 [6] 01 70 00 00 90 D0

mistlicht voor can0 423 [6] 0F 00 00 09 0D 0C

bdice mixgli hgdn can0 423 [6] 01 F0 00 00 90 D0

416

Geen toerenteller.

408

Weinig verandering.

2F1

lijkt stuur te zijn. h

212

D6 en D7 gaspedaal

// niet ingedrukt can0 212 [8] 02 0E E0 00 00 68 02 E0

// volledig ingedrukt can0 212 [8] 02 0E E0 00 00 68 0F 30

40C

40C# FF 01 80 80 00 - - speed

Data nog te te vinden

VIN handrem status Verwarming RPM Aansturing lampjes dashboard klok kilometserstand/odometer rit kilometerstand buiten temperatuur !130 !220 !312

diverse error codes sensor brandstof tank versnelling? accelerometer rem? koppeling? bediening knopjes bovenop dashboard?

controllers

IC - instrumentation cluster, dashboard TCU = transmission control unit MCU = motor control unit

monitor will print the received events for: UDEV - the event which udev sends out after rule processing KERNEL - the kernel uevent

KERNEL[254592.235463] add /devices/pci0000:00/0000:00:14.0/usb1/1-1 (usb) KERNEL[254592.235808] add /devices/pci0000:00/0000:00:14.0/usb1/1-11-1:1.0 (usb) KERNEL[254592.236237] add /devices/pci0000:00/0000:00:14.0/usb1/1-11-1:1.0/tty/ttyACM1 (tty) KERNEL[254592.236362] add /devices/pci0000:00/0000:00:14.0/usb1/1-11-1:1.1 (usb) UDEV [254592.281971] add /devices/pci0000:00/0000:00:14.0/usb1/1-1 (usb) UDEV [254592.285780] add /devices/pci0000:00/0000:00:14.0/usb1/1-11-1:1.0 (usb) UDEV [254592.286164] add /devices/pci0000:00/0000:00:14.0/usb1/1-11-1:1.1 (usb) UDEV [254592.289530] add /devices/pci0000:00/0000:00:14.0/usb1/1-11-1:1.0/tty/ttyACM1 (tty) KERNEL[254596.867180] remove /devices/pci0000:00/0000:00:14.0/usb1/1-11-1:1.0/tty/ttyACM1 (tty) KERNEL[254596.867345] remove /devices/pci0000:00/0000:00:14.0/usb1/1-11-1:1.0 (usb) KERNEL[254596.867506] remove /devices/pci0000:00/0000:00:14.0/usb1/1-11-1:1.1 (usb) KERNEL[254596.869606] remove /devices/pci0000:00/0000:00:14.0/usb1/1-1 (usb) UDEV [254596.871634] remove /devices/pci0000:00/0000:00:14.0/usb1/1-11-1:1.0/tty/ttyACM1 (tty) UDEV [254596.874499] remove /devices/pci0000:00/0000:00:14.0/usb1/1-11-1:1.0 (usb) UDEV [254596.874952] remove /devices/pci0000:00/0000:00:14.0/usb1/1-11-1:1.1 (usb) UDEV [254596.890160] remove /devices/pci0000:00/0000:00:14.0/usb1/1-1 (usb)

rit notes

candump-2017-10-21_145443 vertrek: 15 graden 112870 268.3 14:52

end: 15 graden 112781 269.9 14:57

– candump-2017-10-21_150631.log start: 15 graden 112781 269.9 15:04

15 graden 112875 273.5 15.11

– candump-2017-10-21_153656.log

15 graden 112875 273.5 15:34

16 graden 112892 290.6 15:53

– candump-2017-10-21_174326.log 16 graden 290.6 112892 17.40

12 graden 302.9 112904 17.53