Skip to content

Fix error in handling of remaining field of mqtt message - #4

Open
thilo-hub wants to merge 1 commit into
nikitastupin:masterfrom
thilo-hub:master
Open

Fix error in handling of remaining field of mqtt message#4
thilo-hub wants to merge 1 commit into
nikitastupin:masterfrom
thilo-hub:master

Conversation

@thilo-hub

Copy link
Copy Markdown

The actual field points to the data length in this message The logic in the file only works if it contains at max one message if the tcp packet contains multiple mqtt packets the calculation fails

Workaround: remove extra bytes and loop call until all is handled

Not the best way to fix...

The actual field points to the data length in this message
The logic in the file only works if it contains at max one message
if the tcp packet contains multiple mqtt packets the calculation fails

Workaround: remove extra bytes and loop call until all is handled

Not the best way to fix...
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.

1 participant