Skip to content
This repository has been archived by the owner on Jul 22, 2023. It is now read-only.

Published Message Corrupted When Length Exceeds 7kb #113

Open
maao666 opened this issue Nov 26, 2020 · 0 comments
Open

Published Message Corrupted When Length Exceeds 7kb #113

maao666 opened this issue Nov 26, 2020 · 0 comments

Comments

@maao666
Copy link

maao666 commented Nov 26, 2020

While running on an ESP32, I've noticed that some of the MQTT messages sent by the device are corrupted. Messages longer than a certain amount will be corrupted. A special character like Ú3� would appear, then a new string appends to the older one. I have no issue with messages that has a short length.
Here's what I've got from the Web Console. Note that the first JSON string is being cutoff.

	"sampling_rate":	0,
	"fi_algo":	"simple",
	"timestamp":	1606359552245,
	"channel1":	[123456, 123456],
	"channel2":	[123456, 123456],
	"channel3":	[123456, 123456, 1232Ú3�/devices/device-u0/events�{
	"sampling_rate":	0,
	"fi_algo":	"simple",
	"timestamp":	1606359552918,
	"channel1":	[123456, 123456],

I appreciate your help!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant