aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-01-19 09:28:23 +0700
committerPiotr Krysik <ptrkrysik@gmail.com>2019-07-18 10:31:26 +0200
commitd54e8fb500748e42cb196d2c5b35d45d70ebd0bd (patch)
tree97b7a3f0d5eda16c8e4db2dd6586f4752c343121 /apps
parent3e6bfe799e23d51d69c347578e0da8eb77db3e69 (diff)
python/trx: get rid of FakePM class
Diffstat (limited to 'apps')
-rwxr-xr-xapps/grgsm_trx8
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/grgsm_trx b/apps/grgsm_trx
index 7eeea50..c3e83d9 100755
--- a/apps/grgsm_trx
+++ b/apps/grgsm_trx
@@ -31,7 +31,6 @@ from gnuradio import eng_notation
from grgsm.trx import CTRLInterfaceBB
from grgsm.trx import RadioInterface
-from grgsm.trx import FakePM
COPYRIGHT = \
"Copyright (C) 2016-2018 by Vadim Yanitskiy <axilirator@gmail.com>\n" \
@@ -65,16 +64,11 @@ class Application:
self.phy_freq_offset, self.bind_addr,
self.remote_addr, self.base_port)
- # Power measurement emulation
- # Noise: -120 .. -105
- # BTS: -75 .. -50
- self.pm = FakePM(-120, -105, -75, -50)
-
# Init TRX CTRL interface
self.server = CTRLInterfaceBB(
self.remote_addr, self.base_port + 101,
self.bind_addr, self.base_port + 1,
- self.radio, self.pm)
+ self.radio)
print("[i] Init complete")