I am developing a product base on QCA4010 which will receive a signal from IR module and send it to a Broker over MQTT protocol.
I have done with developing MQTT client to publish/subscribe message but I could not publish a message with payload length more than 400.
When I try to send a packet with size is 512 or 1024 the MQTT library return error -5 which is (PUBLISH_ERROR).
So, There is anyway to help me to get the MQTT client able to publish message with size more than 400.
Cong Nga Le