File Transfer using BX3105

Hi there!

I am looking into do a file transfer (size = 1MB) from a Server to BX3105 Module which is placed in a custom board where STM32F413 MCU communicates with BX3105 over UART. Based on references, I understood that HTTP/TCP are the best options.

So I have tried with first option HTTP. I found that KHTTPGET is the command used to transfer the file at a single instant. But I specially need to transfer the file by breaking into small chunks from the receiver side in order to reduce the complexity of buffer management like requesting specific length of the file to sever. Is it possible in HTTP or is that anything like that available on TCP. Please let me know.

Why don’t you split the 1Mb file into multiple files and download them one by one?

But When I execute KHTTPGET command I will be getting a entire 1MB file in my receiving buffer where RAM overflow can happen right?

Why don’t you split the 1Mb file into multiple files and download them one by one?

Each file will then be smaller than 1Mb

Server doesn’t have that kind of functionality as of now, that’s why

Your http server can only have one file to be downloaded?
What http server are you using?

I can understand your question and I found it as solution thank you. By the way, I am using a generic http file transfer application