Vadim Yanitskiy
16e2991bf1
TTCN-3 offers a very convinient way of matching an octetstring against a record template (decoding target) on the fly, so that there is no need to attempt decoding it manually beforehand. This can be done by using the 'decmatch' keyword (see B.1.2.9). Unfortunately, decmatch fails if an octetstring is longer than the encoded variant of the decoding target (e.g. has padding). Let's work this around by adding a 'padding' field, so during decoding all remaining octets will be stored in it. Change-Id: I0151adf7790127617f7cb57c9a9ec6c28721e95a Related: SYS#5838 |
||
---|---|---|
.. | ||
BTS_Tests.cfg | ||
BTS_Tests.default | ||
BTS_Tests.ttcn | ||
BTS_Tests_LAPDm.ttcn | ||
BTS_Tests_OML.ttcn | ||
BTS_Tests_SMSCB.ttcn | ||
BTS_Tests_VAMOS.ttcn | ||
BTS_Tests_perf.ttcn | ||
README.md | ||
expected-results.xml | ||
gen_links.sh | ||
osmo-bsc.cfg | ||
osmo-bts.cfg | ||
regen_makefile.sh |
README.md
BTS_Tests.ttcn
- external interfaces
- A-bis side: RSL (emulates BSC-side server)
- Um side: L1CTL to control MS
- PCU side: pcu_socket
- VTY
- CTRL
{% dot bts_tests.svg digraph G { rankdir=LR; { rank=same; BTS, BSC}; BTS [label="IUT\nosmo-bts-trx",shape="box"]; ATS [label="ATS\nBTS_Tests.ttcn"]; BSC [label="osmo-bsc\nOML only"]; BTS -> fake_trx [label="bursts"]; fake_trx -> trxcon [label="bursts"]; trxcon -> ATS [label="GSM MAC blocks"];
BTS -> BSC [label="A-bis OML"]; BTS -> ATS [label="A-bis RSL"];
ATS -> BTS [label="pcu_sock"]; ATS -> BSC [label="VTY"]; ATS -> BTS [label="CTRL"]; } %}