Libsdrsource
From OpenDigitalRadio
Revision as of 22:03, 10 February 2016 by Albrechtl (talk | contribs) (→API Description: Some minor changes)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
API Description
SDRError LibSDRSource::Open(void)
| Description | Opens the SDR device |
| Parameter | none |
| return | SDR error enum object |
SDRError LibSDRSource::Close(void)
| Description | Closes the SDR device |
| Parameter | none |
| return | SDR error enum object |
SDRError LibSDRSource::Reset(void)
| Description | Resets the SDR device |
| Parameter | none |
| return | SDR error enum object |
SDRError LibSDRSource::SetFrequency(int32_t FrequencyKHz)
| Description | Sets the frequency in kHz |
| Parameter | FrequencyKHz: Channel frequency in kHz |
| return | SDR error enum object |
SDRError LibSDRSource::GetFrequency(int32_t* FrequencyKHz)
| Description | Gets the current frequency |
| Parameter | FrequencyKHz: Pointer to frequency in KHz |
| return | SDR error enum object |
SDRError LibSDRSource::GetSamples(CSDRSamples &SampleBuffer)
| Description | Gets the IQ samples. This method is blocking. It blocks until new data is available. |
| Parameter | SampleBuffer: Sample buffer |
| return | SDR error enum object |