Node-red-node-serialport flush serial buffer

Hi,

I'm using the serial-in node and i want to make sure the serial buffer is flushed after the received message has been handled in a function node.

How can this be realized?

Show us how you have configured the serial port please.

Here is the Port configuration

Whenever data arrives the whole buffer is read and data sent on as per the configuration of when to send - either character split, timeout etc... in the case of timeout there would be nothing left in the buffer... - in the other cases data may accrue waiting for further input.

Ok thanks for clarifiction.
I just thought there must be a command to manually flush the buffer, something like port.flush();
Reducing the timeout already helped that the buffer is flushed more frequently.

Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.