Skip to content

Instantly share code, notes, and snippets.

View csete's full-sized avatar

Alexandru Csete csete

View GitHub Profile
@csete
csete / limerx.c
Created March 27, 2018 11:03
Test application for LimeSDR
/*
* gcc -Wall -Wextra -O2 -o limerx limerx.c -lLimeSuite
*
* ./limerx [samprate] [oversmapling]
*/
#define __STDC_FORMAT_MACROS
#include <inttypes.h>
#include <signal.h>
#include <stdint.h>
@csete
csete / ais_rx.grc
Created September 11, 2013 14:45
2 channel AIS receiver prototyped in GNU Radio Companion (version 3.7.1)
<?xml version='1.0' encoding='ASCII'?>
<flow_graph>
<timestamp>Wed Sep 11 16:13:12 2013</timestamp>
<block>
<key>variable</key>
<param>
<key>id</key>
<value>xlate_filter_taps</value>
</param>
<param>
@csete
csete / hidraw-reopen_v37.patch
Created July 16, 2013 15:03
Patch to apply to gr-fcdproplus for making it work on kernel 3.8-based systems. Discussion: https://github.com/csete/gqrx/pull/88
diff --git a/lib/fcdproplus_impl.cc b/lib/fcdproplus_impl.cc
index beef6ba..f8f9085 100644
--- a/lib/fcdproplus_impl.cc
+++ b/lib/fcdproplus_impl.cc
@@ -124,8 +124,8 @@ namespace gr {
/* setup the control part */
d_control_handle =NULL;
hid_init();
- d_control_handle = hid_open ( FCDPROPLUS_VENDOR_ID ,FCDPROPLUS_PRODUCT_ID,NULL );
- if(d_control_handle == NULL ) {
@csete
csete / iq_swap.cpp
Last active December 14, 2015 01:48
/** I/Q swap **/
iq_swap_cc_sptr make_iq_swap_cc(bool enabled)
{
return gnuradio::get_initial_sptr(new iq_swap_cc(enabled));
}
iq_swap_cc::iq_swap_cc(bool enabled)
: gr_hier_block2 ("iq_swap_cc",
gr_make_io_signature(1, 1, sizeof(gr_complex)),
gr_make_io_signature(1, 1, sizeof(gr_complex)))
@csete
csete / quisk_conf_fcdpp.py
Created November 21, 2012 10:02
Quisk configuration file for the Funcube Dongle Pro+
# Custom quisk_conf.py configuration file for Funcube Dongle Pro+.
# See quisk_conf_defaults.py for more information.
# In ALSA, soundcards have these names. The "hw" devices are the raw
# hardware devices, and should be used for soundcard capture.
#name_of_sound_capt = "hw:0"
#name_of_sound_capt = "hw:1"
#name_of_sound_capt = "plughw"
#name_of_sound_capt = "plughw:1"
#name_of_sound_capt = "default"
<?xml version='1.0' encoding='ASCII'?>
<flow_graph>
<timestamp>Tue Apr 10 20:21:22 2012</timestamp>
<block>
<key>options</key>
<param>
<key>id</key>
<value>rtl_nfm_rx</value>
</param>
<param>
@csete
csete / rtl_apt_rx.grc
Created April 7, 2012 16:39
APT FM receiver using the RTL2832 source
<?xml version='1.0' encoding='ASCII'?>
<flow_graph>
<timestamp>Fri Apr 6 11:11:01 2012</timestamp>
<block>
<key>options</key>
<param>
<key>id</key>
<value>fcd_apt_rx</value>
</param>
<param>
@csete
csete / gr-fcd-osx.patch
Created July 31, 2011 18:59
Patch to make gr-fcd compile on Mac OS X (native)
diff --git a/configure.ac b/configure.ac
index 27c0dc1..26974c0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,9 +44,9 @@ m4_include([config/gr_standalone.m4])
GR_STANDALONE
dnl Check for libusb-1.0
-PKG_CHECK_MODULES(LIBUSB, libusb-1.0 >= 1.0)
-LIBS="$LIBS $LIBUSB_LIBS"
@csete
csete / quisk.py
Created February 22, 2011 16:44
Modified Quisk 3.5.1 to follow desktop theme instead of ugly custom colors
#! /usr/bin/python
# All QUISK software is Copyright (C) 2006-2010 by James C. Ahlstrom.
# This free software is licensed for use under the GNU General Public
# License (GPL), see http://www.opensource.org.
# Note that there is NO WARRANTY AT ALL. USE AT YOUR OWN RISK!!
"""The main program for Quisk, a software defined radio.
Usage: python quisk.py [-c | --config config_file_path]
@csete
csete / quisk_conf_fcd.py
Created February 22, 2011 16:42
Quisk configuration file for Funcube Dongle
# Custom quisk_conf.py configuration file for Funcube Dongle.
# See quisk_conf_defaults.py for more information.
# In ALSA, soundcards have these names. The "hw" devices are the raw
# hardware devices, and should be used for soundcard capture.
#name_of_sound_capt = "hw:0"
#name_of_sound_capt = "hw:1"
#name_of_sound_capt = "plughw"
#name_of_sound_capt = "plughw:1"
#name_of_sound_capt = "default"