Review at

BSSMAP_Emulation: Sleep 1s to wait for M3UA/AS/ASP to come active

We don't have a good way to make the BSSMAP code wait for the lower
SIGTRAN layers to be up and running.  To avoid the RESET being
sent before the lower layers are up, introduce a sleep of 1s.

This is ugly, but appears to work for now.  A more proper solution
is more than welcome.

Change-Id: I7a43b3e381405f3af30b3ffe04bc50e64ec66f57
M library/BSSMAP_Emulation.ttcn
1 file changed, 1 insertion(+), 0 deletions(-)

  git pull ssh:// 

diff --git a/library/BSSMAP_Emulation.ttcn b/library/BSSMAP_Emulation.ttcn
index b1c6b81..67d9e98 100644
--- a/library/BSSMAP_Emulation.ttcn
+++ b/library/BSSMAP_Emulation.ttcn
@@ -523,6 +523,7 @@
        if (isvalue(ops.sccp_addr_peer) and isvalue(ops.sccp_addr_local)) {
+               f_sleep(1.0);   /* HACK to wait for M3UA/ASP to be ACTIVE */
                f_bssap_reset(ops.sccp_addr_peer, ops.sccp_addr_local);

To view, visit
To unsubscribe, visit

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7a43b3e381405f3af30b3ffe04bc50e64ec66f57
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <>

Reply via email to