gsm: Write out conditionals if they are set. This is still incomplete
Conditionals are still not very well defined but if they are available we will use them. This will make the cm3 be written out if it is set.
This commit is contained in:
parent
ef362d2b23
commit
e86cfabb08
9
GSM48.st
9
GSM48.st
|
@ -2100,7 +2100,14 @@ Osmo.TLVParserBase subclass: GSM48MSG [
|
|||
].
|
||||
].
|
||||
|
||||
"TODO: Handle the Conditionals too"
|
||||
"TODO: Handle the Conditionals better here.."
|
||||
each isConditional ifTrue: [ | tmp |
|
||||
"Only write if it is already present"
|
||||
tmp := self instVarNamed: each instVarName.
|
||||
tmp ifNotNil: [
|
||||
tmp writeOn: aMsg.
|
||||
].
|
||||
].
|
||||
]
|
||||
]
|
||||
|
||||
|
|
Reference in New Issue