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

Change default value for MQTT buffers max size #2288

Merged
merged 1 commit into from Jun 24, 2020

Conversation

xnaveira
Copy link
Contributor

The current default value for AWS_IOT_MQTT_RX_TX_BUFFER_LEN and AWS_IOT_MQTT_PAYLOAD_BUFFER_LEN which is 256 makes subscription to shadow topics fail silently. Increasing to 1000 makes possible to receive shadow updates.

Similar issue: copercini/esp8266-aws_iot#7

@xnaveira xnaveira requested a review from rlubos as a code owner May 19, 2020 13:20
@CLAassistant
Copy link

CLAassistant commented May 19, 2020

CLA assistant check
All committers have signed the CLA.

@rlubos
Copy link
Contributor

rlubos commented May 19, 2020

CC @simensrostad please have a look.

@carlescufi
Copy link
Contributor

@xnaveira could you please sign the CLA?

@xnaveira
Copy link
Contributor Author

@xnaveira could you please sign the CLA?

I thought I had already done it, it is done now @carlescufi !

Copy link
Contributor

@rlubos rlubos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the commit message to follow https://docs.zephyrproject.org/latest/contribute/index.html#commit-guidelines, something like:

net: lib: aws_iot: Change default value for MQTT buffers max size

The current default value for AWS_IOT_MQTT_RX_TX_BUFFER_LEN and
AWS_IOT_MQTT_PAYLOAD_BUFFER_LEN which is 256 makes subscription
to shadow topics fail silently. Increasing to 1000 makes possible
to receive shadow updates.

Signed-off-by: Xavier Naveira <xnaveira@gmail.com>

The current default value for AWS_IOT_MQTT_RX_TX_BUFFER_LEN and
AWS_IOT_MQTT_PAYLOAD_BUFFER_LEN which is 256 makes subscription
to shadow topics fail silently. Increasing to 1000 makes possible
to receive shadow updates.

Signed-off-by: Xavier Naveira <xnaveira@gmail.com>
@xnaveira
Copy link
Contributor Author

Please update the commit message to follow https://docs.zephyrproject.org/latest/contribute/index.html#commit-guidelines, something like:

net: lib: aws_iot: Change default value for MQTT buffers max size

The current default value for AWS_IOT_MQTT_RX_TX_BUFFER_LEN and
AWS_IOT_MQTT_PAYLOAD_BUFFER_LEN which is 256 makes subscription
to shadow topics fail silently. Increasing to 1000 makes possible
to receive shadow updates.

Signed-off-by: Xavier Naveira <xnaveira@gmail.com>

Done!

@rlubos rlubos merged commit 9b84e9d into nrfconnect:master Jun 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants