Commit Graph

514 Commits

Author SHA1 Message Date
Dimitri Stolnikov 6194958d71 rtl: clean up work function 2012-05-27 14:27:05 +02:00
Dimitri Stolnikov 674e084bdf rtl_tcp: remove unused variables 2012-05-27 14:02:50 +02:00
Dimitri Stolnikov 4b6018b68c remove OSMOSDR_API usage where appropriate 2012-05-27 13:50:58 +02:00
Dimitri Stolnikov 9a5e93cf0d osmosdr: change implementation to use libosmosdr 2012-05-26 22:24:47 +02:00
Dimitri Stolnikov f4f5918c25 osmosdr_device: change cast to make it compile with clang 2012-05-21 00:46:46 +02:00
Dimitri Stolnikov 625c8b8e8e add Steve and Hoernchen to AUTHORS file 2012-05-20 20:11:47 +02:00
Dimitri Stolnikov e26074615b osmosdr_device: make it compile with boost 1.46.1 2012-05-20 15:30:01 +02:00
Dimitri Stolnikov 3ea0b38810 introduce device discovery api
This API allows to acquire a list of devices connected to the host and
creates an argument string ready to be passed to a source object for
cunstruction.

Each device_t entry contains a "label" entry, which holds the generic
device name which may be shown to the user for device selection.

For certain radio hardware extended entries ("name", "serial", "type")
may be available to make bijective device addressing possible.

The argument string for target types "rtl_tcp" and "file" might be
constructed using the osmosdr::device_t class facilities.

Example:

 #include <osmosdr_device.h>
 #include <osmosdr_source_c.h>

osmosdr::devices_t devs = osmosdr::device::find();

BOOST_FOREACH(osmosdr::device_t &dev, devs) // try to create each dev
  osmosdr_source_c_sptr src = osmosdr_make_source_c(dev.to_string());
2012-05-20 12:55:52 +02:00
Dimitri Stolnikov e256bf332e reapply previous gain value when switched to manual gain mode 2012-05-19 22:47:28 +02:00
Dimitri Stolnikov 8c0be96215 grc: change gain_mode type to int to allow switching at runtime 2012-05-19 22:26:25 +02:00
Dimitri Stolnikov 6bef750ac9 change gain mode argument to 'automatic' for clarity 2012-05-17 10:35:58 +02:00
Dimitri Stolnikov 8748ee2b56 update GRC examples 2012-05-15 18:35:50 +02:00
Dimitri Stolnikov c9637fc181 remove handmade python flowgraph that is not needed anymore 2012-05-15 18:24:35 +02:00
Steve Markgraf 7f796fe1b2 rtl_tcp_source: convert commands from host to network byteorder
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-13 23:06:09 +02:00
Dimitri Stolnikov 0e3d1995a0 rtl: skip one buffer full of garbage at the beginning 2012-05-13 20:01:50 +02:00
Dimitri Stolnikov 8e82b44bff rtl_tcp: change device argument syntax to host[:port]
without any arguments the code will try to connect to localhost:1234
2012-05-13 19:49:07 +02:00
Steve Markgraf 20d4ef7e4a rtl_source_c: fix several off-by-one errors
Those summed up and caused sample loss.
Thanks to Hoernchen for helping me tracking those down.

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-13 04:17:02 +02:00
Dimitri Stolnikov 52b5a8a4d3 uhd: added UHD as dependency for the gr-uhd based module
this may be required for compilation since the gnuradio trunk doesn't
provide UHD's include path via pkg-config.
2012-05-12 23:04:03 +02:00
Dimitri Stolnikov 1097fd7aba cleanup cmake files, remove libusb module 2012-05-12 22:43:21 +02:00
Dimitri Stolnikov 52dea1e0b7 remove unused grc source/sink block files 2012-05-12 20:19:45 +02:00
Dimitri Stolnikov d384cf52e2 append dependency include dirs when building components 2012-05-12 12:41:55 +02:00
Dimitri Stolnikov 9b9c5bfcf4 rtl_tcp: implement frequency correction control 2012-05-07 23:02:36 +02:00
Dimitri Stolnikov e38dc2f427 rtl_tcp: implement sample rate and gain control 2012-05-06 19:42:27 +02:00
Dimitri Stolnikov f94d8da48e rtl_tcp: add initial component files
For use with the rtl_tcp utility acting as a spectrum server.

