From bfd7d40128d2fea8e113e7a07a3125a6997cfb48 Mon Sep 17 00:00:00 2001 From: tvoid Date: Fri, 4 Apr 2008 01:08:17 -0600 Subject: initial merge complete --- gsm-tvoid/src/lib/Makefile.am | 0 gsm-tvoid/src/lib/gsm.i | 0 gsm-tvoid/src/lib/gsm_burst.cc | 1 + gsm-tvoid/src/lib/gsm_burst.h | 6 ++++++ gsm-tvoid/src/lib/gsm_burst_cf.cc | 0 gsm-tvoid/src/lib/gsm_burst_cf.h | 0 gsm-tvoid/src/lib/gsm_burst_ff.cc | 0 gsm-tvoid/src/lib/gsm_burst_ff.h | 0 gsm-tvoid/src/lib/gsm_constants.h | 0 9 files changed, 7 insertions(+) mode change 100755 => 100644 gsm-tvoid/src/lib/Makefile.am mode change 100755 => 100644 gsm-tvoid/src/lib/gsm.i mode change 100755 => 100644 gsm-tvoid/src/lib/gsm_burst.cc mode change 100755 => 100644 gsm-tvoid/src/lib/gsm_burst.h mode change 100755 => 100644 gsm-tvoid/src/lib/gsm_burst_cf.cc mode change 100755 => 100644 gsm-tvoid/src/lib/gsm_burst_cf.h mode change 100755 => 100644 gsm-tvoid/src/lib/gsm_burst_ff.cc mode change 100755 => 100644 gsm-tvoid/src/lib/gsm_burst_ff.h mode change 100755 => 100644 gsm-tvoid/src/lib/gsm_constants.h (limited to 'gsm-tvoid') diff --git a/gsm-tvoid/src/lib/Makefile.am b/gsm-tvoid/src/lib/Makefile.am old mode 100755 new mode 100644 diff --git a/gsm-tvoid/src/lib/gsm.i b/gsm-tvoid/src/lib/gsm.i old mode 100755 new mode 100644 diff --git a/gsm-tvoid/src/lib/gsm_burst.cc b/gsm-tvoid/src/lib/gsm_burst.cc old mode 100755 new mode 100644 index d83bde4..711d3e7 --- 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 old mode 100755 new mode 100644 index 15566a9..d80b9a9 --- a/gsm-tvoid/src/lib/gsm_burst.h +++ b/gsm-tvoid/src/lib/gsm_burst.h @@ -10,6 +10,8 @@ #include //#include //for callback testing #include +#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 old mode 100755 new mode 100644 diff --git a/gsm-tvoid/src/lib/gsm_burst_cf.h b/gsm-tvoid/src/lib/gsm_burst_cf.h old mode 100755 new mode 100644 diff --git a/gsm-tvoid/src/lib/gsm_burst_ff.cc b/gsm-tvoid/src/lib/gsm_burst_ff.cc old mode 100755 new mode 100644 diff --git a/gsm-tvoid/src/lib/gsm_burst_ff.h b/gsm-tvoid/src/lib/gsm_burst_ff.h old mode 100755 new mode 100644 diff --git a/gsm-tvoid/src/lib/gsm_constants.h b/gsm-tvoid/src/lib/gsm_constants.h old mode 100755 new mode 100644 -- cgit v1.2.3