aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gb/gprs_ns_test.ok
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gb/gprs_ns_test.ok')
-rw-r--r--tests/gb/gprs_ns_test.ok124
1 files changed, 124 insertions, 0 deletions
diff --git a/tests/gb/gprs_ns_test.ok b/tests/gb/gprs_ns_test.ok
new file mode 100644
index 0000000..4a44907
--- /dev/null
+++ b/tests/gb/gprs_ns_test.ok
@@ -0,0 +1,124 @@
+===== NS protocol test START
+PROCESSING RESET from 0x01020304:1111
+02 00 81 01 01 82 11 22 04 82 11 22
+
+RESPONSE, msg length 1
+0a
+
+RESPONSE, msg length 9
+03 01 82 11 22 04 82 11 22
+
+result (RESET) = 9
+
+Current NS-VCIs:
+ VCI 0x1122, NSEI 0x1122, peer 0x01020304:1111
+
+PROCESSING ALIVE from 0x01020304:1111
+0a
+
+RESPONSE, msg length 1
+0b
+
+result (ALIVE) = 1
+
+PROCESSING UNBLOCK from 0x01020304:1111
+06
+
+RESPONSE, msg length 1
+07
+
+result (UNBLOCK) = 1
+
+PROCESSING BSSGP RESET from 0x01020304:1111
+00 00 00 00 22 04 82 4a 2e 07 81 08 08 88 10 20 30 40 50 60 10 00
+
+CALLBACK, event 0, msg length 18, bvci 0x0000
+22 04 82 4a 2e 07 81 08 08 88 10 20 30 40 50 60 10 00
+
+result (BSSGP RESET) = 0
+
+--- Peer port changes, RESET, message remains unchanged ---
+
+PROCESSING RESET from 0x01020304:2222
+02 00 81 01 01 82 11 22 04 82 11 22
+
+RESPONSE, msg length 1
+0a
+
+RESPONSE, msg length 9
+03 01 82 11 22 04 82 11 22
+
+result (RESET) = 9
+
+Current NS-VCIs:
+ VCI 0x1122, NSEI 0x1122, peer 0x01020304:2222
+
+--- Peer port changes, RESET, VCI changes ---
+
+PROCESSING RESET from 0x01020304:3333
+02 00 81 01 01 82 33 44 04 82 11 22
+
+RESPONSE, msg length 1
+0a
+
+RESPONSE, msg length 9
+03 01 82 33 44 04 82 11 22
+
+result (RESET) = 9
+
+Current NS-VCIs:
+ VCI 0x3344, NSEI 0x1122, peer 0x01020304:3333
+
+--- Peer port changes, RESET, NSEI changes ---
+
+PROCESSING RESET from 0x01020304:4444
+02 00 81 01 01 82 11 22 04 82 33 44
+
+RESPONSE, msg length 1
+0a
+
+RESPONSE, msg length 9
+03 01 82 11 22 04 82 33 44
+
+result (RESET) = 9
+
+Current NS-VCIs:
+ VCI 0x1122, NSEI 0x3344, peer 0x01020304:4444
+ VCI 0x3344, NSEI 0x1122, peer 0x01020304:3333
+
+--- Peer port 3333, RESET, VCI is changed back ---
+
+PROCESSING RESET from 0x01020304:3333
+02 00 81 01 01 82 11 22 04 82 11 22
+
+RESPONSE, msg length 1
+0a
+
+RESPONSE, msg length 9
+03 01 82 11 22 04 82 11 22
+
+result (RESET) = 9
+
+Current NS-VCIs:
+ VCI 0x1122, NSEI 0x3344, peer 0x01020304:4444
+ VCI 0x1122, NSEI 0x1122, peer 0x01020304:3333
+
+--- Peer port 4444, RESET, NSEI is changed back ---
+
+PROCESSING RESET from 0x01020304:4444
+02 00 81 01 01 82 11 22 04 82 11 22
+
+RESPONSE, msg length 1
+0a
+
+RESPONSE, msg length 9
+03 01 82 11 22 04 82 11 22
+
+result (RESET) = 9
+
+Current NS-VCIs:
+ VCI 0x1122, NSEI 0x1122, peer 0x01020304:4444
+ VCI 0x1122, NSEI 0x1122, peer 0x01020304:3333
+
+===== NS protocol test END
+