The "empty" rtl_tcp= device hint might be used to connect to rtl_tcp
running on local machine.
2012-05-05 23:47:00 +02:00
Dimitri Stolnikov 3a066ff258 implement virtually arbitrary gain values
internally, this will pick a certain gain value out of the valid gains
using the "smallest error" strategy.
2012-05-05 21:37:13 +02:00
Dimitri Stolnikov ba0b52868a changed logic value for automatic gain mode
sorry boys & girls!
2012-05-05 21:06:54 +02:00
Dimitri Stolnikov cf1c3ab117 pick first device if no device arguments were specified 2012-05-05 20:43:34 +02:00
Dimitri Stolnikov a6d6602d8a fcd is supported only in single device mode
this is due to underlying original driver's (in)capabilities
2012-05-05 19:00:00 +02:00
Dimitri Stolnikov 0a4b9264a3 rtl_source_c: add buffers argument 2012-05-05 17:50:21 +02:00
Dimitri Stolnikov 3b6c74807c implement internal cache for setter functions
this is prevents GRC calling them multiple times with the same value
2012-05-05 17:35:38 +02:00
Dimitri Stolnikov 47734f299d use manual gain mode by default 2012-05-05 15:00:35 +02:00
Dimitri Stolnikov ce6fc94da3 resolve multisrc merge conflicts 2012-05-05 02:01:53 +02:00
Dimitri Stolnikov 61c2ac81ac change callback order for gain settings 2012-05-05 01:42:03 +02:00
Dimitri Stolnikov 3a47e3661c add api for manual gain mode control 2012-05-05 00:43:32 +02:00
Dimitri Stolnikov f0ac70fa41 file: initial file source support
Example:
  file=/path/to/file.ext,freq=428e6,rate=1e6,repeat=true,throttle=true
2012-04-29 19:55:28 +02:00
Dimitri Stolnikov 34baaf3f93 rtl: add xtal arguments for rtl and tuner chips 2012-04-29 19:53:17 +02:00
Dimitri Stolnikov 6c30964893 strip whitespace 2012-04-29 13:15:02 +02:00
Dimitri Stolnikov ed828d1787 update pkg-config template 2012-04-29 12:14:09 +02:00
Dimitri Stolnikov 99dfd7f197 import doxyxml files from GR tree to make build work with doxygen 2012-04-28 23:52:30 +02:00
Dimitri Stolnikov b41c85a2b0 fix interface documentation 2012-04-28 23:51:00 +02:00
Dimitri Stolnikov 0216d1022b update GRC files for multichannel source 2012-04-28 20:20:07 +02:00
Dimitri Stolnikov c1c0c2f212 first working multichannel source 2012-04-28 20:18:14 +02:00
Dimitri Stolnikov 31a4356ba5 fix copyright notice
Remove FSF line, since we do not have any agreements with them.
2012-04-26 19:28:02 +02:00
Dimitri Stolnikov 755da481d4 osmosdr: add initial component files 2012-04-26 19:23:55 +02:00
Dimitri Stolnikov 584ddafe10 uhd: add initial component files 2012-04-26 19:20:16 +02:00
Dimitri Stolnikov 414b1b1331 fcd: add initial component files 2012-04-26 19:18:21 +02:00
Dimitri Stolnikov d5589e8e1d rtl: reimplement buffering to make it more efficient 2012-04-26 19:14:42 +02:00
Dimitri Stolnikov 514b806d0a update build system to check for component dependencies
this will only enable components if the dependencies were met.
2012-04-26 19:13:23 +02:00
Dimitri Stolnikov afac8e8c42 add template based GRC block generation script 2012-04-26 19:07:27 +02:00
Dimitri Stolnikov c954d4a410 remove unused doc template 2012-04-26 17:49:43 +02:00