net: lwm2m: set range for client lifetime config

Due to timeout checking the minimum lifetime must be 15 seconds,
and we're storing the lifetime as an unsigned short so set the
maximum to 65535.

Signed-off-by: Michael Scott <michael.scott@linaro.org>
This commit is contained in:
Michael Scott 2017-08-25 14:04:51 -07:00 committed by Jukka Rissanen
parent b3e58c7874
commit b7060cf611

View file

@ -58,6 +58,7 @@ config LWM2M_ENGINE_MAX_OBSERVER
config LWM2M_ENGINE_DEFAULT_LIFETIME
int "LWM2M engine default server connection lifetime"
default 30
range 15 65535
help
Set the default lifetime (in seconds) for the LWM2M library engine