0

I've come across an interesting yet old article within StackExchange which has great examples of sending structured variables over serial communications. The library StreamSend.h and it's source code no longer exist on this site and I'm finding it difficult to track down. The examples shown look good and I'd like to use them in my application. My application is communication of large amounts of data between an ESP8266 and a Arduino UNO (both are combined on the same PCBA) via UART serial.

This is the article I'm referring to:

Sending Large Amounts of Serial Data

Can somebody send me the StreamSend.h library please or alternative methods for sending large amounts of data over serial (by large amounts of data I mean reading/writing say 10 to 20 variables of various data types so struct would suit well). Thank you.

Regards,

Brian

Brian
  • 11
  • 1
  • 1
    The code is in the article you linked to - right under `StreamSend Class`. Copy that code, save it as `StreamSend.h` or `StreamSend.hpp`. – romkey Aug 28 '21 at 04:32
  • 1
    Thanks romkey. I have created the StreamSend.h file and the ESP8266 and Arduino programs both compile.I send the struct from the ESP to the Arduino using the same code in this blog for send and receiving a struct. I can see on the serial monitor that the ESP appears to be sending data but the Arduino is quiet. I've noted the StreamSend.h file has #include "Arduino.h" but no reference to ESP8266. So could this be an issue? – Brian Aug 29 '21 at 09:25
  • I'd suggest asking that in a new question. – romkey Aug 29 '21 at 15:28

0 Answers0