aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-12-03 23:13:08 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2017-12-04 00:22:39 +0700
commit14b8e854c254f9d6872a4fbe925fb8ab66712169 (patch)
tree6bcb4e30a3acb1e54eca4f4144714ad79c499789 /apps
parent4650fad7cb3acf103775a1f14beb131650b09ebf (diff)
apps/grgsm_trx: use 4 * GSM_SYM_RATE as default sample rate
With this sample rate it's easier to synchronize training sequence with the signal.
Diffstat (limited to 'apps')
-rwxr-xr-xapps/grgsm_trx4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/grgsm_trx b/apps/grgsm_trx
index 507ed87..128adab 100755
--- a/apps/grgsm_trx
+++ b/apps/grgsm_trx
@@ -42,7 +42,7 @@ class Application:
base_port = 5700
# PHY specific
- phy_sample_rate = 2000000
+ phy_sample_rate = 4 * 1625000 / 6
phy_tx_antenna = "TX/RX"
phy_rx_antenna = "RX2"
phy_rx_gain = 30
@@ -101,7 +101,7 @@ class Application:
# PHY specific
s += " Radio interface specific\n" \
" -a --device-args Set device arguments\n" \
- " -s --sample-rate Set sample rate (default 2000000)\n" \
+ " -s --sample-rate Set sample rate\n" \
" -g --rx-gain Set RX gain (default 30)\n" \
" -G --tx-gain Set TX gain (default 10)\n" \
" --rx-antenna Set RX antenna (default RX2)\n" \