I’m trying to send upwards of 200 bytes Payload by means of MQTT protocol and currently not seeing the packet arriving server side, although it seems shorter Payloads are working. I’ve realised my Remaining Length byte is not correct as the value is greater than 127. I therefore need to define two bytes. Working on that now, but wondering if there is anythingelse I may have missed in order for longer Payloads to be sent correctly?
I’m working with a SIM800C and getting all the correct responses from the device - therefore thinking that the problem is with my construction of the MQTT packets.