Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 642 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 642 Bytes

rtlsdr

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.

Example

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);
  });
});