Commit bbc70f85 authored by Ben Wojtowicz's avatar Ben Wojtowicz

Version 0.7.0: Moved from automake to cmake.

parent b803c957
# Copyright 2011 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# GNU Radio is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GNU Radio; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
########################################################################
# Project setup
########################################################################
cmake_minimum_required(VERSION 2.6)
project(openLTE CXX C)
set(openLTE_version 0.7.0)
enable_testing()
#select the release build type by default to get optimization flags
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release")
message(STATUS "Build type not specified: defaulting to release.")
endif(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE} CACHE STRING "")
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/Modules)
########################################################################
# Compiler specific setup
########################################################################
if(CMAKE_COMPILER_IS_GNUCXX AND NOT WIN32)
#http://gcc.gnu.org/wiki/Visibility
add_definitions(-fvisibility=hidden)
endif()
########################################################################
# Find boost
########################################################################
if(UNIX AND EXISTS "/usr/lib64")
list(APPEND BOOST_LIBRARYDIR "/usr/lib64") #fedora 64-bit fix
endif(UNIX AND EXISTS "/usr/lib64")
set(Boost_ADDITIONAL_VERSIONS
"1.35.0" "1.35" "1.36.0" "1.36" "1.37.0" "1.37" "1.38.0" "1.38" "1.39.0" "1.39"
"1.40.0" "1.40" "1.41.0" "1.41" "1.42.0" "1.42" "1.43.0" "1.43" "1.44.0" "1.44"
"1.45.0" "1.45" "1.46.0" "1.46" "1.47.0" "1.47" "1.48.0" "1.48" "1.49.0" "1.49"
"1.50.0" "1.50" "1.51.0" "1.51" "1.52.0" "1.52" "1.53.0" "1.53" "1.54.0" "1.54"
"1.55.0" "1.55" "1.56.0" "1.56" "1.57.0" "1.57" "1.58.0" "1.58" "1.59.0" "1.59"
"1.60.0" "1.60" "1.61.0" "1.61" "1.62.0" "1.62" "1.63.0" "1.63" "1.64.0" "1.64"
"1.65.0" "1.65" "1.66.0" "1.66" "1.67.0" "1.67" "1.68.0" "1.68" "1.69.0" "1.69"
)
find_package(Boost "1.35")
if(NOT Boost_FOUND)
message(FATAL_ERROR "Boost required to compile openLTE")
endif()
########################################################################
# Install directories
########################################################################
include(GrPlatform) #define LIB_SUFFIX
set(GR_RUNTIME_DIR bin)
set(GR_LIBRARY_DIR lib${LIB_SUFFIX})
set(GR_INCLUDE_DIR include)
set(GR_DATA_DIR share)
set(GR_PKG_DATA_DIR ${GR_DATA_DIR}/${CMAKE_PROJECT_NAME})
set(GR_DOC_DIR ${GR_DATA_DIR}/doc)
set(GR_PKG_DOC_DIR ${GR_DOC_DIR}/${CMAKE_PROJECT_NAME})
set(GR_CONF_DIR etc)
set(GR_PKG_CONF_DIR ${GR_CONF_DIR}/${CMAKE_PROJECT_NAME}/conf.d)
set(GR_LIBEXEC_DIR libexec)
set(GR_PKG_LIBEXEC_DIR ${GR_LIBEXEC_DIR}/${CMAKE_PROJECT_NAME})
set(GRC_BLOCKS_DIR ${GR_PKG_DATA_DIR}/grc/blocks)
########################################################################
# Find gnuradio build dependencies
########################################################################
find_package(Gruel)
find_package(GnuradioCore)
if(NOT GRUEL_FOUND)
message(FATAL_ERROR "Gruel required to compile openLTE")
endif()
if(NOT GNURADIO_CORE_FOUND)
message(FATAL_ERROR "GnuRadio Core required to compile openLTE")
endif()
########################################################################
# Setup the include and linker paths
########################################################################
include_directories(
${Boost_INCLUDE_DIRS}
${GRUEL_INCLUDE_DIRS}
${GNURADIO_CORE_INCLUDE_DIRS}
)
link_directories(
${Boost_LIBRARY_DIRS}
${GRUEL_LIBRARY_DIRS}
${GNURADIO_CORE_LIBRARY_DIRS}
)
########################################################################
# Create uninstall target
########################################################################
configure_file(
${CMAKE_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake
@ONLY)
add_custom_target(uninstall
${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake
)
########################################################################
# Add subdirectories
########################################################################
add_subdirectory(liblte)
add_subdirectory(LTE_fdd_dl_file_gen)
add_subdirectory(LTE_fdd_dl_file_scan)
......@@ -44,3 +44,4 @@ v00.06.04 Optimized the psuedo random sequence generator, added pre-configur
v00.06.05 Added SIB3, SIB4, and SIB8 support to the file_gen app, fixed a bug
in the PHICH mapping, fixed the file size bug with the file_gen app,
and pulled in a patch for 64 bit support.
v00.07.00 Moved from automake to cmake.
# Source
include(GrPlatform)
add_library(LTE_fdd_dl_fg SHARED src/LTE_fdd_dl_fg_samp_buf.cc)
include_directories(hdr ${CMAKE_SOURCE_DIR}/liblte/hdr ${CMAKE_SOURCE_DIR}/cmn_hdr)
target_link_libraries(LTE_fdd_dl_fg lte fftw3 ${Boost_LIBRARIES} ${GRUEL_LIBRARIES} ${GNURADIO_CORE_LIBRARIES})
set_target_properties(LTE_fdd_dl_fg PROPERTIES DEFINE_SYMBOL "LTE_fdd_dl_fg_EXPORTS")
install(TARGETS LTE_fdd_dl_fg LIBRARY DESTINATION lib${LIB_SUFFIX} ARCHIVE DESTINATION lib${LIB_SUFFIX} RUNTIME DESTINATION bin)
# Swig
find_package(SWIG)
find_package(PythonLibs)
if(NOT SWIG_FOUND OR NOT PYTHONLIBS_FOUND)
return()
endif()
include(GrSwig)
include(GrPython)
foreach(incdir ${GNURADIO_CORE_INCLUDE_DIRS})
list(APPEND GR_SWIG_INCLUDE_DIRS ${incdir}/swig)
endforeach(incdir)
foreach(incdir ${GRUEL_INCLUDE_DIRS})
list(APPEND GR_SWIG_INCLUDE_DIRS ${incdir}/gruel/swig)
endforeach(incdir)
set(GR_SWIG_LIBRARIES LTE_fdd_dl_fg)
GR_SWIG_MAKE(LTE_fdd_dl_fg src/LTE_fdd_dl_fg.i)
GR_SWIG_INSTALL(TARGETS LTE_fdd_dl_fg DESTINATION ${GR_PYTHON_DIR}/LTE_fdd_dl_fg)
install(FILES src/LTE_fdd_dl_fg.i DESTINATION ${GR_INCLUDE_DIR}/LTE_fdd_dl_fg/swig)
# Python
if(NOT PYTHONINTERP_FOUND)
return()
endif()
GR_PYTHON_INSTALL(FILES src/__init__.py DESTINATION ${GR_PYTHON_DIR}/LTE_fdd_dl_fg)
GR_PYTHON_INSTALL(PROGRAMS python/LTE_fdd_dl_file_gen.py DESTINATION bin)
# Copyright 2012 Ben Wojtowicz
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
include $(top_srcdir)/Makefile.common
INCLUDES = \
-Ihdr/ \
-I$(top_srcdir)/liblte/hdr/ \
-I$(top_srcdir)/cmn_hdr/
LTE_fdd_dl_fg_la_swig_sources = \
src/LTE_fdd_dl_fg_samp_buf.cc
LTE_fdd_dl_fg_la_swig_ldflags = \
-L$(top_srcdir)/liblte/lib/ \
-llte \
-lfftw3
TOP_SWIG_IFILES = \
src/LTE_fdd_dl_fg.i
LTE_fdd_dl_fg_pythondir_category = \
gnuradio
include $(top_srcdir)/Makefile.swig
BUILT_SOURCES = $(swig_built_sources)
no_dist_files = $(swig_built_sources)
This diff is collapsed.
/*******************************************************************************
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*******************************************************************************/
#ifndef __LTE_FDD_DL_FG_API_H__
#define __LTE_FDD_DL_FG_API_H__
/*******************************************************************************
INCLUDES
*******************************************************************************/
#include <gruel/attributes.h>
/*******************************************************************************
DEFINES
*******************************************************************************/
#ifdef LTE_fdd_dl_fg_EXPORTS
#define LTE_FDD_DL_FG_API __GR_ATTR_EXPORT
#else
#define LTE_FDD_DL_FG_API __GR_ATTR_IMPORT
#endif
/*******************************************************************************
FORWARD DECLARATIONS
*******************************************************************************/
/*******************************************************************************
TYPEDEFS
*******************************************************************************/
/*******************************************************************************
CLASS DECLARATIONS
*******************************************************************************/
#endif // __LTE_FDD_DL_FG_API_H__
/*******************************************************************************
Copyright 2012 Ben Wojtowicz
Copyright 2012-2013 Ben Wojtowicz
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
......@@ -30,16 +30,18 @@
input method to be "interactive"
12/26/2012 Ben Wojtowicz Added SIB3, SIB4, and SIB8 support and fixed
a file size bug
01/07/2013 Ben Wojtowicz Moved from automake to cmake
*******************************************************************************/
#ifndef __LTE_FDD_DL_FG_SAMP_BUF_H__
#define __LTE_FDD_DL_FG_SAMP_BUF_H__
/*******************************************************************************
INCLUDES
*******************************************************************************/
#include "LTE_fdd_dl_fg_api.h"
#include "gr_sync_block.h"
#include "liblte_phy.h"
#include "liblte_rrc.h"
......@@ -86,8 +88,8 @@ typedef boost::shared_ptr<LTE_fdd_dl_fg_samp_buf> LTE_fdd_dl_fg_samp_buf_sptr;
CLASS DECLARATIONS
*******************************************************************************/
LTE_fdd_dl_fg_samp_buf_sptr LTE_fdd_dl_fg_make_samp_buf();
class LTE_fdd_dl_fg_samp_buf : public gr_sync_block
LTE_FDD_DL_FG_API LTE_fdd_dl_fg_samp_buf_sptr LTE_fdd_dl_fg_make_samp_buf();
class LTE_FDD_DL_FG_API LTE_fdd_dl_fg_samp_buf : public gr_sync_block
{
public:
~LTE_fdd_dl_fg_samp_buf();
......@@ -97,7 +99,7 @@ public:
gr_vector_void_star &output_items);
private:
friend LTE_fdd_dl_fg_samp_buf_sptr LTE_fdd_dl_fg_make_samp_buf();
friend LTE_FDD_DL_FG_API LTE_fdd_dl_fg_samp_buf_sptr LTE_fdd_dl_fg_make_samp_buf();
LTE_fdd_dl_fg_samp_buf();
......
......@@ -6,7 +6,7 @@ from optparse import OptionParser
import LTE_fdd_dl_fg
import sys
class LTE_fdd_dl_file_gen (gr.top_block):
class LTE_fdd_dl_file_gen(gr.top_block):
def __init__(self):
gr.top_block.__init__(self)
......
/* -*- c++ -*- */
#define LTE_FDD_DL_FG_API
%include "gnuradio.i" // the common stuff
%{
#include "LTE_fdd_dl_fg_samp_buf.h"
%}
// ----------------------------------------------------------------
/*
* First arg is the package prefix.
* Second arg is the name of the class minus the prefix.
*
* This does some behind-the-scenes magic so we can
* access LTE_fdd_dl_fg_samp_buf from python as LTE_fdd_dl_fg.samp_buf
*/
GR_SWIG_BLOCK_MAGIC(LTE_fdd_dl_fg,samp_buf);
LTE_fdd_dl_fg_samp_buf_sptr LTE_fdd_dl_fg_make_samp_buf();
class LTE_fdd_dl_fg_samp_buf : public gr_block
{
private:
LTE_fdd_dl_fg_samp_buf();
};
%include "LTE_fdd_dl_fg_samp_buf.h"
/*******************************************************************************
Copyright 2012 Ben Wojtowicz
Copyright 2012-2013 Ben Wojtowicz
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
......@@ -33,6 +33,7 @@
12/26/2012 Ben Wojtowicz Added SIB3, SIB4, and SIB8 support, fixed a
file size bug, and pulled in a 64 bit bug fix
from Thomas Bertani.
01/07/2013 Ben Wojtowicz Moved from automake to cmake
*******************************************************************************/
......@@ -230,21 +231,22 @@ int32 LTE_fdd_dl_fg_samp_buf::work(int32 noutput_items,
gr_vector_const_void_star &input_items,
gr_vector_void_star &output_items)
{
float i_samp;
float q_samp;
int32 act_noutput_items;
uint32 out_idx;
uint32 loop_cnt;
uint32 i;
uint32 j;
uint32 k;
uint32 p;
uint32 N_sfr;
uint32 last_prb;
size_t line_size = LINE_MAX;
int8 *out = (int8 *)output_items[0];
char *line;
bool done = false;
float i_samp;
float q_samp;
int32 act_noutput_items;
uint32 out_idx;
uint32 loop_cnt;
uint32 i;
uint32 j;
uint32 k;
uint32 p;
uint32 N_sfr;
uint32 last_prb;
size_t line_size = LINE_MAX;
ssize_t N_line_chars;
int8 *out = (int8 *)output_items[0];
char *line;
bool done = false;
line = (char *)malloc(line_size);
if(need_config)
......@@ -253,7 +255,7 @@ int32 LTE_fdd_dl_fg_samp_buf::work(int32 noutput_items,
}
while(need_config)
{
getline(&line, &line_size, stdin);
N_line_chars = getline(&line, &line_size, stdin);
line[strlen(line)-1] = '\0';
change_config(line);
if(!need_config)
......
#
# Copyright 2008,2009 Free Software Foundation, Inc.
#
# This application is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# This application is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# The presence of this file turns this directory into a Python package
'''
This is the GNU Radio LTE_fdd_dl_fg module.
'''
# ----------------------------------------------------------------
# Temporary workaround for ticket:181 (swig+python problem)
import sys
_RTLD_GLOBAL = 0
try:
from dl import RTLD_GLOBAL as _RTLD_GLOBAL
except ImportError:
try:
from DLFCN import RTLD_GLOBAL as _RTLD_GLOBAL
except ImportError:
pass
if _RTLD_GLOBAL != 0:
_dlopenflags = sys.getdlopenflags()
sys.setdlopenflags(_dlopenflags|_RTLD_GLOBAL)
# ----------------------------------------------------------------
# import swig generated symbols into the LTE_fdd_dl_fg namespace
from LTE_fdd_dl_fg import *
# import any pure python here
#
# ----------------------------------------------------------------
# Tail of workaround
if _RTLD_GLOBAL != 0:
sys.setdlopenflags(_dlopenflags) # Restore original flags
# ----------------------------------------------------------------
# Source
include(GrPlatform)
add_library(LTE_fdd_dl_fs SHARED src/LTE_fdd_dl_fs_samp_buf.cc)
include_directories(hdr ${CMAKE_SOURCE_DIR}/liblte/hdr ${CMAKE_SOURCE_DIR}/cmn_hdr)
target_link_libraries(LTE_fdd_dl_fs lte fftw3 ${Boost_LIBRARIES} ${GRUEL_LIBRARIES} ${GNURADIO_CORE_LIBRARIES})
set_target_properties(LTE_fdd_dl_fs PROPERTIES DEFINE_SYMBOL "LTE_fdd_dl_fs_EXPORTS")
install(TARGETS LTE_fdd_dl_fs LIBRARY DESTINATION lib${LIB_SUFFIX} ARCHIVE DESTINATION lib${LIB_SUFFIX} RUNTIME DESTINATION bin)
# Swig
find_package(SWIG)
find_package(PythonLibs)
if(NOT SWIG_FOUND OR NOT PYTHONLIBS_FOUND)
return()
endif()
include(GrSwig)
include(GrPython)
foreach(incdir ${GNURADIO_CORE_INCLUDE_DIRS})
list(APPEND GR_SWIG_INCLUDE_DIRS ${incdir}/swig)
endforeach(incdir)
foreach(incdir ${GRUEL_INCLUDE_DIRS})
list(APPEND GR_SWIG_INCLUDE_DIRS ${incdir}/gruel/swig)
endforeach(incdir)
set(GR_SWIG_LIBRARIES LTE_fdd_dl_fs)
GR_SWIG_MAKE(LTE_fdd_dl_fs src/LTE_fdd_dl_fs.i)
GR_SWIG_INSTALL(TARGETS LTE_fdd_dl_fs DESTINATION ${GR_PYTHON_DIR}/LTE_fdd_dl_fs)
install(FILES src/LTE_fdd_dl_fs.i DESTINATION ${GR_INCLUDE_DIR}/LTE_fdd_dl_fs/swig)
# Python
if(NOT PYTHONINTERP_FOUND)
return()
endif()
GR_PYTHON_INSTALL(FILES src/__init__.py DESTINATION ${GR_PYTHON_DIR}/LTE_fdd_dl_fs)
GR_PYTHON_INSTALL(PROGRAMS python/LTE_fdd_dl_file_scan.py DESTINATION bin)
# Copyright 2012 Ben Wojtowicz
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
include $(top_srcdir)/Makefile.common
INCLUDES = \
-Ihdr/ \
-I$(top_srcdir)/liblte/hdr/ \
-I$(top_srcdir)/cmn_hdr/
LTE_fdd_dl_fs_la_swig_sources = \
src/LTE_fdd_dl_fs_samp_buf.cc
LTE_fdd_dl_fs_la_swig_ldflags = \
-L$(top_srcdir)/liblte/lib/ \
-llte \
-lfftw3
TOP_SWIG_IFILES = \
src/LTE_fdd_dl_fs.i
LTE_fdd_dl_fs_pythondir_category = \
gnuradio
include $(top_srcdir)/Makefile.swig
BUILT_SOURCES = $(swig_built_sources)
no_dist_files = $(swig_built_sources)
This diff is collapsed.
/*******************************************************************************
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*******************************************************************************/
#ifndef __LTE_FDD_DL_FS_API_H__
#define __LTE_FDD_DL_FS_API_H__
/*******************************************************************************
INCLUDES
*******************************************************************************/
#include <gruel/attributes.h>
/*******************************************************************************
DEFINES
*******************************************************************************/
#ifdef LTE_fdd_dl_fs_EXPORTS
#define LTE_FDD_DL_FS_API __GR_ATTR_EXPORT
#else
#define LTE_FDD_DL_FS_API __GR_ATTR_IMPORT
#endif
/*******************************************************************************
FORWARD DECLARATIONS
*******************************************************************************/
/*******************************************************************************
TYPEDEFS
*******************************************************************************/
/*******************************************************************************
CLASS DECLARATIONS
*******************************************************************************/
#endif // __LTE_FDD_DL_FS_API_H__
/*******************************************************************************
Copyright 2012 Ben Wojtowicz
Copyright 2012-2013 Ben Wojtowicz
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
......@@ -29,16 +29,18 @@
decoding of all SIBs.
11/10/2012 Ben Wojtowicz Using the latest libraries to decode more
than 1 eNB
01/07/2013 Ben Wojtowicz Moved from automake to cmake
*******************************************************************************/
#ifndef __LTE_FDD_DL_FS_SAMP_BUF_H__
#define __LTE_FDD_DL_FS_SAMP_BUF_H__
/*******************************************************************************
INCLUDES
*******************************************************************************/
#include "LTE_fdd_dl_fs_api.h"
#include "gr_sync_block.h"
#include "liblte_phy.h"
#include "liblte_rrc.h"
......@@ -74,8 +76,8 @@ typedef enum{
CLASS DECLARATIONS
*******************************************************************************/
LTE_fdd_dl_fs_samp_buf_sptr LTE_fdd_dl_fs_make_samp_buf ();
class LTE_fdd_dl_fs_samp_buf : public gr_sync_block
LTE_FDD_DL_FS_API LTE_fdd_dl_fs_samp_buf_sptr LTE_fdd_dl_fs_make_samp_buf ();
class LTE_FDD_DL_FS_API LTE_fdd_dl_fs_samp_buf : public gr_sync_block
{
public:
~LTE_fdd_dl_fs_samp_buf();
......@@ -85,7 +87,7 @@ public:
gr_vector_void_star &output_items);
private:
friend LTE_fdd_dl_fs_samp_buf_sptr LTE_fdd_dl_fs_make_samp_buf();
friend LTE_FDD_DL_FS_API LTE_fdd_dl_fs_samp_buf_sptr LTE_fdd_dl_fs_make_samp_buf();
LTE_fdd_dl_fs_samp_buf();
......
......@@ -6,7 +6,7 @@ from optparse import OptionParser
import LTE_fdd_dl_fs
import sys
class LTE_fdd_dl_file_scan (gr.top_block):
class LTE_fdd_dl_file_scan(gr.top_block):
def __init__(self):
gr.top_block.__init__(self)
......
/* -*- c++ -*- */
#define LTE_FDD_DL_FS_API
%include "gnuradio.i" // the common stuff
%{
#include "LTE_fdd_dl_fs_samp_buf.h"
%}
// ----------------------------------------------------------------
/*
* First arg is the package prefix.
* Second arg is the name of the class minus the prefix.
*
* This does some behind-the-scenes magic so we can
* access LTE_fdd_dl_fs_samp_buf from python as LTE_fdd_dl_fs.samp_buf
*/
GR_SWIG_BLOCK_MAGIC(LTE_fdd_dl_fs,samp_buf);
LTE_fdd_dl_fs_samp_buf_sptr LTE_fdd_dl_fs_make_samp_buf ();
class LTE_fdd_dl_fs_samp_buf : public gr_block
{
private:
LTE_fdd_dl_fs_samp_buf ();
};
%include "LTE_fdd_dl_fs_samp_buf.h"
#
# Copyright 2008,2009 Free Software Foundation, Inc.
#
# This application is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# This application is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# The presence of this file turns this directory into a Python package
'''
This is the GNU Radio LTE_fdd_dl_fs module.
'''
# ----------------------------------------------------------------
# Temporary workaround for ticket:181 (swig+python problem)