MQTT Payload using Legato AF


I am using mangOH green with wp76xx target, i want to publish and receive data with payload length 10Kb over MQTT, (Using legato MQTT API).Not able to publish and receive more than 1kb of there any way to increase the payload size?. I tried increase the payload size in mqtt_server.h and mqtt_interface.h its not working

Please suggest a solution for this issue

Are you using this application below ?

Thanks for the sample code link i will have a look on that,

as of now i am using the below mentioned sample code