The latest development version of this page may be more current than this released 2.7.5 version.

CONFIG_UPDATEHUB_COAP_BLOCK_SIZE_EXP

Max CoAP block size defined as 2^(4 + EXP)

Type: int

Help

Configure the max size of a data payload were value:
  0 - COAP_BLOCK_16
  1 - COAP_BLOCK_32
  2 - COAP_BLOCK_64
  3 - COAP_BLOCK_128
  4 - COAP_BLOCK_256
  5 - COAP_BLOCK_512
  6 - COAP_BLOCK_1024

This value is mapped directly to enum coap_block_size.

Direct dependencies

UPDATEHUB

(Includes any dependencies from ifs and menus.)

Default

  • 6

Kconfig definition

At subsys/mgmt/updatehub/Kconfig:99

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:35subsys/mgmt/Kconfig:13

Menu path: (Top) → Sub Systems and OS Services → Device Management → UpdateHub Firmware Over-the-Air support

config UPDATEHUB_COAP_BLOCK_SIZE_EXP
    int "Max CoAP block size defined as 2^(4 + EXP)"
    range 0 6
    default 6
    depends on UPDATEHUB
    help
      Configure the max size of a data payload were value:
        0 - COAP_BLOCK_16
        1 - COAP_BLOCK_32
        2 - COAP_BLOCK_64
        3 - COAP_BLOCK_128
        4 - COAP_BLOCK_256
        5 - COAP_BLOCK_512
        6 - COAP_BLOCK_1024

      This value is mapped directly to enum coap_block_size.

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