Stream sdcard data
Posted: Mon Jun 18, 2018 1:08 pm
hey everyone,
I've used a few ports on the esp32(both micropy and lua-rtos) but I've reverted back to the arduino IDE.
I've got wifi connectivity, http and sockets going.
I'm trying to move a little closer to my overall goal, but can't seem to find too much on it.
Essentially I'd like to read in a txt file from an sdcard and publish it to google drive. I can't seem to find any functions which allow a file to be streamed directly, so I have a feeling I need to read in chunks of the sdcard into a buffer and send it section by section?
Are there any examples or could anyone provide some advice as to how I can accomplish this?
Thanks in advance!
I've used a few ports on the esp32(both micropy and lua-rtos) but I've reverted back to the arduino IDE.
I've got wifi connectivity, http and sockets going.
I'm trying to move a little closer to my overall goal, but can't seem to find too much on it.
Essentially I'd like to read in a txt file from an sdcard and publish it to google drive. I can't seem to find any functions which allow a file to be streamed directly, so I have a feeling I need to read in chunks of the sdcard into a buffer and send it section by section?
Are there any examples or could anyone provide some advice as to how I can accomplish this?
Thanks in advance!