We’re using Losant on a few early-stage projects. In one project, we’ve noticed Losant receiving corrupt MQTT packets. Just wondering if you have any advice on where to start.
Of course we’re looking at our application to see if we’re simply transmitting invalid packets, but it doesn’t look that way right now. Before and after transmitting, all our buffers contain the expected string values.
On the Losant side, we can see that the corrupted packets basically have some characters swapped out for invalid characters. My best guess is that this is a true transmission error, but I haven’t seen this on other devices using the same modem so I’m not sure why it would be happening so frequently on this device.
Do you accept CRCs or checksums for MQTT packets?
Is there any way we can view a historical log of non-accepted messages? Right now I’m debugging by watching the live Application Log window, but it’s pretty inconvenient if we want to investigate something that happened in the past.