1
0
Fork 0

oml: Respond to the IPA RSL Connect message after the TRX is started

This commit is contained in:
Holger Hans Peter Freyther 2012-08-11 14:49:01 +02:00
parent 3308910701
commit 7c80821387
1 changed files with 14 additions and 1 deletions

View File

@ -191,6 +191,11 @@ Object subclass: OMLBTSInit [
^self error: 'Failed to get a (IPA) Formatted O&M message'
]
startRSL: aRsl [
Transcript nextPutAll: 'ABC'; nl.
^ true
]
smInit [
| smQueue btsProc init |
@ -231,7 +236,7 @@ Object subclass: OMLBTSInit [
]
trxInit [
| trxQueue trx init |
| trxQueue trx init msg res ack |
trxQueue := SharedQueue new.
trx := sm bts basebandTransceiver.
queues at: trx fomKey put: trxQueue.
@ -243,6 +248,14 @@ Object subclass: OMLBTSInit [
"Get the SM into the enabled state"
init start: [
].
"Wait for the RSL Connect"
msg := trxQueue next.
msg omDataField class = IPAOMLRSLConnect
ifFalse: [self error: 'Failed to get the RSL Connect'].
res := self startRSL: msg omDataField.
ack := msg createResponse: res.
self forwardOML: ack toMessage.
]
rcInit [