HackRF
20.2 Using the Radio
20.2.1 HackRF Start Rx
Syntax: int hackrf_start_rx(hackrf_device*, hackrf_sample_block_cb_fn, void* rx_ctx)
Params:
Returns: A value from the hackrf_error constants listed below.
20.2.2 HackRF Stop Rx
Syntax: int hackrf_stop_rx(hackrf_device*)
Params:
Returns: A value from the hackrf_error constants listed below.
20.2.3 HackRF Start Tx
Syntax: int hackrf_start_tx(hackrf_device*, hackrf_sample_block_cb_fn, void* tx_ctx)
Params:
Returns: A value from the hackrf_error constants listed below.
20.2.4 HackRF Stop Tx
Syntax: int hackrf_stop_tx(hackrf_device*)
Params:
Returns: A value from the hackrf_error constants listed below.
20.2.5 HackRF Set Baseband Filter Bandwidth
Syntax: int hackrf_set_baseband_filter_bandwidth(hackrf_device*, const uint32_t
bandwidth_hz)
Params:
Returns: A value from the hackrf_error constants listed below.
20.2.6 HackRF Compute Baseband Filter BW
Compute best default value depending on sample rate (auto filter).
Syntax: uint32_t hackrf_compute_baseband_filter_bw(const uint32_t bandwidth_hz)
Params:
Returns: A valid baseband filter width available from the Maxim MAX2837 frontend used by the radio.
20.2. Using the Radio 67