Giter Site home page Giter Site logo

ebc81 / rtl_tcp_andro- Goto Github PK

View Code? Open in Web Editor NEW

This project forked from signalwareltd/rtl_tcp_andro-

0.0 1.0 0.0 8.74 MB

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

License: GNU General Public License v2.0

Shell 0.02% Makefile 0.13% C 93.42% C++ 0.73% Java 5.70%

rtl_tcp_andro-'s Introduction

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 if the rtlsdr_open function is unchanged. If the rtlsdr_open was modified in the new version, you would need to update rtl_tcp_andro.c and the rtlsdr_open2 function.
 
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 
 
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/

rtl_tcp_andro-'s People

Contributors

martinmarinov avatar

Watchers

ebc81 avatar

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.