Coder Social home page Coder Social logo

gr-gsm's People

Contributors

777arc avatar ashmastaflash avatar aurelienduarte avatar axilirator avatar dholm avatar izsh avatar jacobagilbert avatar laf0rge avatar leommxj avatar loonydev avatar martinjlowm avatar maxifree avatar mnhauke avatar nightcoffee avatar petterreinholdtsen avatar pkrysik avatar ptrkrysik avatar romankh avatar stiabhan avatar velichkov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gr-gsm's Issues

GR-GSM usage

Hi I have the bladeRF and I am trying to collect some GSM data.
I have run airprobe_bladerf.grc and airprobe_rtlsdr.grc and I get the gui and I can see the 'wave' appear so I know my bladeRF is responding.
I don't get a stream of data appearing in my terminal however, and I dont see anything in wireshark. I think I have a base frequency at 960Mhz, but I was wondering if there is a clear way of knowing that it has found a frequency or not, so it is easier to know whether something is not working as expected, rather than just 'its not getting any data'

Thanks

Build problem on 14.10

Scanning dependencies of target gnuradio-gsm
[ 3%] Building CXX object lib/CMakeFiles/gnuradio-gsm.dir/receiver/receiver_impl.cc.o
[ 6%] Building CXX object lib/CMakeFiles/gnuradio-gsm.dir/receiver/receiver_config.cc.o
[ 9%] Building CXX object lib/CMakeFiles/gnuradio-gsm.dir/receiver/viterbi_detector.cc.o
[ 12%] Building C object lib/CMakeFiles/gnuradio-gsm.dir/receiver/sch.c.o
[ 15%] Building CXX object lib/CMakeFiles/gnuradio-gsm.dir/misc_utils/bursts_printer_impl.cc.o
[ 18%] Building CXX object lib/CMakeFiles/gnuradio-gsm.dir/misc_utils/extract_system_info_impl.cc.o
[ 21%] Building CXX object lib/CMakeFiles/gnuradio-gsm.dir/demapping/universal_ctrl_chans_demapper_impl.cc.o
[ 25%] Building CXX object lib/CMakeFiles/gnuradio-gsm.dir/demapping/get_bcch_or_ccch_bursts_impl.cc.o
[ 28%] Building CXX object lib/CMakeFiles/gnuradio-gsm.dir/decoding/control_channels_decoder_impl.cc.o
/home/dmaynor/code/gr-gsm/lib/decoding/control_channels_decoder_impl.cc: In member function ‘void gr::gsm::control_channels_decoder_impl::decode(pmt::pmt_t)’:
/home/dmaynor/code/gr-gsm/lib/decoding/control_channels_decoder_impl.cc:134:41: warning: iteration 27u invokes undefined behavior [-Waggressive-loop-optimizations]
outmsg[pos++] = c & 0xff;
^
/home/dmaynor/code/gr-gsm/lib/decoding/control_channels_decoder_impl.cc:130:12: note: containing loop
for(i = 0; i < sbuf_len; i += 8) {
^
[ 31%] Building C object lib/CMakeFiles/gnuradio-gsm.dir/decoding/cch.c.o
[ 34%] Building C object lib/CMakeFiles/gnuradio-gsm.dir/decoding/fire_crc.c.o
[ 37%] Building CXX object lib/CMakeFiles/gnuradio-gsm.dir/misc_utils/controlled_rotator_cc_impl.cc.o
[ 40%] Building CXX object lib/CMakeFiles/gnuradio-gsm.dir/misc_utils/controlled_const_source_f_impl.cc.o
[ 43%] Building CXX object lib/CMakeFiles/gnuradio-gsm.dir/misc_utils/message_printer_impl.cc.o
/home/dmaynor/code/gr-gsm/lib/misc_utils/message_printer_impl.cc: In member function ‘void gr::gsm::message_printer_impl::message_print(pmt::pmt_t)’:
/home/dmaynor/code/gr-gsm/lib/misc_utils/message_printer_impl.cc:44:52: error: ‘printf’ was not declared in this scope
printf(" %02x", message_plus_header[ii]);
^
lib/CMakeFiles/gnuradio-gsm.dir/build.make:353: recipe for target 'lib/CMakeFiles/gnuradio-gsm.dir/misc_utils/message_printer_impl.cc.o' failed
make[2]: *** [lib/CMakeFiles/gnuradio-gsm.dir/misc_utils/message_printer_impl.cc.o] Error 1
CMakeFiles/Makefile2:205: recipe for target 'lib/CMakeFiles/gnuradio-gsm.dir/all' failed
make[1]: *** [lib/CMakeFiles/gnuradio-gsm.dir/all] Error 2
Makefile:123: recipe for target 'all' failed
make: *** [all] Error 2

ctrl channel demapper - Issue with multiple instances

I am using a customized variant of airprobe_file with a recorded file of a bts with non-combined channel config.

In GRC, i have two ctrl channel demapper + decoder, one for TS0 and one for TS1.

The demapper config of the TS0 demapper is
timeslot_nr: 0
starts_fn_mod51: [2,6,12,16,22,26,32,36,42,46]
channel_types: [BCCH,CCCH,CCCH,CCCH,CCCH,CCCH,CCCH,CCCH,CCCH,CCCH]

and the config for TS
timeslot_nr: 1
starts_fn_mod51: [0,4,8,12,16,20,24,28,32,36,40,44]
channel_types: [SDCCH, SDCCH, SDCCH, SDCCH, SDCCH, SDCCH, SDCCH, SDCCH,SACCH,SACCH,SACCH,SACCH]

where BCCH = 1, CCCH = 2, SDCCH = 8 and SACCH = 136

If both demappers are enabled, i have the following issue:
Some bursts of TS1 are assigned the gsmtap sub_type (Channel type in wireshark) CCCH instead of SDCCH or SACCH for some reason. If the demapper for TS 0 is disabled, the bursts are assigned the correct channel type.

It looks like those bursts were handled by the wrong demapper despite the fact, that the gsmtap header is assigned the correct timeslot.

Make errors when installing with Gqrx PPA install

Hi All,
I'm rather new to the Linux environment so bare with me. I decided to go the Gqrx PPa route to install gnuradio. When I try to make gr-gsm, I get several errors indicated that the cmake checklist can't find gnuradio and dependencies. Could someone give me exact instructions on how to set the path for gnuradio and cmake modules? Here's the error output:

-- Build type not specified: defaulting to release.
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- filesystem
-- system
CMake Warning at CMakeLists.txt:92 (find_package):
By not providing "FindGnuradio.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Gnuradio",
but CMake did not find one.

Could not find a package configuration file provided by "Gnuradio" with any
of the following names:

GnuradioConfig.cmake
gnuradio-config.cmake

Add the installation prefix of "Gnuradio" to CMAKE_PREFIX_PATH or set
"Gnuradio_DIR" to a directory containing one of the above files. If
"Gnuradio" provides a separate development package or SDK, be sure it has
been installed.

-- checking for module 'volk'
-- package 'volk' not found
-- Could NOT find VOLK (missing: VOLK_LIBRARIES VOLK_INCLUDE_DIRS)
CMake Error at CMakeLists.txt:98 (message):
GnuRadio Runtime required to compile gr-gsm

-- Configuring incomplete, errors occurred!

Proposal: Wrapping universal control channel demapper

Hi @ptrkrysik,

I'll keep spamming you with issues for a while :)
We already talked about wrapping the universal control channel demapper.
The issue is straight-forward, I just created 3 Blocks, where I hide the params starts_fn_mod51 and channel_types, and set them to values depending on their usage. The params just go to universal_ctrl_chans_demapper as before.

I have made 3 of them:
gsm_bcch_ccch_demapper (BCCH + CCCH demapper)
gsm_bcch_ccch_sdcch4_demapper (BCCH + CCCH + SDCCH/4 demapper)
gsm_sdcch8_demapper (SDCCH/8 demapper)

What do you think about the naming ?

Error while starting airprobe_rtldsr.py

Hi,

I have followed your instructions from a base system working with the old airprobe and while trying to use gr-gsm the error Im pasting below started to appear, I have done a clean install and install using pybombs of the packages you specify but the error still appear. Any idea of whats going on? rtl_sdr seems to be working fine.

Traceback (most recent call last):
File "/usr/local/bin/airprobe_rtlsdr.py", line 20, in
import osmosdr
File "/usr/local/lib/python2.7/dist-packages/osmosdr/init.py", line 26, in
from osmosdr_swig import *
File "/usr/local/lib/python2.7/dist-packages/osmosdr/osmosdr_swig.py", line 28, in
_osmosdr_swig = swig_import_helper()
File "/usr/local/lib/python2.7/dist-packages/osmosdr/osmosdr_swig.py", line 24, in swig_import_helper
_mod = imp.load_module('_osmosdr_swig', fp, pathname, description)
ImportError: /usr/local/lib/libgnuradio-osmosdr-0.1.5git.so.0.0.0: undefined symbol: _ZN3uhd6device4findERKNS_13device_addr_tENS0_15device_filter_tE

airprobe_rtlsdr.py

Hi,

I have tried to use airprobe_rtlsdr.py with the errors below and with a couple of test captures I did but nothing appears on wireshark listenning on lo, maybe im missing something?

linux; GNU C++ version 4.8.2; Boost_105400; UHD_003.008.001-42-g8c87a524

gr-osmosdr v0.1.4-8-g46bb1ad1 (0.1.5git) gnuradio 3.7.6git-276-gc67281b6
built-in source types: file osmosdr fcd rtl rtl_tcp uhd hackrf bladerf rfspace
Using FUNcube Dongle V2.0 (hw:1)
Using Volk machine: sse4_1_32
Traceback (most recent call last):
File "/usr/local/bin/airprobe_rtlsdr.py", line 292, in
tb.start()
File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/top_block.py", line 106, in start
top_block_start_unlocked(self._impl, max_noutput_items)
File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/runtime_swig.py", line 3598, in top_block_start_unlocked
return _runtime_swig.top_block_start_unlocked(_args, *_kwargs)
RuntimeError: resolve_port: hierarchical block 'fcd_source_c': output 0 is not connected internally

Your kind direction will be greatly appreciated.

thank you and enjoy the season

Rex

[Failed] $ sudo ./pybombs install gr-gsm

I was installing the file, and the build failed. These are the last few lines that were outputted to the screen:

[100%] Building CXX object gr-trellis/lib/CMakeFiles/gnuradio-trellis.dir/siso_f_impl.cc.o
[100%] Building CXX object gr-trellis/lib/CMakeFiles/gnuradio-trellis.dir/siso_combined_f_impl.cc.o
Linking CXX shared library libgnuradio-trellis-3.7.8git.so
[100%] Built target gnuradio-trellis
Scanning dependencies of target _trellis_swig
[100%] Building CXX object gr-trellis/swig/CMakeFiles/_trellis_swig.dir/trellis_swigPYTHON_wrap.cxx.o
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-4.7/README.Bugs for instructions.
make[2]: *** [gr-digital/swig/CMakeFiles/_digital_swig.dir/digital_swigPYTHON_wrap.cxx.o] Error 4
make[1]: *** [gr-digital/swig/CMakeFiles/_digital_swig.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Linking CXX shared module _trellis_swig.so
[100%] Built target _trellis_swig
make: *** [all] Error 2
Build failed. See output above for error messages.

The machine is the Offensive Security image of Kali Linux 1.1.0, where all the packages were up to date as of about 11 pm Sunday May the 3rd 2015. I allocated 8 gb of memory and 2 cpu cores, because the build failed earlier with the default 2gb, saying the virtual machine had run out of memory.

I saved all my inputs and outputs from this session if they are necessary. I can also post the output of any logs if needed.

cannot get airprobe to work

Hello, whenever I start airprobe_rtlsdr.py it opens, but the spectrum doesn't run, and it says it cannot find any compatible devices, due to gnuradio error code 528. I did not install this via pybombs.

OS X compile

Could not compile under OSX without changing
decryption_impl.cc

  • bool uplink_burst = (be16toh(header->arfcn) & 0x4000) ? true : false;
    +bool uplink_burst = ((header->arfcn) & 0x4000) ? true : false;
    bursts_printer_impl.cc
    • frame_nr = be32toh(header->frame_number);
    • frame_nr = (header->frame_number);

Decode & Decrypt

Any plans to work on receiving other than 0 TS, decode & decrypt ?
I would like to contribute.

Installing error

I tried to install gr-gsm on debian 7.8 following the instructions and I got the error:


Installing packages:

  • hackrf
  • autoconf
  • libtool
  • automake
  • libosmo-dsp
  • gr-iqbal
  • bladeRF
  • gr-osmosdr
  • liblog4cpp
  • gr-gsm
    Installing from source: hackrf
    -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
    -- Could NOT find LIBUSB (missing: LIBUSB_INCLUDE_DIR)
    -- Udev rules not being installed, install them with -DINSTALL_UDEV_RULES=ON
    CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
    Please set them or make sure they are set and tested correctly in the CMake files:
    LIBUSB_INCLUDE_DIR (ADVANCED)
    used as include directory in directory /home/marco/Software/pybombs/src/hackrf/host/libhackrf/src
    used as include directory in directory /home/marco/Software/pybombs/src/hackrf/host/libhackrf/src

-- Configuring incomplete, errors occurred!
Configuration failed. Re-trying with higher verbosity.
make: *** No targets specified and no makefile found. Stop.

Build failed. See output above for error messages.

How can I resolve?

Error during install: fatal: reference repository

Hello Everyone,
I am first time working with pybombs and facing this error while gr gsm installation:---
Using gitcache at /usr/local/
fatal: reference repository '/usr/local/' is not a local directory.
fatal: reference repository '/usr/local/' is not a local directory.
fatal: reference repository '/usr/local/' is not a local directory.


This is what my pybombs setting looks like:
Settled on prefix: /usr/local
Initializing environmental variables...
False
None
Loading recipes ...
gituser = root
gitcache = /usr/local/
gitoptions = --single-branch
prefix = /usr/local/
satisfy_order = deb,src
forcepkgs =
forcebuild = gnuradio,uhd,gr-air-modes,gr-osmosdr,gr-iqbal,gr-fcdproplus,uhd,rtl-sdr,osmo-sdr,hackrf,gqrx,bladerf,airspy
timeout = 30
cmakebuildtype = RelWithDebInfo
builddocs = OFF
cc = gcc
cxx = g++
makewidth = 4
static = False


please help somone!

HEAD does not build without NDEBUG

The assert macro in lib/receiver/assert.h throws a type called Assertion but that type is not defined anywhere in the code.

boost/thread/pthread/mutex.hpp:293:17: error: use of undeclared identifier 'Assertion'
                BOOST_ASSERT(!cond_res);
                ^
boost/assert.hpp:56:29: note: expanded from macro 'BOOST_ASSERT'
# define BOOST_ASSERT(expr) assert(expr)
                            ^
gr-gsm/lib/receiver/assert.h:64:109: note: expanded from macro 'assert'
#define assert(E) { if (!(E)) { fprintf(stderr,"%s:%u failed assertion '%s'\n",__FILE__,__LINE__,#E); throw Assertion(); } }

Build problem on Kali 3.14

Get the following on make:

[ 3%] Building CXX object lib/CMakeFiles/gnuradio-gsm.dir/misc_utils/extract_system_info_impl.cc.o
In file included from /root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:31:0:
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.h:68:7: error: ‘set’ in namespace ‘std’ does not name a type
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc: In member function ‘void gr::gsm::extract_system_info_impl::process_bursts(pmt::pmt_t)’:
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:51:9: error: ‘set’ is not a member of ‘std’
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:51:27: error: expected primary-expression before ‘,’ token
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:51:39: error: expected primary-expression before ‘>’ token
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:51:40: error: ‘::iterator’ has not been declared
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:51:40: note: suggested alternatives:
In file included from /usr/include/c++/4.7/bits/stl_algobase.h:66:0,
from /usr/include/c++/4.7/memory:64,
from /usr/include/boost/config/no_tr1/memory.hpp:21,
from /usr/include/boost/smart_ptr/shared_ptr.hpp:27,
from /usr/include/boost/shared_ptr.hpp:17,
from /usr/local/include/gnuradio/types.h:27,
from /usr/local/include/gnuradio/runtime_types.h:27,
from /usr/local/include/gnuradio/io_signature.h:27,
from /root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:27:
/usr/include/c++/4.7/bits/stl_iterator_base_types.h:119:12: note: ‘std::iterator’
/usr/include/c++/4.7/bits/stl_iterator_base_types.h:119:12: note: ‘std::iterator’
In file included from /usr/include/boost/operators.hpp:86:0,
from /usr/include/boost/date_time/time_duration.hpp:13,
from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:16,
from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13,
from /usr/include/boost/date_time/posix_time/ptime.hpp:12,
from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12,
from /usr/include/boost/thread/thread_time.hpp:11,
from /usr/include/boost/thread/locks.hpp:12,
from /usr/include/boost/thread/pthread/mutex.hpp:12,
from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/thread/pthread/thread_data.hpp:12,
from /usr/include/boost/thread/thread.hpp:17,
from /usr/local/include/gnuradio/thread/thread.h:26,
from /usr/local/include/gnuradio/basic_block.h:31,
from /usr/local/include/gnuradio/block.h:27,
from /root/Play/gr-gsm/include/gsm/misc_utils/extract_system_info.h:28,
from /root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.h:26,
from /root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:31:
/usr/include/boost/iterator.hpp:55:10: note: ‘boost::iterator’
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:51:51: error: expected ‘;’ before ‘iter’
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:54:12: error: ‘iter’ was not declared in this scope
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:54:20: error: ‘d_c0_channels’ was not declared in this scope
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:61:9: error: ‘d_c0_channels’ was not declared in this scope
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc: In member function ‘void gr::gsm::extract_system_info_impl::process_sysinfo(pmt::pmt_t)’:
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:79:13: error: ‘set’ is not a member of ‘std’
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:79:31: error: expected primary-expression before ‘,’ token
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:79:43: error: expected primary-expression before ‘>’ token
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:79:44: error: ‘::iterator’ has not been declared
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:79:44: note: suggested alternatives:
In file included from /usr/include/c++/4.7/bits/stl_algobase.h:66:0,
from /usr/include/c++/4.7/memory:64,
from /usr/include/boost/config/no_tr1/memory.hpp:21,
from /usr/include/boost/smart_ptr/shared_ptr.hpp:27,
from /usr/include/boost/shared_ptr.hpp:17,
from /usr/local/include/gnuradio/types.h:27,
from /usr/local/include/gnuradio/runtime_types.h:27,
from /usr/local/include/gnuradio/io_signature.h:27,
from /root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:27:
/usr/include/c++/4.7/bits/stl_iterator_base_types.h:119:12: note: ‘std::iterator’
/usr/include/c++/4.7/bits/stl_iterator_base_types.h:119:12: note: ‘std::iterator’
In file included from /usr/include/boost/operators.hpp:86:0,
from /usr/include/boost/date_time/time_duration.hpp:13,
from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:16,
from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13,
from /usr/include/boost/date_time/posix_time/ptime.hpp:12,
from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12,
from /usr/include/boost/thread/thread_time.hpp:11,
from /usr/include/boost/thread/locks.hpp:12,
from /usr/include/boost/thread/pthread/mutex.hpp:12,
from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/thread/pthread/thread_data.hpp:12,
from /usr/include/boost/thread/thread.hpp:17,
from /usr/local/include/gnuradio/thread/thread.h:26,
from /usr/local/include/gnuradio/basic_block.h:31,
from /usr/local/include/gnuradio/block.h:27,
from /root/Play/gr-gsm/include/gsm/misc_utils/extract_system_info.h:28,
from /root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.h:26,
from /root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:31:
/usr/include/boost/iterator.hpp:55:10: note: ‘boost::iterator’
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:79:55: error: expected ‘;’ before ‘iter’
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:81:16: error: ‘iter’ was not declared in this scope
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:81:24: error: ‘d_c0_channels’ was not declared in this scope
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:84:13: error: ‘d_c0_channels’ was not declared in this scope
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:95:13: error: ‘set’ is not a member of ‘std’
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:95:31: error: expected primary-expression before ‘,’ token
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:95:43: error: expected primary-expression before ‘>’ token
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:95:44: error: ‘::iterator’ has not been declared
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:95:44: note: suggested alternatives:
In file included from /usr/include/c++/4.7/bits/stl_algobase.h:66:0,
from /usr/include/c++/4.7/memory:64,
from /usr/include/boost/config/no_tr1/memory.hpp:21,
from /usr/include/boost/smart_ptr/shared_ptr.hpp:27,
from /usr/include/boost/shared_ptr.hpp:17,
from /usr/local/include/gnuradio/types.h:27,
from /usr/local/include/gnuradio/runtime_types.h:27,
from /usr/local/include/gnuradio/io_signature.h:27,
from /root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:27:
/usr/include/c++/4.7/bits/stl_iterator_base_types.h:119:12: note: ‘std::iterator’
/usr/include/c++/4.7/bits/stl_iterator_base_types.h:119:12: note: ‘std::iterator’
In file included from /usr/include/boost/operators.hpp:86:0,
from /usr/include/boost/date_time/time_duration.hpp:13,
from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:16,
from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13,
from /usr/include/boost/date_time/posix_time/ptime.hpp:12,
from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12,
from /usr/include/boost/thread/thread_time.hpp:11,
from /usr/include/boost/thread/locks.hpp:12,
from /usr/include/boost/thread/pthread/mutex.hpp:12,
from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/thread/pthread/thread_data.hpp:12,
from /usr/include/boost/thread/thread.hpp:17,
from /usr/local/include/gnuradio/thread/thread.h:26,
from /usr/local/include/gnuradio/basic_block.h:31,
from /usr/local/include/gnuradio/block.h:27,
from /root/Play/gr-gsm/include/gsm/misc_utils/extract_system_info.h:28,
from /root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.h:26,
from /root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:31:
/usr/include/boost/iterator.hpp:55:10: note: ‘boost::iterator’
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:95:55: error: expected ‘;’ before ‘iter’
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:97:16: error: ‘iter’ was not declared in this scope
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:97:24: error: ‘d_c0_channels’ was not declared in this scope
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:103:13: error: ‘d_c0_channels’ was not declared in this scope
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc: In member function ‘virtual void gr::gsm::extract_system_info_impl::show()’:
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:108:38: error: ‘d_c0_channels’ was not declared in this scope
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc: In member function ‘virtual std::vector gr::gsm::extract_system_info_impl::get_chans()’:
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:119:38: error: ‘d_c0_channels’ was not declared in this scope
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc: In member function ‘virtual std::vector gr::gsm::extract_system_info_impl::get_lac()’:
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:132:38: error: ‘d_c0_channels’ was not declared in this scope
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc: In member function ‘virtual std::vector gr::gsm::extract_system_info_impl::get_mnc()’:
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:144:38: error: ‘d_c0_channels’ was not declared in this scope
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc: In member function ‘virtual std::vector gr::gsm::extract_system_info_impl::get_cell_id()’:
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:156:38: error: ‘d_c0_channels’ was not declared in this scope
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc: In member function ‘virtual std::vector gr::gsm::extract_system_info_impl::get_pwrs()’:
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:169:38: error: ‘d_c0_channels’ was not declared in this scope
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc: In member function ‘virtual void gr::gsm::extract_system_info_impl::reset()’:
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:182:9: error: ‘set’ is not a member of ‘std’
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:182:27: error: expected primary-expression before ‘,’ token
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:182:39: error: expected primary-expression before ‘>’ token
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:182:40: error: ‘::iterator’ has not been declared
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:182:40: note: suggested alternatives:
In file included from /usr/include/c++/4.7/bits/stl_algobase.h:66:0,
from /usr/include/c++/4.7/memory:64,
from /usr/include/boost/config/no_tr1/memory.hpp:21,
from /usr/include/boost/smart_ptr/shared_ptr.hpp:27,
from /usr/include/boost/shared_ptr.hpp:17,
from /usr/local/include/gnuradio/types.h:27,
from /usr/local/include/gnuradio/runtime_types.h:27,
from /usr/local/include/gnuradio/io_signature.h:27,
from /root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:27:
/usr/include/c++/4.7/bits/stl_iterator_base_types.h:119:12: note: ‘std::iterator’
/usr/include/c++/4.7/bits/stl_iterator_base_types.h:119:12: note: ‘std::iterator’
In file included from /usr/include/boost/operators.hpp:86:0,
from /usr/include/boost/date_time/time_duration.hpp:13,
from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:16,
from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13,
from /usr/include/boost/date_time/posix_time/ptime.hpp:12,
from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12,
from /usr/include/boost/thread/thread_time.hpp:11,
from /usr/include/boost/thread/locks.hpp:12,
from /usr/include/boost/thread/pthread/mutex.hpp:12,
from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/thread/pthread/thread_data.hpp:12,
from /usr/include/boost/thread/thread.hpp:17,
from /usr/local/include/gnuradio/thread/thread.h:26,
from /usr/local/include/gnuradio/basic_block.h:31,
from /usr/local/include/gnuradio/block.h:27,
from /root/Play/gr-gsm/include/gsm/misc_utils/extract_system_info.h:28,
from /root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.h:26,
from /root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:31:
/usr/include/boost/iterator.hpp:55:10: note: ‘boost::iterator’
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:182:51: error: expected ‘;’ before ‘iter’
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:186:13: error: ‘iter’ was not declared in this scope
/root/Play/gr-gsm/lib/misc_utils/extract_system_info_impl.cc:186:20: error: ‘d_c0_channels’ was not declared in this scope
make[2]: *** [lib/CMakeFiles/gnuradio-gsm.dir/misc_utils/extract_system_info_impl.cc.o] Error 1
make[1]: *** [lib/CMakeFiles/gnuradio-gsm.dir/all] Error 2
make: *** [all] Error 2

Error in Parrot Security OS.

I just installed Parrot Security OS, which based on Debian, and use MATE desktop environment.
After install gr-gsm using pybombs, and run airprobe_rtlsdr.py, it says:

┌─[root@parrotsec]─[/usr/local/bin]
└──╼ #./airprobe_rtlsdr.py
linux; GNU C++ version 4.9.2; Boost_105500; UHD_003.009.git-144-g407e3086

gr-osmosdr v0.1.4-21-gbe9af0fe (0.1.5git) gnuradio 3.7.8git-129-gefd2116f
built-in source types: file osmosdr fcd rtl rtl_tcp uhd hackrf rfspace

Then nothing happend. No windows display.
After waiting some minutes, I press Ctrl+C, it interrupt:

^CUsing device #0 Realtek RTL2838UHIDIR SN: 00000001
Found Rafael Micro R820T tuner
Traceback (most recent call last):
File "./airprobe_rtlsdr.py", line 341, in
tb = airprobe_rtlsdr(fc=options.fc, gain=options.gain, samp_rate=options.samp_rate, ppm=options.ppm)
File "./airprobe_rtlsdr.py", line 133, in init
self.rtlsdr_source_0 = osmosdr.source( args="numchan=" + str(1) + " " + "" )
File "/usr/local/lib/python2.7/dist-packages/osmosdr/osmosdr_swig.py", line 954, in make
return _osmosdr_swig.source_make(args)
KeyboardInterrupt

What's the problem? Is it because the MATE desktop env? Can it be solved?
BTW, gr-gsm runs OK on my kali.
Thank's.

Does not work for me.

I have followed the directions, yet when I try to run airprobe_rtlsdr.py the following is returned

Traceback (most recent call last):
File "/usr/local/bin/airprobe_rtlsdr.py", line 19, in
import osmosdr
File "/usr/lib/python2.7/dist-packages/osmosdr/init.py", line 45, in
from osmosdr_swig import *
File "/usr/lib/python2.7/dist-packages/osmosdr/osmosdr_swig.py", line 26, in
_osmosdr_swig = swig_import_helper()
File "/usr/lib/python2.7/dist-packages/osmosdr/osmosdr_swig.py", line 22, in swig_import_helper
_mod = imp.load_module('_osmosdr_swig', fp, pathname, description)
ImportError: /usr/lib/x86_64-linux-gnu/libgnuradio-osmosdr-0.0.3git.so.0.0.0: undefined symbol: _ZN3uhd6device4findERKNS_13device_addr_tE

gnuradio 3.6.5.1-1kali0

I have tried to force install as well... just not happening... suggestions?

gr-gsm is so slow to open the airprobe GUI :(

Hi,
I'm trying to run your gr-gsm python script but it takes a lot to start.

My terminal shows this output for about 15 minutes, then the airprobe GUI appears.

└──╼ $airprobe_rtlsdr.py
linux; GNU C++ version 4.7.2; Boost_105300; UHD_003.008.002-160-g3f0b770a

"gr-osmosdr v0.1.4-16-g61184a19 (0.1.5git) gnuradio v3.7.6.1-327-g1f25ff92
built-in source types: file osmosdr fcd rtl rtl_tcp uhd hackrf bladerf rfspace"

Can I do something to fix this delay?

Thank you

Issue with installation

Hello,

I have followed the installation instructions but it seems that something is wrong. This is the first time I deal with pybombs and I am not sure if everything is correct:

$sudo ./pybombs install gr-gsm
Settled on prefix: /usr/local
Initializing environmental variables...
no existing inventory found, creating an empty one...
value updated
False
None
Loading recipes ...
/usr/local/
Installing packages:

  • uhd

  • wxpython

  • pycairo

  • gnuradio

  • rtl-sdr

  • osmo-sdr

  • hackrf

  • libosmo-dsp

  • gr-iqbal

  • bladeRF

  • gr-osmosdr

  • gr-gsm
    Installing from source: uhd
    no existing inventory found, creating an empty one...
    Cloning into 'uhd'...
    remote: Counting objects: 48900, done.
    remote: Compressing objects: 100% (54/54), done.
    remote: Total 48900 (delta 23), reused 0 (delta 0), pack-reused 48846
    Receiving objects: 100% (48900/48900), 94.38 MiB | 844.00 KiB/s, done.
    Resolving deltas: 100% (37037/37037), done.
    Checking connectivity... done.
    no existing inventory found, creating an empty one...

    CC=gcc CXX=g++ cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr/local/

Configuring: (100%) [==========================================================]
Building: (100%) [==========================================================]

make install

Installing: (100%) [===========================================================]
installation ok via: src
Installing from source: wxpython
--2015-04-09 18:15:18-- http://prdownloads.sourceforge.net/wxpython/wxPython-src-2.8.11.0.tar.bz2
Resolving prdownloads.sourceforge.net (prdownloads.sourceforge.net)... 216.34.181.59
Connecting to prdownloads.sourceforge.net (prdownloads.sourceforge.net)|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://downloads.sourceforge.net/project/wxpython/wxPython/2.8.11.0/wxPython-src-2.8.11.0.tar.bz2 [following]
--2015-04-09 18:15:19-- http://downloads.sourceforge.net/project/wxpython/wxPython/2.8.11.0/wxPython-src-2.8.11.0.tar.bz2
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.34.181.59
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://kent.dl.sourceforge.net/project/wxpython/wxPython/2.8.11.0/wxPython-src-2.8.11.0.tar.bz2 [following]
--2015-04-09 18:15:19-- http://kent.dl.sourceforge.net/project/wxpython/wxPython/2.8.11.0/wxPython-src-2.8.11.0.tar.bz2
Resolving kent.dl.sourceforge.net (kent.dl.sourceforge.net)... 212.219.56.185
Connecting to kent.dl.sourceforge.net (kent.dl.sourceforge.net)|212.219.56.185|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 30604503 (29M) [application/octet-stream]
Saving to: ‘wxPython-src-2.8.11.0.tar.bz2’

wxPython-src-2.8.11.0.tar.bz2 100%[===================================================>] 29,19M 434KB/s in 58s

2015-04-09 18:16:18 (515 KB/s) - ‘wxPython-src-2.8.11.0.tar.bz2’ saved [30604503/30604503]

Extract wxPython-src-2.8.11.0.tar.bz2

./configure --prefix=/usr/local/  --disable-unicode  CC=gcc CXX=g++

Configuring: (100%) [==========================================================]
Building: (100%) [==========================================================]

make install && \
make -C contrib/src/gizmos install && \
make -C contrib/src/stc install && \
cd wxPython && python setup.py install --prefix=/usr/local/ WXPORT=gtk2 UNICODE=0 BUILD_GLCANVAS=0

Installing: (100%) [===========================================================]

/gr-gsm/apps$ python airprobe_rtlsdr.py
Traceback (most recent call last):
File "airprobe_rtlsdr.py", line 18, in
import grgsm
ImportError: No module named grgsm

Scanning a frequency range

I would like to easily scan a frequency range for C0s, and extract the most interesting parts of the system information messages

I am aware of the system information extractor, which I probably would extend to extract more information. But what is the Gnuradio-way to iterate through the channels ?
Before I start reinventing the wheel, can this already be done using some default block ? Scanning a frequency range with given steps sounds pretty common to me

Proposal: channel hopping

Dear all,

I'm trying to implement real time channel hopping for gr-gsm. Here are some approaches that I considered:

  • Capture a wide portion of the spectrum, channelize using the Polyphase Channelizer block and then parse all channels simultaneously similar to how it is done in this project: https://github.com/BogdanDIA/airprobe-hopping. The disadvantage of this approach is that doing this in real time is very expensive, and in my opinion infeasible. Could be handy though when decoding from a file instead of real time.
  • Parse an Immediate Assignment, calculate the hopping sequence and "follow" it in the same way an ordinary phone would. Currently I have a basic implementation that does this by parsing the Immediate Assignment and communicating the frequency to the Source block over Unix domain sockets. However, I'm not sure whether this is fast enough considering the switch must happen in 1ms.

In any case, I'm currently stuck with parsing the first hop to a SDCCH channel. I tried using the TCH/F demapper from this branch but I'm not getting any data in Wireshark. I was expecting to see some control data or occasional packets from phones hopping to the channel in question. Is decoding the SDCCH already supported? If not I would be happy to help :).

GSMTAP Signal Level = 0

Hi,
I've been using gr-gsm for a while now on E4000 based dongle and it's great, however when I'm looking at packets in wireshark every single one of them has signal level equal to 0 in GSM TAP header. Is that intended? (NSR values range from 220 to 228)

gr-gsm make fails on RPi2

Hi, all dependencies are installed, along with gnuradio 3.7.5, though I'm getting this error when trying to make:

$ sudo make
[ 2%] Building CXX object lib/CMakeFiles/gnuradio-gsm.dir/decoding/tch_f_decoder_impl.cc.o
In file included from /home/pi/gr-gsm/lib/decoding/tch_f_decoder_impl.cc:30:0:
/home/pi/gr-gsm/lib/decoding/tch_f_decoder_impl.h:56:55: error: a brace-enclosed initializer is not allowed here before ‘{’ token
/home/pi/gr-gsm/lib/decoding/tch_f_decoder_impl.h:56:92: error: ISO C++ forbids initialization of member ‘amr_nb_magic’ [-fpermissive]
/home/pi/gr-gsm/lib/decoding/tch_f_decoder_impl.h:56:92: error: making ‘amr_nb_magic’ static [-fpermissive]
/home/pi/gr-gsm/lib/decoding/tch_f_decoder_impl.h:56:92: error: invalid in-class initialization of static data member of non-integral type ‘const unsigned char [6]’
/home/pi/gr-gsm/lib/decoding/tch_f_decoder_impl.cc: In constructor ‘gr::gsm::tch_f_decoder_impl::tch_f_decoder_impl(gr::gsm::tch_mode, const string&)’:
/home/pi/gr-gsm/lib/decoding/tch_f_decoder_impl.cc:62:20: error: ‘amr_nb_magic’ was not declared in this scope
lib/CMakeFiles/gnuradio-gsm.dir/build.make:353: recipe for target 'lib/CMakeFiles/gnuradio-gsm.dir/decoding/tch_f_decoder_impl.cc.o' failed
make[2]: *** [lib/CMakeFiles/gnuradio-gsm.dir/decoding/tch_f_decoder_impl.cc.o] Error 1
CMakeFiles/Makefile2:208: recipe for target 'lib/CMakeFiles/gnuradio-gsm.dir/all' failed
make[1]: *** [lib/CMakeFiles/gnuradio-gsm.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Any thoughts on how this could be fixed?

TCH/F demapper block

Hi @ptrkrysik,

as mentioned in an other conversation, i started an implementation of a demapper block for TCH/F.
I orientated the implementation very much on your universal_ctrl_channel_demapper.

Here some of the cornerstones of my approach:

  • The demapper is not as general as universal_ctrl_channel_demapper, i dont built any configuration options in. So one cannot configure the channel types in the 26-multiframe, there are just 2_3_4 bursts plus 1 SACCH/TF burst, which are mapped according to the specification. I didnt see any use for it in case of TCH. However, i didnt consider so far how the behaviour is specified for hopping channels.
  • The demapper has two different output ports, one for TCH bursts, and another one for ACCH, so we can send the bursts the right decoder only.
  • Currently i check if the stealing bits are set for TCH bursts, and if so i consider them as FACCH, and the bursts are sent to the ACCH port. The check is rather simple, if one frame has stealing

I have only tested this approach for correct ACCH messages (which looked fine so far), i wanted to test it with an TCH decoder as well, but this will take me some more time.

So, what do you think ?

more timeslots?

Hi,

Im trying to analyze traffic from my mobile but I see that gr-gsm doesn't have the option like airprobe to analyze other timesloys than 0. Can this feature be included?

I have tried to run the old airprobe for this while I have gr-gsm fully functional but is complaining about the gsm library saying that module doesnt have the attirbute receiver_cf.

Im stil understanding the code so I can try to make some contributions to this project but Im still really new to this so Im just trying to test it as much as I can and provide the feedback I can.

Thanks in advance.

system info extractor - arfcn always zero

In extract_system_info the arfcn is used as id for the chan_info, however gsmtap header->arfcn is always zero in my case, also in Wireshark.

Does this work for you, e.g. do you see valid arfcn values in the gsmtap header ?

After installing gr-gsm can't start it, ImportError libgnuradio-osmosdr

Hello everyone,
Even though this was my first time install with pybombs I somehow completed with the help of @ptrkrysik but after successful install I couldn't run gr-gsm with command:
airprobe_rtlsdr.py

it is giving this error output:

root@iHackU:~# airprobe_rtlsdr.py
Traceback (most recent call last):
  File "/usr/local/bin/airprobe_rtlsdr.py", line 19, in <module>
    import osmosdr
  File "/usr/local/lib/python2.7/dist-packages/osmosdr/__init__.py", line 26, in <module>
    from osmosdr_swig import *
  File "/usr/local/lib/python2.7/dist-packages/osmosdr/osmosdr_swig.py", line 26, in <module>
    _osmosdr_swig = swig_import_helper()
  File "/usr/local/lib/python2.7/dist-packages/osmosdr/osmosdr_swig.py", line 22, in swig_import_helper
    _mod = imp.load_module('_osmosdr_swig', fp, pathname, description)
ImportError: /usr/local/lib/libgnuradio-osmosdr-0.1.5git.so.0.0.0: undefined symbol: _ZN3uhd6device4findERKNS_13device_addr_tENS0_15device_filter_tE

Please someone tell me how can I solve this issue ? I have already tried removing osmosdr package and reinstalling it.

Distribution Request

I am a Developer for the ArchAssault project, we would like to add this to our repo but we noticed its missing a license file. Can you please add a license file to this repo?

how it works in depth

hi, I am now learning the SDR and trying to experiment on GSM. Could you tell me how it works in depth, is it a active system that sends the silient SMS or a passive system just listen to GSM network only ?

Thanks in advance

Compilation of gnuradio companion grc files with cmake and grcc

Different versions of gnuradio companion generate python files that may be incompatible between different GNU Radio versions. It would be best to compile python files on user machine, for whatever version of GNU Radio (starting from 3.7.3) he has.

I'm looking for someone who know how to do this with use of cmake. There is a file taken from GNU Radio which is in gr-gsm/cmake/Modules/GrMiscUtils.cmake. It has GRCC which was suited for GNU Radio (although it is not really used in GNU Radio) but not third party projects. I've tried to adapt it to gr-gsm case but it caused more problems than it solved. If you know how to write a CMAKE rule compiling GRC files - please help.

[Failed] sudo ./pybombs install gr-gsm : Configuration failed

Hi everyone,

I'm trying hard to make gr-gsm work, but i have an issue when executing the command: sudo ./pybombs install gr-gsm.

Here are the last line of the shell :

Paramétrage de python-cairo-dev (1.8.8-1) ...
installation ok via: deb
Installing from source: gnuradio
remote: Counting objects: 5324, done.
remote: Total 5324 (delta 0), reused 0 (delta 0), pack-reused 5324
Receiving objects: 100% (5324/5324), 1.52 MiB | 93 KiB/s, done.
Resolving deltas: 100% (3844/3844), done.

CC=gcc CXX=g++ cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr/local/  -DENABLE_GR_FCD=ON -DENABLE_DOXYGEN=OFF -DENABLE_GR_LOG=OFF -DENABLE_PERFORMANCE_COUNTERS=ON -DCMAKE_CXX_FLAGS=-fpermissive 

Configuring: (100%) [==========================================================]
Configuration failed. Re-trying with higher verbosity.
make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.

Thanks

Aymeric

Using Volk machine: sse4_2_64 input.cfile: No such file or directory

Hi everybody,

I finnaly installed gr-gsm, but now i have an issue when executing the "airprobe_file.py", i type this command:
"airprobe_file.py --samp-rate=1M --fc=940M capture.cfileC

Here is the error log:

Using Volk machine: sse4_2_64
input.cfile: No such file or directory
Traceback (most recent call last):
File "/usr/local/bin/airprobe_file.py", line 142, in
tb = airprobe_file(input_file_name=options.input_file_name, fc=options.fc, samp_rate=options.samp_rate)
File "/usr/local/bin/airprobe_file.py", line 55, in init
self.blocks_file_source_0 = blocks.file_source(gr.sizeof_gr_complex_1, input_file_name, False)
File "/usr/local/lib/python2.7/dist-packages/gnuradio/blocks/blocks_swig0.py", line 436, in make
return _blocks_swig0.file_source_make(_args, **kwargs)
RuntimeError: can't open file

p.s: The capture.cileC is a gsm sample i got here https://svn.berlin.ccc.de/projects/airprobe/wiki/WorkingWithTheUSRP

Cheers

No module named grgsm

Hi there, just tried installing using:

sudo ./pybombs install gr-gsm

When I go to run airprobe_rtlsdr.py getting the error:

Traceback (most recent call last):
File "/home/steveswallow/target/bin/airprobe_rtlsdr.py", line 19, in
import grgsm
ImportError: No module named grgsm

Same thing with airprobe_file as well.

My python version is Python 2.7.6.

Cheers

Contributions

Hi @ptrkrysik,

i would like to contribute to gr-gsm, and have a few questions:

  • Do you prefer having an issue for every pull request ?
  • Do you prefer one pull request for every bug fix / feature / ... or an aggreation into one pull request
  • Have any limitations / rules / style guides ?
  • Do you support issue assignments to users ? For example, i recently implemented a demapper for TCH/F, and will implement the corresponding decoder in the next weeks. So if someone else is working on this feature, i would spend the time one something else.

airprobe_file.py not sending any data

Hi,

I have tried to use airprobe_file.py with the usual example for the old go.sh and with a couple of test captures I did but nothing appears on wireshark listenning on lo, maybe im missing something?

This is the command Im running:

airprobe_file.py --samp-rate=1M --fc=941.8M -i ~/airprobe-old/gsm-receiver/src/python/capture_941.8M_112.cfile

CPU spikes for a little time and then it just stops doing nothing.

Thanks in advance.

how to install the gr-gsm on the raspberrypi manually without pybomb

I have installed gr-gsm on my ubuntu, it works well. now I want to put it into my raspberrypi. I know using pybomb to install it is a easy way, but pybomb needs to download and recompile everything, which it is too slow for me. I have installed compiled gnu-radio into the PI, which is much quicker installation. In my previous gr-gsm installation, I have also installed a gnu-radio on my ubuntu, but pybomb still downloaded and recompiled.

My question, if I have installed some precompiled package, how do I bypass these installed package through pybomb, or I can just install all the needed package myself manually and install gr-gsm at last

Proposal: TCH/F decoder

Hi @ptrkrysik,

today i did a quick&dirty integration of airprobe's approach to TCH decoding.
Did a quick test with a GSM-FR capture sample, did work well. Voice was very well recognizable, but not very good quality. Probably because it is just FR.

So, here my thoughts about the decoder:

  • Feature set:
    • one port in with bursts from demapper
    • one port out, if we handle the whole FACCH in the TCH-decoder, as in airprobe
    • select file for speech output
    • select coding
  • reuse existing code
    • should we use the more recent code of OpenBTS, or the one from airprobe ? The one from airprobe is already reduced to what we need. According to the manual, they still only support GSM-FR. I tend more to use the airprobe version.
    • should we refactor the code we reuse, to fit more to gr-gsm, or try to integrate the code without modification for maintenance reasons (update source from OpenBTS). I would rather refactor, what do you think ?

Making airprobe more userfriendly

Currently decoding SDCCH channels or TCH channels requires editing of flowgraphs in gnuradio-companion.
To increase usability addition of parameters for:
-configuring logical channels that user want to get from different timeslots,
-supplying Kc session key,
is needed.

Gr-gsm doesn't work with Fun Cube dongle

Hi all,

I've reports that gr-gsm doesn't work with Fun Cube dongle. I would greatly appreciate confirmations from other sources and captures of raw GSM signal, sou I could debug the problem.

AMR Decoding

@romankh @ptrkrysik

Here is samples with AMR HR
matrixshell.com/cfile/HR_AMR/HR_AMR_.cfile
matrixshell.com/cfile/HR_AMR/HR_AMR_abis.pcapng
matrixshell.com/cfile/HR_AMR/HR_AMR_s2.pcapng

Dependency LIBUSB_FOUND = FALSE

Hi,
I've the following error when running this command: sudo ./pybombs install -v gr-gsm

-- Dependency LIBUSB_FOUND = FALSE
CMake Error at cmake/Modules/GrComponent.cmake:75 (message):
user force-enabled gr-fcd but configuration checked failed
Call Stack (most recent call first):
gr-fcd/CMakeLists.txt:35 (GR_REGISTER_COMPONENT)

I checked if libsub was installed on my computer and i can see some files like "libusb-0.1-4_2%3a0.1.12-25_amd64.deb" in /var/cache/apt/archives, so i guess libusb is installed.

Also i added "libusb" to gnuradio.lwr depends...I'm stuck now. Your help would be great.
Thanks
Aymeric

Build is broken?

code/gr-gsm/include/plotting/plotting.hpp:28:30: fatal error: gnuplot-iostream.h: No such file or directory
#include "gnuplot-iostream.h"
^

compilation terminated.
make[2]: *** [lib/CMakeFiles/gnuradio-gsm.dir/receiver/receiver_impl.cc.o] Error 1
make[1]: *** [lib/CMakeFiles/gnuradio-gsm.dir/all] Error 2
make: *** [all] Error 2

I built gr-gsm clean yesterday with no problem. I do a git pull today and this is happeneing. I can't find anything in the git logs that seem sresponsible however.

I am on Ubuntu 14.04 with gnuradio 3.7

Code refactoring from other projects (Osmocom, OpenBTS...)

There are a lot of functionalities that are already implemented in other projects on different layers of GSM protocols. Most advanced among them are Osmocom and OpenBTS. I'm therefore starting discussion here to create wish-list with functionalities that are implemented in them that should be imported to gr-gsm and to find out how to do such imports.

Getting Frame Numbers in CX

I havent tried to decode multiple Channels with single GSM block but would like to know if we are getting frame number on CX wrt hopping channel.

Also what about timeslot details. are we able to get timeslot details on CX wrt supplied channel

Unable to decode DCS or PCS

Dear Piotr

I am testing your implementation on DCS, PCS it used to work before but latest build is not working

Enhancement proposal: Addition of blocks for storing/reading received bursts to/from a file

Offer for someone who wants to get taste of gr-gsm development but don't want to start with something overly complicated:

Currently storing of data is done by saving/reading raw signal to/from a file with use of gnuradio's file sink/source blocks. It is good method for testing the receiver, but it takes too much space during normal operation. Also there are many situations in which someone might want to process bursts multiple times but focussing on different part of the data each time. There is no need then to process the signal on each run to get bursts.

The solution is to add burst sink and source. Sink will have one message input (messages containing bursts) and will store bursts to a file (it's name will be given as a parameter). Source will read bursts from files and will send them through a message output.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.