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

Fix how subscription packet length is calculated #227

Merged
merged 4 commits into from Aug 31, 2023

Conversation

brentru
Copy link
Member

@brentru brentru commented Aug 31, 2023

This pull request corrects how subscription packet length is calculated and increases the maximum buffer size for MCUs with more flash. It resolves an active WipperSnapper issue where large subscription packets (containing multiple i2c sensor initialization messages) fail to decode.

Resolves:
adafruit/Adafruit_Wippersnapper_Arduino#452
adafruit/Adafruit_Wippersnapper_Arduino#437
adafruit/Adafruit_Wippersnapper_Arduino#408

@brentru brentru requested a review from tyeth August 31, 2023 17:28
Adafruit_MQTT.h Outdated Show resolved Hide resolved
Copy link

@tyeth tyeth left a comment

Choose a reason for hiding this comment

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

That comment could mention the constructor / setter option for the max buffer size but no real loss.

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

2 participants