Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/**
* @author ETSI / STF421
* @version $URL:$
* $Id:$
* @desc DCC (TS 102 724) Templates
* @see ETSI TS 102 917-3
*/
module LibItsDcc_Templates {
// LibCommon
// LibIts
import from LibItsDcc_TypesAndValues all;
import from LibItsDcc_TestSystem all;
/**
* @desc Templates used to trigger actions at the Upper Tester
* and to capture indication message sent by the IUT on the radio interface
*/
group utPrimitives {
/**
* @desc Ut Initialize Primitive template
*/
template UtInitialize m_utInitialize(template UtRadioInitialize p_utRadioInitialize) :=
{
utRadioInitialize := p_utRadioInitialize
}// End m_utRadioInitialize
/**
* @desc UtRadioInitialize Primitive template
*/
template UtRadioInitialize m_utRadioInitialize :=
{
}// End m_utRadioInitialize
/**
* @desc UtRadioEvent Primitive template
*/
template (value) UtTrigger m_utRadioEvent(template (omit) ChannelState p_cch,
template (omit) ChannelState p_sch1 := omit,
template (omit) ChannelState p_sch2 := omit,
template (omit) ChannelState p_sch3 := omit,
template (omit) ChannelState p_sch4 := omit) :=
{utRadioEvent:= {cchChannelState := p_cch,
sch1ChannelState := p_sch1,
sch2ChannelState := p_sch2,
sch3ChannelState := p_sch3,
sch4ChannelState := p_sch4
}}// End m_utRadioEvent
} // End of group utPrimitives
group rrxPrimitives {
template RrxInd m_rrxInd(template Channel p_channel,
template integer p_measuredPower) :=
/**
* @desc Primitive on IN-SAP interface
*/
group inSapPrimitives {
/**
* @desc IN Request Primitive template
*/
template InReq m_In_Request(integer p_commandReference,
octetstring p_referenceBurst,
integer p_requestedTxPower,
integer p_dCCProfileIdentifier) :=
{commandReference := p_commandReference,
referenceBurst := p_referenceBurst,
requestedSendPower := p_requestedTxPower,
dCCProfileIdentifier := p_dCCProfileIdentifier
} // End m_In_Request
/**
* @desc IN Status Primitive template
*/
template InSta mw_In_Status(template integer p_commandReference,
template Channel p_channel,
template boolean p_transmissionSuccessStatus) :=
{commandReference := p_commandReference,
channel := p_channel,
transmissionSuccessStatus := p_transmissionSuccessStatus,
achievedSendPower := ?
} // End mw_In_Status
} // End of group inSapPrimitives
} // End of module LibItsDcc_Templates