A Nim wrapper for librtlsdr (a driver for Realtek RTL2832U based SDR's)
nimtlsdr is a simple Nim interface to devices supported by the RTL-SDR project, which turns certain USB DVB-T dongles employing the Realtek RTL2832U chipset into a low-cost, general purpose software-defined radio receiver. It wraps all the functions in the librtlsdr library (including asynchronous read support).
Supported Platforms:
- Linux
- OS X
- Windows
- Nim compiler
- librtlsdr - builds dated after 5/5/12
- libusb
- git
-
Download and install git.
-
Download and install the Nim tools.
-
Download the pre-built rtl-sdr library and install.
-
Install the nimrtlsdr package:
Using nimble:
nimble install git://github.com/jpoirier/nimrtlsdr git clone git@github.com:jpoirier/nimrtlsdr.git
Go to the nimrtlsdr/examples folder and...
...if you installed using nimble:
nim c rtlsdr_example.nim
...if you didn't install using nimble you need to provide the path to the nimrtlsdr library source:
nim c --path:../src rtlsdr_example.nim
-
Insert the DVB-T/DAB/FM dongle into a USB port and run the rtlsdr_example example program.
./rtlsdr_example
- pyrtlsdr for the great read-me description, which I copied.
- osmoconSDR for the rtl-sdr library.
- Antti Palosaari for sharing!
-joe