Increase receive buffer size

  1. My goal is: To increase the receive buffer size.
  2. My actions are: I have to upload a SSL certificate with file size of 5kB.
  3. The result I see is: Mos console logs the size of receive buffer is exceeds.
  4. My expectation & question is: How to increase the receive size buffer size or any other way to achieve it.
    Please find the below captured mos console log picture.

console2

Thanks & Regards
Lokesh C J

When you say “receive” I think UART.
Then I see FS.Put and HTTP server in the capture.
There are some examples around for sending data in chunks, one of them is in the file logger documentation. The first move is to use mos put instead of mos call FS.Put; then, you can add a chunk-size option: mos put --chunk-size= I didn’t try, though.
You could also try Websocket instead of HTTP.