From 89c210c82da509cbdfaf9a4b71a2e451ecf4d08b Mon Sep 17 00:00:00 2001 From: leo Date: Wed, 20 Feb 2008 02:51:05 +0000 Subject: initail --- gsm-tvoid/src/lib/gsm_burst.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gsm-tvoid/src/lib') diff --git a/gsm-tvoid/src/lib/gsm_burst.h b/gsm-tvoid/src/lib/gsm_burst.h index ce727fe..951cef2 100755 --- a/gsm-tvoid/src/lib/gsm_burst.h +++ b/gsm-tvoid/src/lib/gsm_burst.h @@ -8,6 +8,7 @@ #include #include +#include "gsmstack.h" //Console printing options #define PRINT_NOTHING 0x00000000 @@ -90,6 +91,9 @@ protected: int d_corr_maxpos; int d_corr_center; + ///// GSM Stack + GS_CTX d_gs_ctx; + ///// Burst information SYNC_STATE d_sync_state; BURST_TYPE d_burst_type; @@ -111,6 +115,7 @@ protected: float correlate_pattern(const float *,const int,const int,const int); void print_bits(const float *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); -- cgit v1.2.3