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 <Zephyr>/subsys/mgmt/updatehub/Kconfig:99

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:35<Zephyr>/subsys/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.)