Skip to content

MAX transfer size is not found #75

Description

@sudheera8

Hi

I am trying execute the folloring code with arduino zero and I see the publish being failed.

if(client.publish(MQTT::Publish(topic,payload)
.set_qos(0)))
SerialUSB.println("publish ok");

  else
   SerialUSB.println("publish failed");

The size of my payload is about 5000 bytes. I understand that I need to change the MAX_TRANSFER_SIZE but I couldn't find it anywhere in the library. I am not really experienced with this and would really appreciate any help. This would help me get over a major issue in my project.

Thanks
sudheera

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions