Node wrapper around rtl-sdr
Note: This module has not been tested on windows. If you would like to submit a pull request that would be great.
Note: You must install rtl-sdr libs first.
var rtlsdr = require('rtlsdr');
rtlsdr.getDevices(function (err, devices) {
devices[0].open(function (err, device) {
device.setSampleRate(2048000);
device.setCenterFrequency(99500000);
device.on("data", function (data) {
// process data
});
device.start();
setTimeout(function () {
device.stop();
}, 1000);
});
});