Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance of Modbus sniffer #1

Open
MinzaGayas opened this issue Jun 21, 2022 · 3 comments
Open

Performance of Modbus sniffer #1

MinzaGayas opened this issue Jun 21, 2022 · 3 comments

Comments

@MinzaGayas
Copy link

Hi,

I am trying to sniff data of a client which sends requests @660ms rate. Baudrate is 9600 and serial socket timeout is 1s and I am running the Modbus sniffer on rpi CM4 (Linux 11). Using sniffer, I see only half of the requests are processed. For the rest of the requests, framer checker fails or frames are not ready. Is it because client is too fast for the sniffer to process or some timeout needs to be reduced?
sniffer_error

@Ekristoffe
Copy link

Ekristoffe commented Jun 21, 2022

Hello @MinzaGayas, I had the same problem and heavily modified @snhobbs code.
If you can look at my fork, it may solve your problems.
The usage is more detailed too...

https://github.com/Ekristoffe/ModbusSniffer

@MinzaGayas
Copy link
Author

MinzaGayas commented Oct 11, 2022 via email

@Ekristoffe
Copy link

even with the python I wrote you have the same error as the original script ?
that's weird since I don't use the same system anymore and this error isn't in the script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants