Hey,
I have sensor aggregation unit, which is connected via UART (Serial4) with a particle e series.
It sends data roughly around every 500ms. As long as i dont use the sleep mode of the particle everything works fine.
But as soon as i use the sleep mode i dont get the data from the serial buffer. After waking obviously the serial buffer is full, as in 60s around 120time the data aggregation unit has written to the buffer. Changing the update times of the aggregation unit makes no sense, as the sleeping time of the particle will be different from each application.
Is there a way to clear the buffer as long as the particle is sleeping?
Thanks