fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36612?usp=email )


Change subject: bsc: make use of IpaUnitId codec
......................................................................

bsc: make use of IpaUnitId codec

Change-Id: Iaf38fdb0a1c3ada5af6f1a05c7a9008e4eae0727
---
M bsc/BSC_Tests.ttcn
1 file changed, 11 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks 
refs/changes/12/36612/1

diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 5e4ebbc..8dcff83 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -981,7 +981,7 @@
        clnt.vc_IPA := IPA_Emulation_CT.create(clnt.id & "-IPA") alive;
        clnt.ccm_pars := c_IPA_default_ccm_pars;
        clnt.ccm_pars.name := "Osmocom TTCN-3 BTS Simulator";
-       clnt.ccm_pars.unit_id := int2str(1234 + idx.bts) & "/0/" & 
int2str(idx.trx);
+       clnt.ccm_pars.unit_id := enc_IpaUnitId({1234 + idx.bts, 0, idx.trx});
        if (handler_mode) {
                clnt.vc_RSL := RSL_Emulation_CT.create(clnt.id & "-RSL") alive;
                connect(clnt.vc_RSL:CCHAN_PT, self:RSL_CCHAN[idx.bts]);
@@ -3946,7 +3946,7 @@
        client.vc_IPA := IPA_Emulation_CT.create(client.id & "-IPA") alive;
        client.ccm_pars := c_IPA_default_ccm_pars;
        client.ccm_pars.name := "Osmocom TTCN-3 BTS Simulator";
-       client.ccm_pars.unit_id := "99/0/0"; /* value which is unknown at BTS */
+       client.ccm_pars.unit_id := enc_IpaUnitId({99, 0, 0}); /* value which is 
unknown at BTS */

        f_ipa_ctrl_start_client(mp_bsc_ip, mp_bsc_ctrl_port);


--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36612?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Iaf38fdb0a1c3ada5af6f1a05c7a9008e4eae0727
Gerrit-Change-Number: 36612
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <[email protected]>
Gerrit-MessageType: newchange

Reply via email to