RE: [taste-users] Generation of the Dataview to source code

[ Thread Index | Date Index | More lists.tuxfamily.org/taste-users Archives ]


Dear Francisco,

It was a bug in our ASN.1 compiler. An updated version that fixes this issue can be downloaded from here

http://www.semantix.gr/asn1scc/asn1Comp.tar.gz


Kind regards,
George Mamais

-------- Original Message --------
Subject: [taste-users] Generation of the Dataview to source code
Date: Sat, 10 Mar 2012 13:34:49 +0100
From: Francisco Ferrero Mateos <fferrero@xxxxxxx>
Reply-To: taste-users@xxxxxxxxxxxxxxxxxxx
To: taste-users@xxxxxxxxxxxxxxxxxxx <taste-users@xxxxxxxxxxxxxxxxxxx>
CC: Elena Alaña Salazar <ealana@xxxxxxx>

Dear all,

We are experiencing some problems with the generation and compilation of the data model in ASN.1 when we initialize an OCTECT STRING using the reserved word DEFAULT in ASN.1.

You can find the part of our ASN1 that is causing problems bellow in this mail. Attached you can find a compilation screenshot (Compilation.txt), the C file that produces the error (dataview-uniq.c) and error messages during the compilation (ShowNativeBuffers.stats.err).

ASN.1

Byte1-T ::= OCTET STRING (SIZE(1))

DH-T ::= SEQUENCE
{
   serviceType Byte1-T DEFAULT ‘00000011’B
   serviceSubType Byte1-T
}

Source code in Ada (it seems ok)
TYPE asn1SccDFH_T IS RECORD
serviceType: asn1SccByte1_T :=(Data=>(16#03#));
serviceSubTYpe: asn1SccByte1_T;
Exist: asn1SccDFH_T_EXIST;
END RECORD;

Are we initializing the OCTECT stream correctly? I hope you can help us.

Kind regards,

________________________________

Francisco Ferrero Mateos
Jefe de proyecto /
Project Manager

GMV
Isaac Newton, 11
P.T.M. Tres Cantos
E-28760 Madrid
Tel. +34 91 807 21 00
Fax +34 91 807 21 99
www.gmv.com






______________________
This message including any attachments may contain confidential information, according to our Information Security Management System,
  and intended solely for a specific individual to whom they are addressed.
  Any unauthorised copy, disclosure or distribution of this message
  is strictly forbidden. If you have received this transmission in error,
  please notify the sender immediately and delete it.

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
  puede contener informacion clasificada por su emisor como confidencial
  en el marco de su Sistema de Gestion de Seguridad de la Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
  erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.

______________________






Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/