Comments (5)
I don’t really know much about this application. I just took it over to merge some patches.
from docsis.
Did you some advice where I can ask about that ?
Thanks.
from docsis.
So I'm not sure I followed but your other TLV tool did something weird or your mib for the excentis signaling stuff is broken.
Your config file as written encodes and comes out correctly.
after encoding it...
and then just dumping the stuff.
OPT(11) LEN (22) 4820615436141186821133182121156
UNPARSED: :0b:16:30:14:06:0f:2b:06:01:04:01:ba:08:02:01:01:21:01:08:02:01:02:01:9c
which is decimal 156 in 2's puts it at your -100 value which is -10.0 since it's a 10thdb mib.
OPT(11) LEN (23) 4821615436141186821133188122255126
UNPARSED: :0b:17:30:15:06:0f:2b:06:01:04:01:ba:08:02:01:01:21:01:08:08:01:02:02:ff:7e
gives you 126 2's of -130 or -13.0
OPT(11) LEN (22) 4820615436141186821133189221226
UNPARSED: :0b:16:30:14:06:0f:2b:06:01:04:01:ba:08:02:01:01:21:01:08:09:02:02:01:e2
226 2's of -30
OPT(11) LEN (22) 4820615436141186821133199166150
UNPARSED: :0b:16:30:14:06:0f:2b:06:01:04:01:ba:08:02:01:01:21:01:09:09:01:42:01:32
which is your 50 value.
I may very well be miss understanding what your saying is broken. Just trying to help
Did you some advice where I can ask about that ?
Thanks.
from docsis.
negativeduck, Thanks for your help.
I just want to know how to change "Type" from "integer" to "integer32" for Docsis tool.
Due to I saw the value if it's negative, after encode, it will be "2's complement".
Now, I make another encode and decode to do that.
from docsis.
So that's the thing... your encoding an SnmpObject a numerical value which integer and integer32 are the same thing in that context. That's where there is no Integer32 distinction.
But with ToneDbLevel your valid values are -250 .. -30
if you are trying to make it store the value as a 32 bit number IE 4294967196
Then if you list it as -100 and guage32 or something but he encode will likely yell at you. And I would say there is a strong chance the emta would barf on it.
What value are expecting to see in your other TLV reader when you view it? since you are trying to store a negative value.
from docsis.
Related Issues (20)
- TLV81 encoding issue. DOCSIS 3.1 SSD HOT 3
- Arris MTA configfile error HOT 7
- Backslash issue HOT 3
- Fail to encode IPv6 address HOT 1
- comment-in-comment not supportedFirst TLV is MtaConfigDelimiter, forcing PacketCable MTA file
- Add certificate chain file import to TLV 81 and 82 in bootfile encoding
- PacketCable 2.0 dialplan OID (CL-PKTC-EUE-RST-MIB::pktcEUERSTDMValue) HOT 8
- BitString can be decoded but not encoded HOT 4
- Cannot run tests from clean clone HOT 3
- FrameLossMeasurementTransmissionPeriodicity incorrect data type HOT 1
- PKTC Config Hash HOT 24
- ip address length mismatch when decoding GenericTLV
- New TLV: 84 Diplexer Band Edge HOT 6
- Segfault when input is incorrect
- When encoding with empty MIC Key, PacketACE Refuses the file. HOT 4
- Issue in decoding configuration file
- clang: error: unknown argument HOT 7
- Installation to debian_10 HOT 2
- MIBs dynamically read or static? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docsis.