|
|
|
@ -807,7 +807,7 @@ int rf_uhd_recv_with_time_multi(void *h,
|
|
|
|
|
|
|
|
|
|
rxd_samples = 0;
|
|
|
|
|
uhd_error error = uhd_rx_streamer_recv(handler->rx_stream, buffs_ptr,
|
|
|
|
|
num_rx_samples, md, 1.0, false, &rxd_samples);
|
|
|
|
|
num_rx_samples, md, 0.1, false, &rxd_samples);
|
|
|
|
|
if (error) {
|
|
|
|
|
fprintf(stderr, "Error receiving from UHD: %d\n", error);
|
|
|
|
|
log_rx_error(handler);
|
|
|
|
@ -917,7 +917,7 @@ int rf_uhd_send_timed_multi(void *h,
|
|
|
|
|
buffs_ptr[i] = buff;
|
|
|
|
|
}
|
|
|
|
|
uhd_error error = uhd_tx_streamer_send(handler->tx_stream, buffs_ptr,
|
|
|
|
|
tx_samples, &handler->tx_md, 3.0, &txd_samples);
|
|
|
|
|
tx_samples, &handler->tx_md, 0.1, &txd_samples);
|
|
|
|
|
if (error) {
|
|
|
|
|
fprintf(stderr, "Error sending to UHD: %d\n", error);
|
|
|
|
|
goto unlock;
|
|
|
|
@ -939,7 +939,7 @@ int rf_uhd_send_timed_multi(void *h,
|
|
|
|
|
uhd_tx_metadata_set_has_time_spec(&handler->tx_md, is_start_of_burst);
|
|
|
|
|
uhd_tx_metadata_set_start(&handler->tx_md, is_start_of_burst);
|
|
|
|
|
uhd_tx_metadata_set_end(&handler->tx_md, is_end_of_burst);
|
|
|
|
|
uhd_error error = uhd_tx_streamer_send(handler->tx_stream, buffs_ptr, nsamples, &handler->tx_md, 3.0, &txd_samples);
|
|
|
|
|
uhd_error error = uhd_tx_streamer_send(handler->tx_stream, buffs_ptr, nsamples, &handler->tx_md, 0.0, &txd_samples);
|
|
|
|
|
if (error) {
|
|
|
|
|
fprintf(stderr, "Error sending to UHD: %d\n", error);
|
|
|
|
|
goto unlock;
|
|
|
|
|