I am working with the Quectel EC200U module and trying to upload a CA certificate for MQTT TLS.
I am using the command AT+QFUPL to upload the certificate to the module.
When I upload the certificate directly from a laptop using QCOM (serial tool), the complete certificate is transmitted correctly, and the MQTT TLS connection works without any issue.
However, when I try to upload the same certificate through an MCU (Arduino via UART), some bytes of the certificate are always missing or truncated. Because of this, the certificate becomes invalid and the MQTT TLS connection fails.
I am sending the certificate data using AT commands from the MCU, but the behavior is inconsistent compared to direct upload from the PC using QCOM.
Questions:
-
What is the correct method to reliably upload a CA certificate to the EC200U using any MCU over UART with AT+QFUPL?
-
Why does certificate upload work correctly when done directly via QCOM from a PC, but results in missing bytes when sent through an MCU?
-
Are there specific requirements such as delays, flow control, chunking, or exact data length handling that must be followed during MCU-based uploads?
-
Are there any recommended examples or best practices for sending certificate data (handling of
>prompt, exact byte count, timeouts, binary vs ASCII mode, etc.)?