Hello Vijay!

You cannot generate MIB files by using the ASN.1 compiler in Erlang OTP.
I think MIB files (if you are talking about SNMP) are files you write by
hand to specify your SNMP agent. Since you are using Erlang OTP you
should put your tool specific questions in the erlang-questions mailing
list. For subscription to that list see http://www.erlang.org/faq.html.
There is also a SNMP application in Erlang OTP which maybe will be of
interest to you.

Best regards

Bertil Karlsson

> DUBUISSON Olivier wrote:
> 
> Hi,
> 
> can someone answer to the following? (Sorry, I'm involved in too
> many thread these days.)
> 
> -------- Original Message --------
> Subject: Regarding conversion of a particular ASN1 file into  a MIB.
> Date: Mon, 27 May 2002 09:06:59 +0200
> From: "Vijay Sarathy Upparapalli" <[EMAIL PROTECTED]>
> To: "DUBUISSON Olivier FTRD/DTL" <[EMAIL PROTECTED]>
> 
> Dear Mr. Dubuisson,
> This mail is regarding a small confusion I am caught up with.
> 
> Scenario:-
> I want to know if I can generate a MIB file(*.mib) and the
> corresponding
> (*.bin or any other storage format) file for a particular ASN1 file.
> 
> For instance I have a ASN1 file compiled by ASN1 compiler,for some
> general data format (a typical database format for storing and
> retreiving data thru. a MIB),
> can I give(generate) a look of a MIB to this.
> 
> Attachments for reference:-
> Tool.asn (A simple ASN1 compliant file which gives definitions of the
> tables).
> Tool.erl (Erlang code file generated as a result of compiling the asn
> file using asn1ct,a asn1 module supported by erlang platform).
> Tool.hrl (Header file generated as a result of compiling the asn file
> using asn1ct).
> Tool.asn1db (Database file generated as a result of compiling the asn
> file using asn1ct).
> Tool.beam (Beam file generated as a result of compiling the asn file
> using asn1ct).
> 
> Your help would be of great assistance.
> Thanking you in advance.
> With Warm Regards,
> Vijay.
> 
>                   Name: Tool.hrl
>    Tool.hrl       Type: unspecified type (application/octet-stream)
>               Encoding: base64
>            Description: Tool.hrl
> 
>                      Name: Tool.asn1db
>                      Type: unspecified type
>    Tool.asn1db             (application/octet-stream)
>                  Encoding: base64
>               Description: Tool.asn1db
> 
>                    Name: Tool.beam
>    Tool.beam       Type: unspecified type (application/octet-stream)
>                Encoding: base64
>             Description: Tool.beam
> 
>                   Name: Tool.erl
>    Tool.erl       Type: unspecified type (application/octet-stream)
>               Encoding: base64
>            Description: Tool.erl
> 
>                   Name: Tool.asn
>    Tool.asn       Type: unspecified type (application/octet-stream)
>               Encoding: base64
>            Description: Tool.asn
> 
>                               Name: Wipro_Disclaimer.txt
>    Wipro_Disclaimer.txt       Type: Plain Text (text/plain)
>                           Encoding: base64
>                        Description: Wipro_Disclaimer.txt

-- 
  ------------------------
  Bertil Karlsson

  Ericsson Utvecklings AB
  Box 1505
  SE-125 25 �lvsj�
  SWEDEN

  Phone: +46 8 727 3927
  ------------------------

Reply via email to