zephyr/subsys/net/lib
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
..
capture everywhere: replace double words 2024-06-22 05:40:22 -04:00
coap net: coap: Parse more flag in coap_get_block2_option() 2024-08-02 22:12:47 -05:00
config net: config: Add support for IPv4 ACD 2024-06-10 00:59:28 -07:00
dhcpv4 net: lib: dhcpv4_server: Add callback to allow user to set address 2024-07-28 07:30:48 +03:00
dhcpv6 net: dhcpv6: Add configurable DUID buffer length 2024-04-03 10:28:20 +03:00
dns kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
http net: http: fix %d format string to %zu 2024-08-05 11:32:08 +02:00
lwm2m net: lwm2m: Allow SenML-CBOR floats decoded as int 2024-08-08 15:37:56 +02:00
mqtt net: mqtt: improve decoder buffer handling 2024-07-31 13:08:28 +02:00
mqtt_sn kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
ptp net: ptp: Properly handle second overflow/underflow 2024-08-06 09:17:26 +01:00
shell net: lib: http_server: add static fs resource 2024-07-31 10:08:16 +02:00
sntp
sockets kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
socks net: socks: Remove socket selection 2024-03-27 13:40:13 -05:00
tftp net: tftp: Use zsock_ API functions 2024-03-27 13:40:13 -05:00
tls_credentials net: lib: fix typo 2024-07-12 09:33:20 -04:00
trickle net: trickle: Rename interval function 2024-03-19 15:20:14 -05:00
utils
websocket net: lib: websocket: call socket poll for websocket 2024-07-09 14:04:29 +02:00
zperf net: lib: fix typo 2024-07-12 09:33:20 -04:00
CMakeLists.txt net: ptp: Initial PTP library implementation 2024-06-13 05:40:41 -04:00
Kconfig net: ptp: Initial PTP library implementation 2024-06-13 05:40:41 -04:00