Skip to content

Instantly share code, notes, and snippets.

View csete's full-sized avatar

Alexandru Csete csete

View GitHub Profile
@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 / 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 / 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>