English 中文(简体)
Minicom not capturing data correctly
原标题:

I have an issue where i have connected my linux server to a serial port. There is a continous flow of data from serial port which comes through epabx.

In Minicom i get first call s data and from second call it goes offline. I dont see any data.

Can some one help me on this.

最佳回答

Thanks for all the help given by you. Finally i have got the error solved. God knows how i started getting the data.

But still i am listing the steps i performed to get correct data.

Sometimes data from serial port wont be capturing in the processing form application.

It may be because of the following issues.

1.Serial port not connected properly. 2.Serial port cable not working. 3.Some pins on serial port are damaged or connection lost. Note: For above all reasons contact the client person or person in charge of epabx systems.

4.Data not getting displayed on hypertiminal. This is a common issue in linux which uses minicom as hyperterminal.

Sol: Check the version of the minicom before running it on linux. If the version is minocom 2.1 then some process would be blocking the incoming data.

Uninstall minicom 2.1 and reinstall minicom 2.0

It is said that gate 8 process would block the incoming data.

问题回答

minicom may be responding to control characters in your data. I d recommend something simple but effective like

od -t x1 -t a /dev/ttySomething

to dump your data in both hex and as text.

You should also check that your port settings are correct i.e. bitrate, parity, stop bits, flow-control. Sometimes, when your settings are not correct, you will end up with weird results. Also, you need to check that your protocol is only sending texts as Carl mentioned.





相关问题
Signed executables under Linux

For security reasons, it is desirable to check the integrity of code before execution, avoiding tampered software by an attacker. So, my question is How to sign executable code and run only trusted ...

encoding of file shell script

How can I check the file encoding in a shell script? I need to know if a file is encoded in utf-8 or iso-8859-1. Thanks

How to write a Remote DataModule to run on a linux server?

i would like to know if there are any solution to do this. Does anyone? The big picture: I want to access data over the web, using my delphi thin clients. But i´would like to keep my server/service ...

How can I use exit codes to run shell scripts sequentially?

Since cruise control is full of bugs that have wasted my entire week, I have decided the existing shell scripts I have are simpler and thus better. Here is what I have so far svn update /var/www/...

Good, free, easy-to-use C graphics libraries? [closed]

I was wondering if there were any good free graphics libraries for C that are easy to use? It s for plotting 2d and 3d graphs and then saving to a file. It s on a Linux system and there s no gnuplot ...

热门标签