You can specify your data at the abstract value in ASN.1, and then use
ECN to specify that the length field covers the whole record (T -
presumably fixed size?, plus L - presumably fixed size?, plus V -
variable size).

And tools that support ASN.1 with ECN are now becoming available.

John L


"Igor Bjelik (ETK)" wrote:
> 
> Regards,
> We have problem with File formating from some external to ASN.1 internal format.
> File is hexadecimal, and we think it is some kind of BER encoded because length is 
>on second place
> 
> BER format looks like  :   [ T ][ L ][ V ]
> Where   T = Tag
>         L = Length
>         V = Value
> and   L is the length of Value,
> 
> and for example if T =84, and L=01 and V = 05 ,
> and in  file (in hexa.format) that record is like  84 01 05
> 
> and description of format is:
> 
> Problem is that in our file format  L is not the length of Value .In our case L is 
>the length of all record.
> And in file it looks like 84 03 05
> There are records of fixed and variable length.
> We use DSET compiler.We need information  how to define external file format in this 
>case.
> I'm sending the typical file.
> Best Regards
> Igor Bjelik
> 
>  <<strange.iac>>
> 
>   ------------------------------------------------------------------------
>                   Name: strange.iac
>    strange.iac    Type: unspecified type (application/octet-stream)
>               Encoding: base64

-- 
   Prof John Larmouth
   Larmouth T&PDS Ltd
   (Training and Protocol Development Services)
   1 Blueberry Road                     
   Bowdon                               [EMAIL PROTECTED]
   Cheshire WA14 3LS                    Tel: +44 161 928 1605
   England                              Fax: +44 161 928 8069

Reply via email to