Agora
1.2.0
Agora project
|
Go to the documentation of this file.
5 #ifndef CLIENT_RADIO_LIB_H_
6 #define CLIENT_RADIO_LIB_H_
23 int RadioTx(
size_t radio_id,
void** buffs,
size_t num_samps,
27 std::vector<std::vector<std::complex<int16_t>>>&
rx_data,
31 std::vector<std::vector<std::complex<int16_t>>*>& rx_buffs,
34 int RadioRx(
size_t radio_id, std::vector<void*>& rx_locs,
size_t rx_size,
43 std::vector<std::unique_ptr<Radio>>
radios_;
49 #endif // CLIENT_RADIO_LIB_H_
Defination file for the Radio class.
bool RadioStart()
Definition: client_radio.cc:76
void Go() const
Definition: client_radio.cc:88
size_t UeAntNum() const
Definition: config.h:41
std::atomic< size_t > num_client_radios_initialized_
Definition: client_radio.h:47
int RadioRx(size_t radio_id, std::vector< std::vector< std::complex< int16_t >>> &rx_data, size_t rx_size, Radio::RxFlags &out_flags, long long &rx_time_ns)
Definition: client_radio.cc:101
std::string UeChannel() const
Definition: config.h:114
double ClientTxGainA(size_t id) const
Definition: config.h:70
const std::vector< std::string > & UeRadioId() const
Definition: config.h:362
Definition: client_radio.h:15
const Config *const cfg_
Definition: client_radio.h:42
size_t total_radios_
Definition: client_radio.h:44
size_t UeNum() const
Definition: config.h:40
void RadioStop()
Definition: client_radio.cc:125
~ClientRadioConfig()
Definition: client_radio.cc:131
TxFlags
Definition: radio.h:20
RadioType
Definition: radio.h:17
ClientRadioConfig(const Config *const cfg, Radio::RadioType radio_type)
Definition: client_radio.cc:10
static std::unique_ptr< Radio > Create(RadioType type)
Definition: radio.cc:11
for i
Definition: generate_data.m:107
std::vector< std::unique_ptr< Radio > > radios_
Definition: client_radio.h:43
double ClientTxGainB(size_t id) const
Definition: config.h:76
static constexpr bool kUseUHD
Definition: symbols.h:162
RxFlags
Definition: radio.h:19
static std::vector< size_t > StrToChannels(const std::string &channel)
Definition: utils.cc:207
int RadioTx(size_t radio_id, void **buffs, size_t num_samps, Radio::TxFlags flags, long long &tx_time)
Definition: client_radio.cc:96
void InitClientRadio(size_t radio_id)
Definition: client_radio.cc:59
double ClientRxGainB(size_t id) const
Definition: config.h:79
#define AGORA_LOG_INFO(...)
Definition: logger.h:62
bool UeHwFramer() const
Definition: config.h:54
Declaration file for the configuration class which importants json configuration values into class va...
case QPSK rx_data
Definition: generate_data.m:160
double ClientRxGainA(size_t id) const
Definition: config.h:73
void ReadSensors()
Definition: client_radio.cc:119
Declaration file for the client radio config class.
size_t total_antennas_
Definition: client_radio.h:45