Skip to content

Wait for each output byte to be echoed back by an asyn device before sending the next byte.

License

Notifications You must be signed in to change notification settings

paulscherrerinstitute/asynInterposeEcho

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AsynInterposeEcho

This is an interpose layer for asyn octet drivers. It adds the feature to wait after every single character written to the device until the device echos it back. Some very crappy devices need this.

Usage

In the startup script, after loading the asynInterposeEcho driver and setting up an asyn octet port, call asynInterposeEcho to add this interpose layer to an existing asyn octet port/address.

asynInterposeEcho port, address

Example

require asynInterposeEcho
drvAsynSerialPortConfigure "device", "/dev/ttyS0"
asynInterposeEcho "device"

About

Wait for each output byte to be echoed back by an asyn device before sending the next byte.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published