Saving HTTP/MQTT Payloads Directly to UFS on Quectel EG915U-LA

I am using the Quectel EG915U-LA module and would like to know if it’s possible to save data payloads directly to the User File Storage (UFS) directory.

Specifically, I want to:

  • Save the payload from a subscribed MQTT topic directly to a file in UFS as messages arrive.
  • Save the response payload from an HTTP GET request directly to a file in UFS.

Is this functionality supported, and if so, what is the recommended method to implement it?

The payload of MQTT cannot be directly saved to UFS; it needs to be relayed by the host. However, HTTP GET can be directly implemented.

Hello Herbert,

Thank you for your question. You are right, I am using HTTP for this project, as I need to handle the transfer of large files.

To manage these files efficiently from the MCU, I plan to read and send them in chunks over SPI. Could you assist me by providing a short code snippet that outlines the correct sequence of AT commands for this operation?

I appreciate your support.

Kind regards,
Fer Mercado.

Sorry, I don’t have the corresponding code snippet. QHTTPREADFILE is an important AT command.

1 Like

Right, thanks so much.
Fer Mercado.