diff options
author | tvoid <tvoid@lesaige.com> | 2008-04-04 01:08:17 -0600 |
---|---|---|
committer | tvoid <tvoid@lesaige.com> | 2008-04-04 01:08:17 -0600 |
commit | bfd7d40128d2fea8e113e7a07a3125a6997cfb48 (patch) | |
tree | 780ab87a9d95aeee50a2315a835ce02f6765a54d /gsm-tvoid/src/lib | |
parent | f544355f73c58fc794feece8a72a19a4a66a7fb0 (diff) |
initial merge complete
Diffstat (limited to 'gsm-tvoid/src/lib')
-rw-r--r--[-rwxr-xr-x] | gsm-tvoid/src/lib/Makefile.am | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | gsm-tvoid/src/lib/gsm.i | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | gsm-tvoid/src/lib/gsm_burst.cc | 1 | ||||
-rw-r--r--[-rwxr-xr-x] | gsm-tvoid/src/lib/gsm_burst.h | 6 | ||||
-rw-r--r--[-rwxr-xr-x] | gsm-tvoid/src/lib/gsm_burst_cf.cc | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | gsm-tvoid/src/lib/gsm_burst_cf.h | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | gsm-tvoid/src/lib/gsm_burst_ff.cc | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | gsm-tvoid/src/lib/gsm_burst_ff.h | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | gsm-tvoid/src/lib/gsm_constants.h | 0 |
9 files changed, 7 insertions, 0 deletions
diff --git a/gsm-tvoid/src/lib/Makefile.am b/gsm-tvoid/src/lib/Makefile.am index 2d4d7f7..2d4d7f7 100755..100644 --- a/gsm-tvoid/src/lib/Makefile.am +++ b/gsm-tvoid/src/lib/Makefile.am diff --git a/gsm-tvoid/src/lib/gsm.i b/gsm-tvoid/src/lib/gsm.i index 624cc30..624cc30 100755..100644 --- a/gsm-tvoid/src/lib/gsm.i +++ b/gsm-tvoid/src/lib/gsm.i diff --git a/gsm-tvoid/src/lib/gsm_burst.cc b/gsm-tvoid/src/lib/gsm_burst.cc index d83bde4..711d3e7 100755..100644 --- a/gsm-tvoid/src/lib/gsm_burst.cc +++ b/gsm-tvoid/src/lib/gsm_burst.cc @@ -241,6 +241,7 @@ void gsm_burst::print_bits(const float *data,int length) data[i] < 0 ? fprintf(stderr,"+") : fprintf(stderr,"."); } + void gsm_burst::soft2hardbit(char *dst, const float *data, int len) { for (int i=0; i < len; i++) diff --git a/gsm-tvoid/src/lib/gsm_burst.h b/gsm-tvoid/src/lib/gsm_burst.h index 15566a9..d80b9a9 100755..100644 --- a/gsm-tvoid/src/lib/gsm_burst.h +++ b/gsm-tvoid/src/lib/gsm_burst.h @@ -10,6 +10,8 @@ #include <gr_math.h> //#include <Python.h> //for callback testing #include <gr_feval.h> +#include "gsmstack.h" + //Console printing options #define PRINT_NOTHING 0x00000000 @@ -110,6 +112,9 @@ protected: int d_corr_maxpos; int d_corr_center; + ///// GSM Stack + GS_CTX d_gs_ctx; + ///// Burst information SYNC_STATE d_sync_state; SYNC_STATE d_last_sync_state; @@ -146,6 +151,7 @@ protected: void print_bits(const float *data,int length); void print_hex(const unsigned char *data,int length); + void soft2hardbit(char *dst, const float *data, int len); void print_burst(void); void diff_encode(const float *in,float *out,int length,float lastbit = 1.0); diff --git a/gsm-tvoid/src/lib/gsm_burst_cf.cc b/gsm-tvoid/src/lib/gsm_burst_cf.cc index f08424d..f08424d 100755..100644 --- a/gsm-tvoid/src/lib/gsm_burst_cf.cc +++ b/gsm-tvoid/src/lib/gsm_burst_cf.cc diff --git a/gsm-tvoid/src/lib/gsm_burst_cf.h b/gsm-tvoid/src/lib/gsm_burst_cf.h index fe742c4..fe742c4 100755..100644 --- a/gsm-tvoid/src/lib/gsm_burst_cf.h +++ b/gsm-tvoid/src/lib/gsm_burst_cf.h diff --git a/gsm-tvoid/src/lib/gsm_burst_ff.cc b/gsm-tvoid/src/lib/gsm_burst_ff.cc index 25f9421..25f9421 100755..100644 --- a/gsm-tvoid/src/lib/gsm_burst_ff.cc +++ b/gsm-tvoid/src/lib/gsm_burst_ff.cc diff --git a/gsm-tvoid/src/lib/gsm_burst_ff.h b/gsm-tvoid/src/lib/gsm_burst_ff.h index 30047f2..30047f2 100755..100644 --- a/gsm-tvoid/src/lib/gsm_burst_ff.h +++ b/gsm-tvoid/src/lib/gsm_burst_ff.h diff --git a/gsm-tvoid/src/lib/gsm_constants.h b/gsm-tvoid/src/lib/gsm_constants.h index c404b57..c404b57 100755..100644 --- a/gsm-tvoid/src/lib/gsm_constants.h +++ b/gsm-tvoid/src/lib/gsm_constants.h |