Skip to content

sysrun/node-rtlfm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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