Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Titan » Using ASN Style Assignment in TTCN
Using ASN Style Assignment in TTCN [message #1735328] Fri, 17 June 2016 11:57 Go to next message
murli sharma is currently offline murli sharmaFriend
Messages: 85
Registered: November 2015
Member
Hi!

Is it possible to use ASN style assignment in TTCN to create TTCN object?
Following is an example of ASN style assignment:
rec1value DL-DCCH-Message ::= {
  integrityCheckInfo {
    messageAuthenticationCode '10100001011010010011111000011111'B,
    rrc-MessageSequenceNumber 4
  },
  message radioBearerSetup : later-than-r3 : {
    rrc-TransactionIdentifier 0,
    criticalExtensions criticalExtensions : criticalExtensions : criticalExtensions : criticalExtensions : criticalExtensions : criticalExtensions : criticalExtensions : r11 : {
      radioBearerSetup-r11 {
        activationTime 64,
        rrc-StateIndicator cell-DCH,
        rab-InformationSetupList {
          {
            rab-Info {
              rab-Identity gsm-MAP-RAB-Identity : '00000001'B,
              cn-DomainIdentity cs-domain,
              re-EstablishmentTimer useT314
            },
            rb-InformationSetupList {
              {
                rb-Identity 5,
                rlc-InfoChoice rlc-Info : {
                  ul-RLC-Mode ul-TM-RLC-Mode : {
                    segmentationIndication FALSE
                  },
                  dl-RLC-Mode dl-TM-RLC-Mode : {
                    segmentationIndication FALSE
                  },
                  rlc-OneSidedReEst FALSE
                },
                rb-MappingInfo {
                  {
                    ul-LogicalChannelMappings oneLogicalChannel : {
                      ul-TrCH-Type dch-rach-usch : {
                        ul-TransportChannelType dch : 1,
                        rlc-SizeList configured : NULL
                      },
                      mac-LogicalChannelPriority 2
                    },
                    dl-LogicalChannelMappingList {
                      {
                        dl-TransportChannelType dch : 1
                      }
                    }
                  }
                }
              },
...
...


Thanks
Re: Using ASN Style Assignment in TTCN [message #1735336 is a reply to message #1735328] Fri, 17 June 2016 12:33 Go to previous message
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 807
Registered: January 2015
Senior Member
Hi Murli,


no, this syntax is not accepted by TTCN-3;

if you have such declarations (e.g. coming from TTCN-2), than you can create an ASN.1 file with these, and import the values in TTCN-3;

rec1value will be seen as a constant , but its' value can be transferred to a template , variable etc.

Otherwise a simple text conversion will convert this into a TTCN-3 syntax.

Best regards

Elemer



Previous Topic:Eclipse Titan statement of compliance
Next Topic:Ignore any unsolicited message
Goto Forum:
  


Current Time: Sun Sep 23 02:31:47 GMT 2018

Powered by FUDForum. Page generated in 0.02293 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top