mirror of https://github.com/pvnis/srsRAN_4G.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
525 B
C
26 lines
525 B
C
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#include <stdbool.h>
|
|
|
|
int uhd_open(char *args, void **handler);
|
|
int uhd_close(void *h);
|
|
int uhd_start_rx_stream(void *h);
|
|
int uhd_start_rx_stream_nsamples(void *h, int nsamples);
|
|
int uhd_stop_rx_stream(void *h);
|
|
|
|
bool uhd_rx_wait_lo_locked(void *h);
|
|
double uhd_set_rx_srate(void *h, double freq);
|
|
double uhd_set_rx_gain(void *h, double gain);
|
|
|
|
double uhd_set_rx_freq(void *h, double freq);
|
|
|
|
int uhd_recv(void *h, void *data, int nsamples, int blocking);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|