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

Add large message API #494

merged 3 commits into from Nov 1, 2018


None yet
2 participants

amcewen commented Sep 4, 2018

This PR adds a new API to allow splitting publishing a message into three parts:

  1. Kicking off publishing, giving the topic and final message size
  2. Any number of calls to print or write to send an arbitrarily large payload
  3. A "message finished" call (mostly to mirror the similar APIs in the Arduino UDP and HttpClient APIs)

There's an example sketch which implements an "X green bottles" lyric generator, to show it in use. This should fix #491.

@knolleary knolleary merged commit 7517de7 into knolleary:master Nov 1, 2018

1 check failed

continuous-integration/travis-ci/pr The Travis CI build failed

This comment has been minimized.


knolleary commented Nov 1, 2018

I'll forgive the broken CI tests - have a simple fix for that I'll push after this is merged.

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