 + * SPDX-License-Identifier: Apache-2.0
 + */
  /*
-  * Generated using zcbor version 0.5.1
+  * Generated using zcbor version 0.6.0
 - * https://github.com/NordicSemiconductor/zcbor
 + * https://github.com/zephyrproject-rtos/zcbor
   * Generated with a --default-max-qty of 99

 								    : false)))))));

 	if (!tmp_result)
@@ -99,9 +100,9 @@ static bool encode_value(zcbor_state_t *state, const struct value_ *input)
 				   ? ((zcbor_bstr_encode(state, (&(*input)._value_bstr))))
 				   : (((*input)._value_choice == _value_int)
 					      ? (((((*input)._value_int >=
-						    -9223372036854775807LL) &&
+						    INT64_MIN) &&
 						   ((*input)._value_int <=
-						    9223372036854775807LL)) ||
+						    INT64_MAX)) ||
 						  (zcbor_error(state, ZCBOR_ERR_WRONG_RANGE),
 						   false)) &&
 						 (zcbor_int64_encode(state,
@@ -112,8 +113,8 @@ static bool encode_value(zcbor_state_t *state, const struct value_ *input)
 								   (&(*input)._value_float))))
 							 : (((*input)._value_choice == _value_bool)
 								    ? ((zcbor_bool_encode(

+#include "lwm2m_senml_cbor_types.h"

 static bool encode_repeated_record_bn(zcbor_state_t *state, const struct record_bn *input);
 static bool encode_repeated_record_bt(zcbor_state_t *state, const struct record_bt *input);
@@ -46,8 +47,8 @@ static bool encode_repeated_record_bt(zcbor_state_t *state, const struct record_
 	zcbor_print("%s\r\n", __func__);

 	bool tmp_result = ((((zcbor_int32_put(state, (-3)))) &&
-			    ((((*input)._record_bt >= -9223372036854775807LL) &&
-			      ((*input)._record_bt <= 9223372036854775807LL)) ||
+			    ((((*input)._record_bt >= INT64_MIN) &&
+			      ((*input)._record_bt <= INT64_MAX)) ||
 			     (zcbor_error(state, ZCBOR_ERR_WRONG_RANGE), false)) &&
 			    (zcbor_int64_encode(state, (&(*input)._record_bt)))));

@@ -75,8 +76,8 @@ static bool encode_repeated_record_t(zcbor_state_t *state, const struct record_t
 	zcbor_print("%s\r\n", __func__);

 	bool tmp_result = ((((zcbor_uint32_put(state, (6)))) &&
-			    ((((*input)._record_t >= -9223372036854775807LL) &&
-			      ((*input)._record_t <= 9223372036854775807LL)) ||
+			    ((((*input)._record_t >= INT64_MIN) &&
+			      ((*input)._record_t <= INT64_MAX)) ||
 			     (zcbor_error(state, ZCBOR_ERR_WRONG_RANGE), false)) &&
 			    (zcbor_int64_encode(state, (&(*input)._record_t)))));

@@ -93,8 +94,8 @@ static bool encode_repeated_record_union(zcbor_state_t *state, const struct reco
 	bool tmp_result = (((
 		((*input)._record_union_choice == _union_vi)
 			? (((zcbor_uint32_put(state, (2)))) &&
