Quick question about the Particle Publish data send limits.
I’m sending data to the Losant IOT backend and all it requires is a Particle.Publish like this:
For example, let’s assume you’re packing four values into a single event publish. An easy way to do this might be to send them as a single string, separated with a colon:
Particle.publish("state", "100:12:45:72");
You can then unpack that with a function node using something like:
var parts = payload.data.data.split(':');
payload.data.newState = {
soc: parts[0],
voltage: parts[1],
current: parts[2],
time2go: parts[3]
};
This works beautifully from my testing.
I’m trying to figure out how many characters or numbers I can fit into a single Particle Publish event.
How many digits & Characters can I put after the initital “state”, ? :
Particle.publish("state", "012345679ect");`
I see that the publish data payload can be 255 bytes but does that equal 255 characters?