Skip to content

Candump

Nicolas Liaudat edited this page Aug 27, 2023 · 1 revision

You can have full candump values by activating the code under the section "CANDUMP" in canbus.yaml

- can_id: 0  # listen to all messages
  can_id_mask: 0
  use_extended_id: true
  then:
  - lambda: |-
        ESP_LOGI("candump", "%x : %x %x %x %x %x %x %x %x", can_id, int(x[0]), int(x[1]), int(x[2]), int(x[3]), int(x[4]), int(x[5]), int(x[6]), int(x[7])); //1FD047FF   [8]  01 42 32 00 92 E2 00 FF

It will output messages on web interface like that :

[14:57:24][I][candump:192]: 1fd047ff : 1 42 32 0 92 e2 0 f5

[14:57:27][I][candump:192]: 1fe04208 : 1 40 32 0 92 e8 fb 3f

[14:57:27][I][candump:192]: 1fd047ff : 1 42 32 0 92 e8 ff 3f

[14:57:30][I][candump:192]: 1fe04208 : 1 40 32 0 92 eb fb 3f

[14:57:30][I][candump:192]: 1fd047ff : 1 42 32 0 92 eb ff 3f

Clone this wiki locally