Skip to content

How to change some parameters of the TCP? #91

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
vernonet opened this issue Oct 6, 2022 · 2 comments
Closed

How to change some parameters of the TCP? #91

vernonet opened this issue Oct 6, 2022 · 2 comments

Comments

@vernonet
Copy link

vernonet commented Oct 6, 2022

How to change some parameters of the TCP, for example: "CONFIG_LWIP_TCP_TMR_INTERVAL" or "CONFIG_LWIP_TCP_SND_BUF_DEFAULT"? In the old version of the build.sh script, I changed them in the file "sdkconfig.esp32" and everything compiled perfectly. Now If I use this for configuration: "./build.sh -t esp32 -b menuconfig" then the file "sdkconfig" is replaced with the default file after compilation.

@vernonet vernonet closed this as completed Oct 6, 2022
@vernonet vernonet reopened this Oct 6, 2022
@Jason2866
Copy link
Contributor

Related infos in #79

@vernonet
Copy link
Author

I found, some parameters can be changed in the file - \esp32-arduino-lib-builder\esp-idf\components\lwip\Kconfig

........
config LWIP_TCP_SND_BUF_DEFAULT
            int "Default send buffer size"
            default 5744  # 4 * default MSS
            range 2440 65535 if !LWIP_WND_SCALE
            range 2440 1024000 if LWIP_WND_SCALE
........

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants