return d_qr->set_beamforming(gains_ints);
}
+bool
+vrt_quadradio_source_32fc::set_cal_enb(bool enb){
+ return d_qr->set_cal_enb(enb);
+}
bool set_lo_freq(double freq);
bool set_cal_freq(double freq);
bool set_beamforming(std::vector<gr_complex> gains);
+ bool set_cal_enb(bool enb);
};
bool set_lo_freq(double freq);
bool set_cal_freq(double freq);
bool set_beamforming(int32_t gains[8]);
+ bool set_cal_enb(bool enb);
/*
* The first parameter for these is a bitmask which indicates which
* daughterboard or daughterboards to apply the operation to.
return send_and_check(d_ctrl_fd, cmd, sizeof(cmd));
}
+bool
+vrt::quadradio::set_cal_enb(bool enb)
+{
+ uint32_t cmd[3];
+ cmd[0] = htonl(0); // verb: set
+ cmd[1] = htonl(9); // id: cal enb
+ cmd[2] = htonl(enb);
+
+ return send_and_check(d_ctrl_fd, cmd, sizeof(cmd));
+}