BSSMAP_Emulation: use BSSAP_CodecPort
So far, BSSMAP_Emulation used the SCCPasp_SP_PORT directly, explicitly
calling BSSAP encode/decode functions while processing the primitives.
Let's clean this up and use the BSSAP_CodecPort which has meanwhile
been developed as a dual-faced port that can be stacked between SCCPasp
and the user to avoid any manual encode/decode function calls.
Change-Id: Icded789d18f3469f74e16f552df2c7ac44ac4294
diff --git a/bsc-nat/BSC_MS_Simulation.ttcn b/bsc-nat/BSC_MS_Simulation.ttcn
index eab7fe9..b9414a3 100644
--- a/bsc-nat/BSC_MS_Simulation.ttcn
+++ b/bsc-nat/BSC_MS_Simulation.ttcn
@@ -8,6 +8,7 @@
import from SCCPasp_Types all;
import from SCCP_Emulation all;
+import from BSSAP_CodecPort all;
import from BSSMAP_Emulation all;
import from BSC_MS_ConnectionHandler all;
@@ -53,7 +54,7 @@
connect(vc_IPA:MTP3_SP_PORT, vc_SCCP:MTP3_SCCP_PORT);
/* connect BSSMAP dispatcher to upper side of SCCP */
- connect(vc_BSSMAP:SCCP, vc_SCCP:SCCP_SP_PORT);
+ connect(vc_BSSMAP:BSSAP, vc_SCCP:SCCP_SP_PORT);
/* connect BSSMAP dispatcher to IPA_Emulation MGCP */
connect(vc_BSSMAP:MGCP, vc_IPA:IPA_MGCP_PORT);