This is the documentation for the latest (master) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.
CONFIG_NET_L2_CANBUS

Enable CANBUS L2 layer [EXPERIMENTAL]

Type: bool

Help

Add a CANBUS L2 layer driver. This is the layer for IPv6 over CAN (6loCAN). It uses IPHC to compress the IP header and ISO-TP for flow control and reassembling.

Direct dependencies

CAN_NET && NETWORKING

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Symbols selected by this symbol

Kconfig definition

At subsys/net/l2/canbus/Kconfig:4

Included via Kconfig:8Kconfig.zephyr:34subsys/Kconfig:22subsys/net/Kconfig:85subsys/net/l2/Kconfig:77

Menu path: (Top) → Networking → Link layer and IP networking support → Link layer options

config NET_L2_CANBUS
    bool "Enable CANBUS L2 layer [EXPERIMENTAL]"
    select NET_6LO
    depends on CAN_NET && NETWORKING
    help
      Add a CANBUS L2 layer driver. This is the layer for IPv6 over CAN
      (6loCAN). It uses IPHC to compress the IP header and ISO-TP for
      flow control and reassembling.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)