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.