Skip to content

Commit

Permalink
[lwip] increase bufsize to 1500 (#117)
Browse files Browse the repository at this point in the history
- when connected to ecosystems, sometimes might receive packet buffer of size >1400
- result in no memory error
  • Loading branch information
step0035 committed Jun 1, 2023
1 parent f835c24 commit 8adc912
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion component/common/api/network/include/lwipopts.h
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ CONFIG_EXAMPLE_COAP_SERVER and CONFIG_EXAMPLE_COAP_CLIENT is defined in platform
#undef PBUF_POOL_SIZE
#define PBUF_POOL_SIZE 40
#undef PBUF_POOL_BUFSIZE
#define PBUF_POOL_BUFSIZE 1300
#define PBUF_POOL_BUFSIZE 1500
#undef MEMP_NUM_UDP_PCB
#define MEMP_NUM_UDP_PCB 10
#undef MEMP_NUM_MLD6_GROUP
Expand Down

0 comments on commit 8adc912

Please sign in to comment.