Skip to content
This repository was archived by the owner on Apr 24, 2019. It is now read-only.

Commit 84d63ca

Browse files
author
Antti Yli-Tokola
committed
Reduce blockwise size to 512 due to TCP fragmentation size
Fixes error: IOTCLT-1889 Client certificate validity check fails with more than a few resources
1 parent ee0ba2a commit 84d63ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mbed_client_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
// Defines the size of blockwise CoAP messages that client can handle.
3838
// The values that can be defined uust be 2^x and x is at least 4.
3939
// Suitable values: 0, 16, 32, 64, 128, 256, 512 and 1024
40-
#define SN_COAP_MAX_BLOCKWISE_PAYLOAD_SIZE 1024
40+
#define SN_COAP_MAX_BLOCKWISE_PAYLOAD_SIZE 512
4141

4242
// Many pure LWM2M servers doen't accept 'obs' text in registration message.
4343
// While using Client against such servers, this flag can be set to define to

0 commit comments

Comments
 (0)