mibble-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Mibble-users] Need to extract value of Object-Type, syntax


From: Saiprasad G V \(sagv\)
Subject: RE: [Mibble-users] Need to extract value of Object-Type, syntax
Date: Tue, 11 Oct 2005 10:42:49 +0530

Hi,

We are unable to extract the enumerated names. In the Object definition
below the enumerated names b600,b1200..b38400 etc are not getting retrieved.
Even in the Mibble provided mib-browser we do not see the enumerated names. 

One more interesting thing that we have noticed is when we parse the whole
mib and do a getChildren we do not see any objects which are of type
'IntegerType' but there are lots of objects which are INTEGER enumeration.
So are we missing something?

Any help would be greatly appreciated.

Thanks in advance,
Sai

-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of Per
Cederberg
Sent: Monday, October 10, 2005 8:44 PM
To: Indrasish Ghosh; Announcements, support,and forum for Mibble users
Subject: Re: [Mibble-users] Need to extract value of Object-Type, syntax

Hi,

Have a look at the FAQ. I think Java API question 10 is about the very same
thing:

http://www.mibble.org/doc/faq/api/index.html#Q10

If you are using Mibble 2.6.alpha1 or later I think the enumeration symbols
are returned in order, so that might be interesting to check out too.
Anyway, Mibble 2.6 will be out any week now. Just doing the last
refinements...

Cheers,

/Per

On mon, 2005-10-10 at 04:32 -0700, Indrasish Ghosh wrote:
> Hi All,
> I want a help from you guys. I am trying to get the value of syntax 
> from a OBJECT-TYPE
>  
> For example:-
>  
> mahesh OBJECT-TYPE
> 
> SYNTAX INTEGER {
> 
> b600(600),
> 
> b1200(1200),
> 
> b2400(2400),
> 
> b4800(4800),
> 
> b9600(9600),
> 
> b19200(19200),
> 
> b38400(38400)
> 
> }
> 
> MAX-ACCESS not-accessible
> 
> STATUS current
> 
> DESCRIPTION "The baud rate in bits per second of the RS-232 port."
> 
> DEFVAL { b9600 }
> 
> ::= { Jai 10 }
> 
>  
> 
> I need "b600","b1200","b2400" etc from the syntax.
> 
>  
> 
> Need ASAP.
> 
> Thanks in Advance
> 
> 
> 
> ______________________________________________________________________
> Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
> _______________________________________________
> Mibble-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/mibble-users



_______________________________________________
Mibble-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/mibble-users




reply via email to

[Prev in Thread] Current Thread [Next in Thread]