zephyr/subsys/net
Seppo Takalo e3100c6f3a net: lwm2m: Allow SenML-CBOR floats decoded as int
SenML is technically a JSON based format which can
be encoded as a CBOR. SenML-CBOR specification in
RFC 8428 section 6 states that numbers can be decoded
as an integer.

Also RFC 7049 section 4.2 states that JSON numbers
without fractional part can be decoded as an integer.

I have seen with one commercial LwM2M platform that
the decoder  they use, sends floating point values as
integers, if there is no fractional part.

So LwM2M engine cannot assume from the path that
the incomming number is either float or int. Accept both.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2024-08-08 15:37:56 +02:00
..
conn_mgr net: lib: fix typo 2024-07-12 09:33:20 -04:00
ip net: ipv6: route: get nexthop's LL address only if relevant 2024-08-08 15:37:32 +02:00
l2 net: wifi: Add Current PHY rate 2024-08-07 19:02:32 -04:00
lib net: lwm2m: Allow SenML-CBOR floats decoded as int 2024-08-08 15:37:56 +02:00
pkt_filter
buf_simple.c net: buf: Add const to net_buf API 2024-07-08 16:02:39 +02:00
buf.c net: buf: Add const to net_buf API 2024-07-08 16:02:39 +02:00
CMakeLists.txt net: conn_mgr: Write documentation 2023-09-28 15:11:14 +02:00
hostname.c net: hostname: Add a function to set the hostname postfix as is. 2024-07-28 07:28:51 +03:00
Kconfig net: Add Kconfig for net buf alignment 2023-12-14 09:29:47 +01:00
Kconfig.hostname net: add set hostname function 2024-01-17 14:42:58 +01:00
Kconfig.template.log_config.default.net
Kconfig.template.log_config.net