3 #ifndef INCLUDED_CYBERRADIO_NDR651_SYNC_SINK_IMPL_H 4 #define INCLUDED_CYBERRADIO_NDR651_SYNC_SINK_IMPL_H 8 #include <LibCyberRadio/NDR651/SyncTXClient.h> 14 namespace CyberRadio {
17 #define ETH_PACKET_SIZE 1024 29 const char *radioHostname;
36 double centerFreqMHz[
NUM_CH];
38 double rf_attenuationDB[
NUM_CH];
39 const char *eth_index[
NUM_CH];
41 double frequencyOffsetMHz[
NUM_CH];
42 double digital_attenuationDB[
NUM_CH];
46 std::vector<LibCyberRadio::NDR651::TXClient *> txClients;
47 LibCyberRadio::NDR651::SyncTXClient *syncTXClient;
50 std::vector<int16_t> iqBuffers[
NUM_CH];
56 int work(
int noutput_items, gr_vector_const_void_star &input_items,
57 gr_vector_void_star &output_items);
67 double frequencyOffsetMHz2);
69 double digital_attenuationDB2);
73 int txChannel1,
int txChannel2);
75 const char *eth_index2,
long upd_port1,
Definition: NDR651_sync_sink_impl.h:26
bool setDUCAtten_callback(double digital_attenuationDB1, double digital_attenuationDB2)
bool setTxFreq_callback(double centerFreqMHz1, double centerFreqMHz2)
void mult_callback(float mult1, float mult2)
NDR651_sync_sink_impl(INPUT_ARGUMENTS_TYPE)
bool setTxAtten_callback(double rf_attenuationDB1, double rf_attenuationDB2)
Provides GNU Radio blocks.
Definition: NDR651_duc_sink_mk2.h:21
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
#define INPUT_ARGUMENTS_TYPE
Definition: NDR651_sync_sink.h:14
#define NUM_CH
Definition: NDR651_sync_sink_impl.h:16
bool setEthernetInterface(unsigned int tenGbeIndex, const char *eth_index1, const char *eth_index2, long upd_port1, long upd_port2)
bool setDUCParameters(int ducChannel1, int ducChannel2, int channelRate, int txChannel1, int txChannel2)
bool setDUCFreq_callback(double frequencyOffsetMHz1, double frequencyOffsetMHz2)
Definition: NDR651_sync_sink.h:22