Skip to content

Commit 915f2b7

Browse files
simensrostadrlubos
authored andcommitted
net: lib: nrf_cloud: Increase SENSOR_SEND_CBOR_MAX_SIZE
Increase `SENSOR_SEND_CBOR_MAX_SIZE` to 64 bytes to prevent encoding error when encoding humidty double values in CBOR. Signed-off-by: Simen S. Røstad <[email protected]>
1 parent 609ac31 commit 915f2b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/net/lib/nrf_cloud/coap/include/coap_codec.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#define LOCATION_SEND_CBOR_MAX_SIZE 96
2121
#define AGNSS_GET_CBOR_MAX_SIZE 64
2222
#define PGPS_URL_GET_CBOR_MAX_SIZE 64
23-
#define SENSOR_SEND_CBOR_MAX_SIZE 32
23+
#define SENSOR_SEND_CBOR_MAX_SIZE 64
2424
#define MESSAGE_SEND_CBOR_MAX_SIZE 256
2525

2626
#define LOG_CB_DBG(result_code, offset, len, last_block) { \

0 commit comments

Comments
 (0)