Skip to content

Hi, guys! You should review this row of code. #10

Description

@zebestro

Hi everyone! Please fix this line regarding the payload length field type to use uint16_t, since I spent a long time trying to figure out why, on the AWS side, messages longer than 256 bytes are truncated to a multiple of 256 (for example, 300 - 256 = 44, so only the first 44 bytes of a 300-byte payload are received). Since it is important to note that the payload for an MQTT packet can exceed 256 bytes):

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions