Skip to content
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

Increase mqtt keep alive #73

Merged
merged 4 commits into from
May 22, 2024
Merged

Conversation

urutva
Copy link
Contributor

@urutva urutva commented May 22, 2024

Description

The MQTT server resets connection if the device doesn't send keep alive packets within keep-alive interval, which is configured to 5 seconds by default. Increase the keep-alive interval to 60 seconds to avoid connection reset request when the device is busy.

Test Steps

Validated the changes in the nightly, no regressions observed.

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

urutva added 3 commits May 21, 2024 13:05
The interface library `freertos-libraries-integration-tests-config`
shouldn't contain any source code, unless there is an exception.
Therefore, move `integration_tests_platform_function.c` under the
project executable.

Signed-off-by: Devaraj Ranganna <[email protected]>
The MQTT server resets connection if the device doesn't send keep alive
packets within keep-alive interval, which is configured to 5 seconds by
default. Increase the keep-alive interval to 60 seconds to avoid
connection reset request when the device is busy.

Signed-off-by: Devaraj Ranganna <[email protected]>
Define the macro `MBEDTLS_ALLOW_PRIVATE_ACCESS` to avoid the build
failures caused while accessing private members of Mbed TLS structure
with Mbed TLS 3.6.0.

Signed-off-by: Devaraj Ranganna <[email protected]>
@urutva urutva requested a review from a team as a code owner May 22, 2024 09:54
Set the git `core.autocrlf` to `input` so that, files with `CRLF`
line-endings can be patched correctly.

Signed-off-by: Devaraj Ranganna <[email protected]>
@urutva urutva force-pushed the increase-mqtt-keep-alive branch from 54167e4 to 51d5458 Compare May 22, 2024 11:15
@urutva urutva merged commit 0e97070 into FreeRTOS:main May 22, 2024
15 checks passed
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

Successfully merging this pull request may close these issues.

3 participants