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

Issue with Messenger.Get not parsing SNMP response from ZX-1000 transmitter device #688

Open
Negatu-Abera opened this issue Nov 18, 2024 · 0 comments
Labels
area:faulty-device Device/agent not compliant to the standards. more info needed

Comments

@Negatu-Abera
Copy link

Hello,
I am experiencing an issue where the Messenger.Get method in the Lextm.SharpSnmpLib library fails to properly parse an SNMP response from a ZX-1000 transmitter device, while Dart.SNMP handles the same response without any issues.

Upon inspection of the response using Wireshark, I noticed that the response from the ZX-1000 device contains an additional 15 bytes that appear to be causing the parsing failure in the Lextm.SharpSnmpLib library. The Dart.SNMP library does not seem to be affected by these extra bytes, and it parses the response correctly.

result = Messenger.Get(version, endpoint, community, variableList, 3000); section of code that generates the failure

Steps to Reproduce:
1.Send an SNMP Get request to the ZX-1000 transmitter device.
2.Receive the response from the device.
3.Attempt to parse the response using the Messenger.Get method in Lextm.SharpSnmpLib.
4.Observe that the parsing fails with an error (such as "unexpected end marker").
5.Compare the same response being parsed by Dart.SNMP, which works without issues

@lextm lextm added up for grabs area:faulty-device Device/agent not compliant to the standards. more info needed and removed up for grabs labels Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:faulty-device Device/agent not compliant to the standards. more info needed
Projects
None yet
Development

No branches or pull requests

2 participants