Skip to content

rtl_tcp and libusb-1.0 port for Android modified to support opening devices from Linux file descriptors

License

GPL-2.0 and 2 other licenses found

Licenses found

GPL-2.0
COPYING
LGPL-2.1
COPYING.libusb
GPL-2.0
COPYING.rtlsdr
Notifications You must be signed in to change notification settings

DRDCA-X251/rtl_tcp_andro-

 
 
rtl_tcp_andro 

Is an application that allows you to use I/Q packet source in your Android applications.

All you need is to launch an intent in the form "iqsrc://rtl_tcp_arguments" where you replace rtl_tcp_arguments with the arguments that you want your application to run rtl_tcp with and the magic will be done behind the scenes! More HOWTO coming soon!

Internals:

A modification of rtl_tcp and libusb-1.0 for running on Android (also works on other Linux based systems) 
 
It is compatible with the original rtl_tcp with the following exceptions: 
 
Added features: 
 - Opening devices using a file descriptor (very important for Android) 
 - An additional command for closing the app remotely and setting tuner gain in percentage 
 
Possible bugs: 
 - Once the client closes, rtl_tcp closes with it. This is a desired behavior on Android but probably undesired if used for a client. 
 
Note: 
The rtl-sdr folder is completely unmodified. Therefore if a new version of rtl-sdr is released, just replace this folder with the newer version and recompile - everything should work out of the box. 
 
Files modified in libusb-1.0 to create libusb-andro: 
 core.c, libusb.h and libusbi.h - to header for and implementation of the open2 function which takes an already open file descriptor 
 linux_usbfs.c - to create a libusb handle from the fd 
 
Compilation: 
To compile for Android, use the Android.mk file in the jni directory 
To compile for Linux invoke make. Binary will be created in the current directory 
 
The modifications are released under GNU. See COPYING for details. 
 
For more information on rtl-sdr: 
http://sdr.osmocom.org/trac/wiki/rtl-sdr 
 
For more information on libusb: 
http://www.libusb.org/wiki/libusb-1.0

About

rtl_tcp and libusb-1.0 port for Android modified to support opening devices from Linux file descriptors

Resources

License

GPL-2.0 and 2 other licenses found

Licenses found

GPL-2.0
COPYING
LGPL-2.1
COPYING.libusb
GPL-2.0
COPYING.rtlsdr

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published