aboutsummaryrefslogtreecommitdiffstats
path: root/SCCPHandler.st
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-11-24 00:41:38 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-11-24 00:41:38 +0100
commitac111ccd5386535b11881ac4679731d86162d1a2 (patch)
treea3599bf31b14618368d7200c7d7b4cefa00f95cd /SCCPHandler.st
parent229c887058b65a64f72598fd1ac5fcb54123ae94 (diff)
GSM48: Parse the mandantory parts of a message
This is finishing up the test to recursively parse a SCCP message into each section. The mandantory table should now holds the association so we can deal with the instance variables.
Diffstat (limited to 'SCCPHandler.st')
-rw-r--r--SCCPHandler.st3
1 files changed, 3 insertions, 0 deletions
diff --git a/SCCPHandler.st b/SCCPHandler.st
index 3296cd3..4e0e905 100644
--- a/SCCPHandler.st
+++ b/SCCPHandler.st
@@ -54,6 +54,9 @@ Object subclass: MSGParser [
MSGParser class >> decodeBSSMAP: aData [
| bssmap |
bssmap := IEMessage decode: aData with: GSM0808IE.
+ bssmap findIE: (GSMLayer3Info elementId) ifPresent: [:each |
+ each data: (GSM48MSG decode: each data).
+ ].
^ bssmap
]