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

Commit f907514

Browse files
author
Yogesh Pande
authored
Merge pull request #286 from ARMmbed/block_size_change
Reduce blockwise size to 512 due to TCP fragmentation size
2 parents ee0ba2a + 84d63ca commit f907514

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)