Closed the-maldridge closed 1 month ago
Manual reading is an artform best not practiced in the wee hours of the morning. After revisiting and rereading the docs, I determined that my structure had passed the magic 256 byte size and it was necessary to specify the size of the buffers directly.
Description I assemble data into a JsonDocument prior to serializing it into an MQTT Topic. This used to work fine, but I'm now observing that the output is truncated in the last key. It is always the last key, and by a variable amount each time I reset the board.
Troubleshooter's report
JsonDocument::overflowed()
returnsfalse
Environment
Reproduction code
Remarks The issue manifested after I added VBatM and VBatB to the posting.