Open ceilingduster opened 2 years ago
Is there a maximum packet size that publish() supports?
Yes. As described in the readme and the docs, the default max packet size is 256 bytes. for a publish, that needs to cover the topic and payload, plus a handful of header bytes.
I'm completely stumped.
If I were to replace my .publish() with something simple like .publish("topic", 1);... it'll work flawlessly. If I send it a String of base64 encoded data (which is approximately 128 characters), it'll eventually fail if run long enough. No fault occurs, just no data is sent and fails silently.
Has anyone experienced this?