Skip to content
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

Particle.publish() still documented as having a 255 byte limit #877

Closed
nrobinson2000 opened this issue Nov 1, 2018 · 4 comments
Closed

Comments

@nrobinson2000
Copy link
Contributor

In the Docs it says the following:

Cloud events have the following properties:
  • name (1–63 ASCII characters)

Note: Only use letters, numbers, underscores, dashes and slashes in event names. Spaces and special characters may be escaped by different tools and libraries causing unexpected results.

  • public/private (default public)

  • ttl (time to live, 0–16777215 seconds, default 60) !! NOTE: The user-specified ttl value is not yet implemented, so changing this property will not currently have any impact.

  • optional data (up to 255 bytes)

Wasn't the limit raised?

I currently have a photon on 0.8.0-rc.7 that can publish events with 300+ character payloads without any problems.

@rickkas7
Copy link
Contributor

rickkas7 commented Nov 1, 2018

The docs will be updated when 0.8.0 is a default release. Since 0.7.0 is still the default release, and 0.8.0 is a pre-release, the docs still have the lower limit.

@nrobinson2000
Copy link
Contributor Author

Ahh, I see. Thanks for the clarification.

@technobly
Copy link
Member

That said, it is currently documented now in the prerelease-docs: https://prerelease-docs.particle.io/reference/firmware/photon/#cloud-functions

@rickkas7
Copy link
Contributor

Docs have been updated as of the 1.0.0 release.

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

No branches or pull requests

3 participants