Using ASN Style Assignment in TTCN [message #1735328] |
Fri, 17 June 2016 11:57 |
murli sharma 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 |
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03334 seconds