aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ussd/ussd_test.ok
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-06-11 03:51:11 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2018-06-11 23:45:48 +0700
commit52e44121dbb6ba278b0fc44a05dc23330457b08e (patch)
tree8c4eef51c1af5b0f4bf233643d73a3a107c16f54 /tests/ussd/ussd_test.ok
parent11eb4b5add41ec6722fdba2f2023e87543e0507b (diff)
gsm/gsm0480.c: introduce gsm0480_extract_ie_by_tag()
In some cases, there is no need to parse the whole message, e.g. during the conversion from DTAP to GSUP/MAP. This function can be used to extract given IE from a message. Change-Id: I3989d061903352473305f80712f1a1560d05df3d
Diffstat (limited to 'tests/ussd/ussd_test.ok')
-rw-r--r--tests/ussd/ussd_test.ok6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ussd/ussd_test.ok b/tests/ussd/ussd_test.ok
index aff383eb..8fa4348f 100644
--- a/tests/ussd/ussd_test.ok
+++ b/tests/ussd/ussd_test.ok
@@ -1,3 +1,9 @@
+[i] Testing gsm0480_extract_ie_by_tag()
+[?] REGISTER message with Facility IE (len=21): a1 13 02 01 03 02 01 3b 30 0b 04 01 0f 04 06 2a d5 4c 16 1b 01
+[?] REGISTER message with SS version IE (len=1): 00
+[?] FACILITY message with Facility IE (len=18): a2 10 02 01 01 30 0b 02 01 3c 30 06 04 01 0f 04 01 32
+[?] RELEASE COMPLETE message with Facility IE (len=8): a3 06 02 01 05 02 01 24
+
Tested if it still works. Text was: **321#
interrogateSS CFU text..'' code 33
Testing parsing a USSD request and truncated versions