Crate rtlsdr [] [src]

Structs

Device
HwInfo

Enums

Error
SamplingMode

Sampling modes.

Constants

CRYSTAL_FREQ
DEFAULT_ASYNC_BUF_NUMBER
DEFAULT_BUF_LENGTH
DEFAULT_FC
DEFAULT_READ_SIZE
DEFAULT_RS
DEFAULT_SAMPLE_RATE
MAX_BUF_LENGTH
MAX_STR_SIZE

Hardware info strings (product, manufacturer, serial) maximum size. MAX_STR_SIZE = (max string length - 2 (header bytes)) \ 2. Where each info character is followed by a null character.

MIN_BUF_LENGTH

Functions

get_device_count

Returns the number of devices detected.

get_device_name

Returns the name of the device by index.

get_device_usb_strings

Returns the information of a device by index.

get_index_by_serial

Returns a device index by serial id.

open

Returns an opened device by index.

Type Definitions

ReadAsyncCbT

read async callback function