From 13b2dfaf18f57d29de75c4cb0aff5996a49d3143 Mon Sep 17 00:00:00 2001 From: Maicon Kist Date: Thu, 4 Apr 2019 12:21:29 +0100 Subject: [PATCH] update server.cc to marathon configuration --- app/server.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/server.cc b/app/server.cc index 3191e8b..6e205db 100644 --- a/app/server.cc +++ b/app/server.cc @@ -2,7 +2,7 @@ #include "hydra/hydra_uhd_interface.h" /* Configure the TX radio */ -hydra::uhd_hydra_sptr usrp = std::make_shared(); +hydra::uhd_hydra_sptr usrp = std::make_shared(); void signal_handler(int signum) @@ -20,20 +20,20 @@ int main() signal(SIGHUP, signal_handler); /* TRANSMITTER */ - double d_tx_centre_freq = 1.1e9; + double d_tx_centre_freq = 2.43e9; double d_tx_samp_rate = 2e6; - unsigned int u_tx_fft_size = 1024; + unsigned int u_tx_fft_size = 2048; /* RECEIVER */ - double d_rx_centre_freq = 1.1e9; + double d_rx_centre_freq = 2.43e9 + 3e6; double d_rx_samp_rate = 2e6; - unsigned int u_rx_fft_size = 1024; + unsigned int u_rx_fft_size = 2048; /* Control port */ unsigned int u_port = 5000; /* Instantiate XVL */ - hydra::HydraMain main = hydra::HydraMain("127.0.0.1:5000"); + hydra::HydraMain main = hydra::HydraMain("192.168.5.54:5000"); main.set_tx_config( usrp,