oml: Respond to the IPA RSL Connect message after the TRX is started
This commit is contained in:
parent
3308910701
commit
7c80821387
|
@ -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 [
|
||||
|
|
Reference in New Issue