Skip to content

Packet size and data type #299

@dacattack

Description

@dacattack

While conducting tests with the AsyncMqttClient library, I've discovered that sending messages larger than 5500 bytes (the exact limit is uncertain, but it's approximately around that value) is not feasible. However, I couldn't locate any options to adjust this packet size limit within the library. My expectation was to find a label similar to what exists in the PubSubClient library.

Another concern I have pertains to the necessity of transmitting messages solely as char arrays. Unfortunately, there isn't a function variant available that would allow the transmission of a uint8_t array. This particular functionality is crucial, especially when sending certain types of data—such as substantial arrays of WAV-encoded audio data captured from an I2S MEMS microphone.

It's quite likely that these two features I've highlighted can be potentially integrated in some manner so I'll be glad to hear from someone with experience on the library.
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions