Skip to content
Permalink
Browse files

samples: net: lwm2m_client: set LWM2M_COAP_BLOCK_SIZE to 512

The native Zephyr LwM2M client enables the JSON formatter which
can use more of the packet buffers than the default 256 with
TLV formatting.  Let's set the default to 512 in order to avoid
cutting off the output of larger READ operations.

In the future, we should establish block transfer buffers to
handler longer READ ops.

Signed-off-by: Michael Scott <mike@foundries.io>
  • Loading branch information...
mike-scott authored and jukkar committed Jul 29, 2019
1 parent 9534bbd commit 7ac1cbfe213b3c57d30e202b1dd433412452154d
Showing with 1 addition and 0 deletions.
  1. +1 −0 samples/net/lwm2m_client/prj.conf
@@ -24,6 +24,7 @@ CONFIG_NET_CONFIG_NEED_IPV4=y
CONFIG_NET_CONFIG_SETTINGS=y

CONFIG_LWM2M=y
CONFIG_LWM2M_COAP_BLOCK_SIZE=512
CONFIG_LWM2M_IPSO_SUPPORT=y
CONFIG_LWM2M_IPSO_TEMP_SENSOR=y
CONFIG_LWM2M_IPSO_LIGHT_CONTROL=y

0 comments on commit 7ac1cbf

Please sign in to comment.
You can’t perform that action at this time.