Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add several functions #21

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Add several functions #21

wants to merge 5 commits into from

Conversation

tejeez
Copy link

@tejeez tejeez commented Nov 1, 2017

Added some functions which some software tried to use but failed to compile because they were missing from this fork. This improves compatibility with existing software.
For example, gr-osmosdr could not be compiled anymore because the bias tee functions were missing.
I also noticed that "rtlsdr_set_if_bandwidth" was specified in rtl-sdr.h but not actually implemented. Other forks made the function called "rtlsdr_set_tuner_bandwidth" with a somewhat different implementation, so adding it with the same name here allows other software to also use our implementation of bandwidth adjustment.

tejeez and others added 5 commits July 27, 2017 17:01
At least one distributor of rtl-sdr dongles (rtl-sdr.com) added
a bias-t to their dongles which could be toggled via GPIO P0 of the
RTL2832U chip.

source: http://www.rtl-sdr.com/rtl-sdr-blog-v-3-dongles-user-guide/

Signed-off-by: Steve Markgraf <[email protected]>
* added debug output when activating
Signed-off-by: hayati ayguen <[email protected]>
* fixed options argument
Signed-off-by: Fabian P. Schmidt <[email protected]>
Signed-off-by: Steve Markgraf <[email protected]>

Conflicts:
	src/rtl_fm.c
	src/rtl_power.c

Both trough hold and bias tee used option -T in rtl_power.
As trough hold is probably less used, it was changed to -M ("minimum").
The equivalent rtlsdr_set_if_bandwidth was removed from rtl-sdr.h
because it was not actually implemented.
Also added documentation for some functions.
xloem pushed a commit to xloem/rtl-sdr that referenced this pull request Oct 3, 2018
*	So @f4exb was right to include the rtl_tcp.h in CMakeLists install. If anyone is making a C program that communicates with rtl_tcp, it will probably use the enums. (See PR keenerd#22 and issue keenerd#21)
*	Added rtl_tcp.h to CMakeLists install script and moved rtl_tcp.h include to rtl_tcp.c file
*	Added Eclipse gitignore (for anyone that uses eclipse to compile)
*	Closes Issue keenerd#21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants