-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
Integer value parsed incorrectly in some cases #5
Comments
Hi Sergey, Sorry for the delay in my response. This would suggest an issue with the structure of the response packet. Are you able to send me a Wireshark capture which includes the SNMP response packet (or similar)? Thanks Steve |
Hi Stephen! |
That's ok, I understand. If there is an issue there I would like to address it for you. Thanks Steve |
If you would like to look into this further just reopen the issue and I will continue to investigate. Thanks Steve |
Hi! Thanks for an awesome module!
I have a problem with a rather exotic device trying to read a temperature sensor value.
The code is simple:
What I get is an
Integer too long (129)
error. I drilled it down to the source and it looks like at this point an extra byte with value 129 is getting in the way for some reason. If I discard it prior to processing (i.e., add anotherbuffer.readByte ();
after this line, the value is parsed correctly. But I guess that'a a pretty bad hack.I thought maybe the device is causing problems (I can read multiple other devices without issues), but both
snmpget
cli utility and theFree SNMP MIB Browser
of ManageEngine seem to handle this OID of my device without any issues.Maybe I will get down to the problem myself eventually, but some couple hours spent to this moment didn't bring me a solution.
The text was updated successfully, but these errors were encountered: