CONFIG_NET_L2_CANBUS_BS

BS (Block Size)

Type: int

Help

Number of CF (Contiguous Frame) PDUs before next FC (Flow Control) frame is sent. Zero value means all frames are sent consecutive without an additional FC frame. A BS counter at the sender counts from one to BS. When BS is reached, the sender waits for a FC frame again an BS is reset. See also: ISO 15765-2:2016

Direct dependencies

NET_L2_CANBUS && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • 8

Kconfig definition

At <Zephyr>/subsys/net/l2/canbus/Kconfig:43

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:34<Zephyr>/subsys/net/Kconfig:85<Zephyr>/subsys/net/l2/Kconfig:77

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Link layer options → Enable CANBUS L2 layer [EXPERIMENTAL]

config NET_L2_CANBUS_BS
    int "BS (Block Size)"
    range 0 256
    default 8
    depends on NET_L2_CANBUS && NETWORKING
    help
      Number of CF (Contiguous Frame) PDUs before next FC (Flow Control)
      frame is sent. Zero value means all frames are sent consecutive
      without an additional FC frame.
      A BS counter at the sender counts from one to BS. When BS is reached,
      the sender waits for a FC frame again an BS is reset.
      See also: ISO 15765-2:2016

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