gsm: Add a way to parse the GSM48MIdentity from RSL code
In the RSL code we will have MIdentity without the length
This commit is contained in:
parent
3b4d0bda27
commit
2cad3db5c8
7
GSM48.st
7
GSM48.st
|
@ -543,9 +543,12 @@ GSM48VariableSizedIE subclass: GSM48MIdentity [
|
|||
]
|
||||
|
||||
GSM48MIdentity class >> parseFrom: aStream [
|
||||
| len head type id |
|
||||
^ self parseFrom: aStream length: aStream next
|
||||
]
|
||||
|
||||
GSM48MIdentity class >> parseFrom: aStream length: len [
|
||||
| head type id |
|
||||
|
||||
len := aStream next.
|
||||
head := aStream next.
|
||||
type := head bitAnd: 16r7.
|
||||
|
||||
|
|
Reference in New Issue