CONFIG_LWM2M_ENGINE_VALIDATION_BUFFER_SIZE

Size of the validation buffer for the incoming data

Type: int

Help

LwM2M will use the validation buffer during the write operation, to
decode the resource value before validating it (applies for resources
for which validation callback has been registered). Set this value to
the maximum expected size of the resources that need to be validated
(and thus have validation callback registered).
Setting the validation buffer size to 0 disables validation support.

Direct dependencies

LWM2M && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • 64

Kconfig definition

At <Zephyr>/subsys/net/lib/lwm2m/Kconfig:59

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:42<Zephyr>/subsys/Kconfig:39<Zephyr>/subsys/net/Kconfig:89<Zephyr>/subsys/net/lib/Kconfig:18

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Network Protocols → OMA LWM2M protocol stack

config LWM2M_ENGINE_VALIDATION_BUFFER_SIZE
    int "Size of the validation buffer for the incoming data"
    default 64
    depends on LWM2M && NETWORKING
    help
      LwM2M will use the validation buffer during the write operation, to
      decode the resource value before validating it (applies for resources
      for which validation callback has been registered). Set this value to
      the maximum expected size of the resources that need to be validated
      (and thus have validation callback registered).
      Setting the validation buffer size to 0 disables validation support.

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