1
0
Fork 0

fakebts: Add a selector to request a traffic channel

This code is not complete. It should check the NECI of the SIs and
then pick another mask. This is working for OpenBSC right now.
This commit is contained in:
Holger Hans Peter Freyther 2012-12-23 15:38:40 +01:00
parent 1ebfec2bbc
commit 99e04a9e56
1 changed files with 7 additions and 0 deletions

View File

@ -171,6 +171,13 @@ Object subclass: OpenBSCTest [
^ self requireChannel: 2r10100000 random: 2r11111
]
requireTrafficChannel [
<category: 'bts'>
"Originating speech call from dual-rate mobile station when TCH/H
is sufficient and supported by the MS for speech calls and the network"
^ self requireChannel: 2r01000000 random: 2r1111.
]
assert: aBoolean message: aMessage [
<category: 'verifying'>
aBoolean ifTrue: [^self].