1
0
Fork 0

oml: Handle another optional IPA extension to the message

This commit is contained in:
Holger Hans Peter Freyther 2013-12-10 15:06:00 +01:00
parent f070893f8a
commit 98966df6f3
2 changed files with 10 additions and 1 deletions

View File

@ -1240,7 +1240,7 @@ OMLOpstart subclass: OMLOpstartAck [
OMLDataField subclass: OMLSetBTSAttributes [
| inter_bounds intave con_fail t200 max_timing overload_period
ccch_threshold ccch_ind rach_busy rach_load bts_air ny1 bcch_arfcn
bsic time ipa_cgi |
bsic time ipa_cgi ipa_paging |
<category: 'BTS-OML'>
<comment: 'I construct a GSM 12.21 O&M Data field as of 8.6.1'>
@ -1332,6 +1332,9 @@ OMLDataField subclass: OMLSetBTSAttributes [
beOptional; beTV; valueSize: 2;
instVarName: #time; parseClass: OMLAttributeData;
yourself);
add: (Osmo.TLVDescription new
tag: 16r8F; beOptional; instVarName: #ipa_paging;
parseClass: OMLAttributeData; yourself);
add: (Osmo.TLVDescription new
tag: 16r99; beOptional; instVarName: #ipa_cgi;
parseClass: OMLAttributeData; yourself);

View File

@ -224,6 +224,11 @@ RoundTripTestCase subclass: OMLMsgTest [
101 115 115 0 224 4 0 0 255 133 0 129 11 187)
]
ipaRslConnectDataOther [
^ #(16 128 0 14 13 99 111 109 46 105 112 97 99 99
101 115 115 0 224 4 0 0 255 133 0 129 15 166)
]
setChannelAttributesData [
^ #(128 128 0 9 71 3 0 0 0 13 5 64 7)
]
@ -319,6 +324,7 @@ RoundTripTestCase subclass: OMLMsgTest [
testIpaRslConnect [
self roundtripTestFor: #ipaRslConnectData class: IPAOMLRSLConnect.
self roundtripTestFor: #ipaRslConnectDataOther class: IPAOMLRSLConnect.
]
testSetChannelAttributes [