Mocking serial device

Alfredo Palhares via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jul 24 10:24:55 PDT 2014


Hello,

> How about capturing some data from the device and writing it to 
> a file?
> When you want to test, open the test data file instead of the 
> device file.

That would not work since the data is two way, for the device to 
even trow data at me I need to send some values to it.

--
Regards,
Alfredo Palhares


More information about the Digitalmars-d-learn mailing list