GSMDriver: Reply with an Assignment Complete message...
This commit is contained in:
parent
33ca33843e
commit
50b9f6013a
|
@ -15,6 +15,8 @@ Object subclass: GSM0808Helper [
|
|||
GSM0808Helper class >> msgClearComp [ <category: 'spec'> ^ 16r21 ]
|
||||
GSM0808Helper class >> msgCipherModeCmd [ <category: 'spec'> ^ 16r53 ]
|
||||
GSM0808Helper class >> msgCipherModeCmpl [ <category: 'spec'> ^ 16r55 ]
|
||||
GSM0808Helper class >> msgAssRequest [ <category: 'spec'> ^ 16r1 ]
|
||||
GSM0808Helper class >> msgAssComplete [ <category: 'spec'> ^ 16r2 ]
|
||||
]
|
||||
|
||||
Object subclass: LAI [
|
||||
|
|
12
GSMDriver.st
12
GSMDriver.st
|
@ -85,6 +85,18 @@ classes.'>
|
|||
^ true
|
||||
].
|
||||
|
||||
aMsg type = GSM0808Helper msgAssRequest ifTrue: [
|
||||
| resp |
|
||||
"Reply with a AMR halfrate statement"
|
||||
resp := IEMessage initWith: GSM0808Helper msgAssComplete.
|
||||
resp addIe: (GSM0808CauseIE initWith: 0).
|
||||
resp addIe: (GSM0808ChosenChannel initWith: 16r98).
|
||||
resp addIe: (GSM0808ChosenEncrIE initWith: 1).
|
||||
resp addIe: (GSM0808SpeechVerIE initWith: 16r25).
|
||||
sccp nextPutData: (BSSAPManagement initWith: resp).
|
||||
^ true
|
||||
].
|
||||
|
||||
'Unhandled message' printNl.
|
||||
aMsg inspect.
|
||||
]
|
||||
|
|
Reference in New Issue