lfex / cereal

An LFE NIF for serial port communications
MIT License
3 stars 1 forks source link

Add "flush" support #6

Open oubiwann opened 9 years ago

oubiwann commented 9 years ago

One way to do this is to close and then re-open the serial port ...

That approach will depend upon issue #7 (as to re-open, all the data which was used to open it originally needs to be present to re-open ...)

oubiwann commented 9 years ago

So flushing for erlang messages is added, but there may also be a need for flushing the serial device as well...