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.

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 <devaraj.ranganna@arm.com>
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 <devaraj.ranganna@arm.com>
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 <devaraj.ranganna@arm.com>
@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 <devaraj.ranganna@arm.com>
@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.

None yet

3 participants