Ai-Thinker-Open / GPRS_C_SDK

Ai-Thinker A9/A9G GPRS (with GPS(A9G)) module C development SDK
https://ai-thinker-open.github.io/GPRS_C_SDK_DOC
MIT License
449 stars 235 forks source link

Issue receiving large mqtt packets. Can we change max packet size? #491

Open jassi00713 opened 3 years ago

jassi00713 commented 3 years ago

Hi,

I am using mqtt over a9g module. I am trying send a large audio file of about 35kb. But the payload gets broken down into 128 byte packets and are received one by one. Major issues is that it takes over 25 sec for complete reception.

How can this be solved? Any way to change maximum payload size so as to increase it?