Chunking of long data to prevent arduino serial receive buffer overflow