1
0
Fork 0

rsl: Implement parsing/generating the Error Indication message

This commit is contained in:
Holger Hans Peter Freyther 2014-04-19 14:11:14 +02:00
parent f680c11b5d
commit 3003e7ad8a
2 changed files with 20 additions and 0 deletions

View File

@ -1141,6 +1141,18 @@ RSLRadioLinkManagement subclass: RSLEstablishIndication [
]
]
RSLRadioLinkManagement subclass: RSLErrorIndication [
| rlm_cause |
<category: 'BTS-RSL'>
<comment: 'I represent a GSM 08.58 GSM 8.3.3 Establish Indication'>
<rslMessageType: #messageRadioLinkErrorIndication>
<rslMessageDefinition: #errorIndicationMessage>
RSLErrorIndication class >> isTransparent [
^1
]
]
RSLRadioLinkManagement subclass: RSLEstablishRequest [
<category: 'BTS-RSL'>
<comment: 'I represent a GSM 08.58 GSM 8.3.4 Establish Request'>

View File

@ -468,6 +468,10 @@ RoundTripTestCase subclass: RSLRoundTripTest [
16rB9 16rBB)
]
errorIndicationData [
^#(16r03 16r03 16r01 16r49 16r02 16r03 16r16 16r01 16r01)
]
establishRequestData [
^#(2 4 1 32 2 3)
]
@ -577,6 +581,10 @@ RoundTripTestCase subclass: RSLRoundTripTest [
self roundtripTestFor: #establishIndicationData class: RSLEstablishIndication.
]
testErrorIndication [
self roundtripTestFor: #errorIndicationData class: RSLErrorIndication.
]
testEstablishRequest [
self roundtripTestFor: #establishRequestData class: RSLEstablishRequest.
]