library/TRXC_Types.ttcn: add FAKE_CI command for C/I simulation
Change-Id: Ibbab8df117a97a3dce160c67d1adbc67c31637e2 Depends: (OsmocomBB) I7080effbbc1022d1884c6d6f0cb580eba8e514ff Related: OS#4006
This commit is contained in:
parent
f82985484b
commit
71136df433
|
@ -19,9 +19,9 @@ type charstring TrxcType ("CMD", "RSP", "IND") with {
|
|||
type charstring TrxcVerb ("POWERON", "POWEROFF", "CLOCK",
|
||||
"RXTUNE", "TXTUNE", "SETSLOT", "SETTSC", "SETBSIC", "SETPOWER",
|
||||
"SETMAXDLY", "SETMAXDLYNB", "SETSLOT", "HANDOVER", "NOHANDOVER",
|
||||
"MEASURE", "FAKE_RSSI", "FAKE_TOA" ) with {
|
||||
"MEASURE", "FAKE_RSSI", "FAKE_TOA", "FAKE_CI" ) with {
|
||||
variant "TEXT_CODING(,convert=upper_case,
|
||||
'((POWERON)|(POWEROFF)|(CLOCK)|(RXTUNE)|(TXTUNE)|(SETSLOT)|(SETTSC)|(SETBSIC)|(SETPOWER)|(SETMAXDLY)|(SETMAXDLYNB)|(HANDOVER)|(NOHANDOVER)|(MEASURE)|(FAKE_RSSI)|(FAKE_TOA))'
|
||||
'((POWERON)|(POWEROFF)|(CLOCK)|(RXTUNE)|(TXTUNE)|(SETSLOT)|(SETTSC)|(SETBSIC)|(SETPOWER)|(SETMAXDLY)|(SETMAXDLYNB)|(HANDOVER)|(NOHANDOVER)|(MEASURE)|(FAKE_RSSI)|(FAKE_TOA)|(FAKE_CI))'
|
||||
,case_insensitive)"
|
||||
}
|
||||
|
||||
|
@ -86,5 +86,12 @@ template (value) TrxcMessage ts_TRXC_FAKE_TIMING(int16_t timing, int16_t thresh
|
|||
}
|
||||
}
|
||||
|
||||
template (value) TrxcMessage ts_TRXC_FAKE_CI(int16_t ci, int16_t thresh := 0) := {
|
||||
cmd := {
|
||||
verb := "FAKE_CI",
|
||||
params := { int2str(ci), int2str(thresh) }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
} with { encode "TEXT" }
|
||||
|
|
Loading…
Reference in New Issue