GithubHelp home page GithubHelp logo

jbrzusto / librtlsdr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from steve-m/librtlsdr

0.0 0.0 0.0 557 KB

Software to turn the RTL2832U into an SDR (version for sensorgnomes)

License: GNU General Public License v2.0

CMake 7.16% Makefile 0.71% M4 0.82% Shell 1.66% C 88.82% C++ 0.79% Emacs Lisp 0.04%

librtlsdr's People

Contributors

berkovskyy avatar csete avatar davefiddes avatar edy555 avatar hayguen avatar howard0su avatar jbrzusto avatar kasper93 avatar keenerd avatar kukabu avatar laf0rge avatar lcl7 avatar mnhauke avatar pinkavaj avatar racerxdl avatar steve-m avatar vogelchr avatar willglynn avatar yarda avatar zaitcev avatar

Watchers

 avatar  avatar

librtlsdr's Issues

support bias_t option

some newer rtlsdr dongles include an antenna bias voltage.
e.g. here

This one is controlled by setting / clearing gpio 0 in librtlsdr.c:

int rtlsdr_set_bias_tee(rtlsdr_dev_t *dev, int on)
{
	if (!dev)
		return -1;

	rtlsdr_set_gpio_output(dev, 0);
	rtlsdr_set_gpio_bit(dev, 0, on);

	return 1;
}

and then adding a call to force it off from rtlsdr_close:

	// Turn off the bias tee
	//rtlsdr_set_gpio_output(dev, 0);
            rtlsdr_set_gpio_bit(dev, 0, 0);

Implementation for SG:

  • add above call to librtlsdr
  • add a command to set / clear in rtl_tcp
  • add a param in jbrzusto/sensorgnome/master/rtlsdr.js:RTLSDR.prototype.rtltcpCmds
  • add a default ('off') setting in defaultDeployment.txt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.