jhthorsen / docsis-configfile

Perl module that decodes and encodes DOCSIS config-files
https://metacpan.org/release/DOCSIS-ConfigFile
11 stars 3 forks source link

Unknown SNMP type: HEXSTR #18

Closed vega480 closed 1 year ago

vega480 commented 3 years ago

When trying to download a binary config I am getting an error through the online docsisious. Cannot encode config file: Unknown SNMP type: HexString These are valid config files in use. When I decode one that has has a HexString value in them it seems to change it to a String. In the parameters list it does show a few using hexstr. I have tried changing the type to HexStr and still errors. In the code it seems to support it, but not showing in the our %SNMP_TYPE, if I am reading it right it should be in there.

What I am entering in the textarea:

---
SnmpMibObject:
- HexString: 0x80
  oid: 1.3.6.1.4.1.4413.2.2.2.1.2.2.1.1.5.10
jhthorsen commented 1 year ago

Sorry for the very late reply. I think the problem is that you need "HEXSTRING" and not "HexString".