HI,
I am trying to read the payload length of the data coming in a topic via MQTTSN over OpenThread. In the event handler, I am getting the event and trying to get the length from it:
At this point, I am expecting the length to be in:
but this is always 0. I guess this is also the incorrect place to check for the *payload* length, this looks more like the entire packet length. I could not find other member that might resemble a length.
Is there any other place where the payload length might be read from? This seems to be an important check in making sure I am parsing correctly the data coming from MQTTSN.
Regards,
Edgar