RS-485 / RS-232 problem, how to solve?!?
My software controls a device (Rayon Serial Port device) through RS-232.
I use the following cmd to create the special file to it:
mknod tty81a c 19 16
I have a deamon that reads/writes to this device, and there are some scripts who write to this device. However, there is a problem that sometimes occur and sometimes not.
I wonder, is there any way to scan/monitor the data that goes over this line? So, create a logfile with all the data...
Please also reply if you would like to know additional information...
|