[AGENT++] the BITS construct

Pedro Salgado psalgado at fibernet.es
Thu Nov 16 16:40:51 CET 2017


Hello everybody, 

Does anybody know how to manage Agen++/Agenpro "the BITS construct" ? 
Are there any trouble for that ? 

When I'm generating the code from Agenpro for 

mlBitRates OBJECT-TYPE 
SYNTAX BITS { bitCero(0), bitUno(1), bitDos(2), bitTres(3), bitCuatro(4), bitCinco(5), bitSeis(6), bitSiete(7) , bitOcho(8) , bitNueve(9), bitDiez(10) } 
MAX-ACCESS read-only 
STATUS current 
DESCRIPTION "Test type BITS" 
::= { muxlesEntry 48 } 

in the constructor function appears as 
......... 
add_col(new MibLeaf(col_FBN_MUXLE_TW_MlBitRates, READONLY, new NS_SNMP OctetStr())); 

"the BITS construct" is converted in "OctetStr " , Is this like that ? 
How do I have to fill this values ? 

Thanks for your help. 
Best regards. 



More information about the AGENTPP mailing list