diff options
author | Djalal Harouni <djalal@endocode.com> | 2016-12-13 12:05:27 +0100 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2016-12-13 11:04:45 -0600 |
commit | 5a35d19eb07e9473707af5f735b07fd32f1c0f21 (patch) | |
tree | 1a96c6682860deb2c2299c14305d3a055444d4f6 /test | |
parent | 9898cc5fadc75466942c6d26dbbb4fee52a578ec (diff) | |
download | ofono-5a35d19eb07e9473707af5f735b07fd32f1c0f21.tar.gz |
test:netmon: support EARFCN, Eband and CQI in testing scripts
Diffstat (limited to 'test')
-rwxr-xr-x | test/get-serving-cell-info | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/get-serving-cell-info b/test/get-serving-cell-info index 94e1c543..7a5d8981 100755 --- a/test/get-serving-cell-info +++ b/test/get-serving-cell-info @@ -31,6 +31,9 @@ rscp = 'ReceivedSignalCodePower' ecn0 = 'ReceivedEnergyRatio' rsrq = 'ReferenceSignalReceivedQuality' rsrp = 'ReferenceSignalReceivedPower' +earfcn = 'EARFCN' +eband = 'EBand' +cqi = 'ChannelQualityIndicator' print("Current serving cell information:") @@ -73,4 +76,13 @@ if rsrq in servingcell: if rsrp in servingcell: print(" [ Reference Signal Received Power = %d]" % (servingcell[rsrp])) +if earfcn in servingcell: + print(" [ E-UTRA Absolue Radio Frequency Channel = %d ]" % (servingcell[earfcn])) + +if eband in servingcell: + print(" [ E-UTRA operating Band = %d ]" % (servingcell[eband])) + +if cqi in servingcell: + print(" [ Channel Quality Indicator = %d ]" % (servingcell[cqi])) + print('') |