RadioReference on Facebook   RadioReference on Twitter   RadioReference Blog
 

Go Back   The RadioReference.com Forums > Computer Aided Monitoring and Programming > Voice/Control Channel Decoding Software

Voice/Control Channel Decoding Software - For discussion of software applications which decode digital voice formats and trunking control channels. Please use the HF Digital Signals forum for anything below 30MHz.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-21-2014, 3:55 PM
Member
  Amateur Radio Operator
Amateur Radio
 
Join Date: Jan 2014
Posts: 507
Default Tetra decoding

early christmas present

https://github.com/sq5bpf/telive
(and you will also need https://github.com/sq5bpf/libosmocore-sq5bpf and https://github.com/sq5bpf/osmo-tetra-sq5bpf and gnuradio 3.6 with dvb dongle support)

Please read all documentation before asking any questions.
If you can't compile this software, then it's not intended for you.
Runs under linux only, please don't ask about other OSes.

I hope i've put everything in the repositories.

Also please note that this software is written for my personal pleasure, and does not adhere to software quality standards
Reply With Quote
Sponsored links
  #2 (permalink)  
Old 11-21-2014, 4:11 PM
Member
   
Join Date: May 2012
Posts: 1,131
Default

Cool man. Right on. Linux is great and so is applications built to run in them.
Reply With Quote
  #3 (permalink)  
Old 11-22-2014, 8:28 AM
Member
  Amateur Radio Operator
Amateur Radio
 
Join Date: Jan 2014
Posts: 507
Default

if anyone gets segfaults in the ETSI codec, please double-check if it was compiled in a 32 bit environment (file sdecoder etc...)
Reply With Quote
  #4 (permalink)  
Old 11-22-2014, 11:51 AM
Member
   
Join Date: Mar 2011
Location: Germany, EU
Posts: 11
Default

Thanks!

I could never get the Osmocom software going. I will definitely try your software sometime, but Linux and I are not very close friends

Thanks again for your work and sharing it with all of us!
Reply With Quote
  #5 (permalink)  
Old 11-22-2014, 1:24 PM
Member
  Amateur Radio Operator
Amateur Radio
 
Join Date: Jan 2014
Posts: 507
Default

Quote:
Originally Posted by RMW1010 View Post
I could never get the Osmocom software going. I will definitely try your software sometime, but Linux and I are not very close friends
"Linux is user friendly, it's just very selective about who its friends are"

this is the osmocom-tetra software with some patches and some additional software, so you will probably have similar problems to what you had previously. try to install it under debian 7 - this should work flawlessly (both the original osmocom software and my version).

Quote:
Originally Posted by RMW1010 View Post
Thanks again for your work and sharing it with all of us!
no problem, hope that someone posts a success story soon
Reply With Quote
Sponsored links
  #6 (permalink)  
Old 11-23-2014, 1:28 AM
hansheesbeen's Avatar
Member
   
Join Date: Jul 2010
Location: Tilburg, NL
Posts: 53
Default

Quote:
Originally Posted by sq5bpf View Post
"Linux is user friendly, it's just very selective about who its friends are"

no problem, hope that someone posts a success story soon
Busy to compile, have an clear tetra signal in my (dutch) backyard... Stay tuned!
Reply With Quote
  #7 (permalink)  
Old 11-23-2014, 11:29 AM
Member
   
Join Date: Oct 2014
Location: Miami
Posts: 3
Default early christmas present :)

Quote:
Originally Posted by sq5bpf View Post
early christmas present
... will come when somebody compiles this for Windows
Reply With Quote
  #8 (permalink)  
Old 11-23-2014, 1:39 PM
hansheesbeen's Avatar
Member
   
Join Date: Jul 2010
Location: Tilburg, NL
Posts: 53
Default

Seems to be to nice, working long time with linux distro's but this won't run...
Reply With Quote
  #9 (permalink)  
Old 11-23-2014, 5:05 PM
Member
  Amateur Radio Operator
Amateur Radio
 
Join Date: Jan 2014
Posts: 507
Default

Quote:
Originally Posted by hansheesbeen View Post
Seems to be to nice, working long time with linux distro's but this won't run...
what is exactly the problem? (provide logs) and on which distribution?

i know there might be problems compiling gnuradio 3.6 under some distros. but debian 7 should work (the build-gnuradio script has a list of distros that it supports, it says fedora, debian, ubuntu, mint). btw i will try to fix it to run under gnuradio 3.7 when i have some time

Last edited by sq5bpf; 11-23-2014 at 5:34 PM..
Reply With Quote
Sponsored links
  #10 (permalink)  
Old 11-23-2014, 11:57 PM
hansheesbeen's Avatar
Member
   
Join Date: Jul 2010
Location: Tilburg, NL
Posts: 53
Default

Too much errors in compiling the osmo stuff gnu won't give any problems on linux mint 17
Reply With Quote
  #11 (permalink)  
Old 11-24-2014, 7:21 AM
Member
  Amateur Radio Operator
Amateur Radio
 
Join Date: Jan 2014
Posts: 507
Default

Quote:
Originally Posted by hansheesbeen View Post
Too much errors in compiling the osmo stuff gnu won't give any problems on linux mint 17
you can try under debian 7, or if you want to debug this on mint, then please provide full logs, best to use script(1):

script /tmp/bugreport
[this launches a shell, do all of your compilation here until the error occurs]
exit

and then show us the /tmp/bugreport file. also write which version of mint you're using

also check on the internet if someone has reported similar problems for vanilla libosmocore or osmo-tetra, the solutions should be exactly the same
Reply With Quote
  #12 (permalink)  
Old 11-24-2014, 11:25 AM
hansheesbeen's Avatar
Member
   
Join Date: Jul 2010
Location: Tilburg, NL
Posts: 53
Default

libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:14: installing './compile'
configure.ac:16: installing './config.guess'
configure.ac:16: installing './config.sub'
configure.ac:5: installing './install-sh'
configure.ac:5: installing './missing'
src/Makefile.am: installing './depcomp'
src/gsm/Makefile.am:14: warning: source file 'milenage/aes-encblock.c' is in a subdirectory,
src/gsm/Makefile.am:14: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
src/gsm/Makefile.am:14: warning: source file 'milenage/aes-internal.c' is in a subdirectory,
src/gsm/Makefile.am:14: but option 'subdir-objects' is disabled
src/gsm/Makefile.am:14: warning: source file 'milenage/aes-internal-enc.c' is in a subdirectory,
src/gsm/Makefile.am:14: but option 'subdir-objects' is disabled
src/gsm/Makefile.am:14: warning: source file 'milenage/milenage.c' is in a subdirectory,
src/gsm/Makefile.am:14: but option 'subdir-objects' is disabled
tests/Makefile.am:19: warning: source file 'a5/a5_test.c' is in a subdirectory,
tests/Makefile.am:19: but option 'subdir-objects' is disabled
tests/Makefile.am:25: warning: source file 'auth/milenage_test.c' is in a subdirectory,
tests/Makefile.am:25: but option 'subdir-objects' is disabled
tests/Makefile.am:28: warning: source file 'bits/bitrev_test.c' is in a subdirectory,
tests/Makefile.am:28: but option 'subdir-objects' is disabled
tests/Makefile.am:22: warning: source file 'comp128/comp128_test.c' is in a subdirectory,
tests/Makefile.am:22: but option 'subdir-objects' is disabled
tests/Makefile.am:31: warning: source file 'conv/conv_test.c' is in a subdirectory,
tests/Makefile.am:31: but option 'subdir-objects' is disabled
tests/Makefile.am:67: warning: source file 'fr/fr_test.c' is in a subdirectory,
tests/Makefile.am:67: but option 'subdir-objects' is disabled
tests/Makefile.am:58: warning: source file 'gb/bssgp_fc_test.c' is in a subdirectory,
tests/Makefile.am:58: but option 'subdir-objects' is disabled
tests/Makefile.am:61: warning: source file 'gb/gprs_ns_test.c' is in a subdirectory,
tests/Makefile.am:61: but option 'subdir-objects' is disabled
tests/Makefile.am:37: warning: source file 'gsm0408/gsm0408_test.c' is in a subdirectory,
tests/Makefile.am:37: but option 'subdir-objects' is disabled
tests/Makefile.am:34: warning: source file 'gsm0808/gsm0808_test.c' is in a subdirectory,
tests/Makefile.am:34: but option 'subdir-objects' is disabled
tests/Makefile.am:40: warning: source file 'lapd/lapd_test.c' is in a subdirectory,
tests/Makefile.am:40: but option 'subdir-objects' is disabled
tests/Makefile.am:64: warning: source file 'logging/logging_test.c' is in a subdirectory,
tests/Makefile.am:64: but option 'subdir-objects' is disabled
tests/Makefile.am:70: warning: source file 'logging/logging_test.c' is in a subdirectory,
tests/Makefile.am:70: but option 'subdir-objects' is disabled
tests/Makefile.am:43: warning: source file 'msgfile/msgfile_test.c' is in a subdirectory,
tests/Makefile.am:43: but option 'subdir-objects' is disabled
tests/Makefile.am:49: warning: source file 'sms/sms_test.c' is in a subdirectory,
tests/Makefile.am:49: but option 'subdir-objects' is disabled
tests/Makefile.am:46: warning: source file 'smscb/smscb_test.c' is in a subdirectory,
tests/Makefile.am:46: but option 'subdir-objects' is disabled
tests/Makefile.am:73: warning: source file 'strrb/strrb_test.c' is in a subdirectory,
tests/Makefile.am:73: but option 'subdir-objects' is disabled
tests/Makefile.am:52: warning: source file 'timer/timer_test.c' is in a subdirectory,
tests/Makefile.am:52: but option 'subdir-objects' is disabled
tests/Makefile.am:55: warning: source file 'ussd/ussd_test.c' is in a subdirectory,
tests/Makefile.am:55: but option 'subdir-objects' is disabled
tests/Makefile.am:16: warning: source file 'utils/utils_test.c' is in a subdirectory,
tests/Makefile.am:16: but option 'subdir-objects' is disabled
tests/Makefile.am:76: warning: source file 'vty/vty_test.c' is in a subdirectory,
tests/Makefile.am:76: but option 'subdir-objects' is disabled
Reply With Quote
  #13 (permalink)  
Old 11-24-2014, 11:42 AM
hansheesbeen's Avatar
Member
   
Join Date: Jul 2010
Location: Tilburg, NL
Posts: 53
Default

cc -g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. -c conv_enc_test.c -o conv_enc_test.o
conv_enc_test.c:28:32: fatal error: osmocom/core/utils.h: Bestand of map bestaat niet
#include <osmocom/core/utils.h>
^
compilation terminated.
make: *** [conv_enc_test.o] Fout 1
Reply With Quote
  #14 (permalink)  
Old 11-24-2014, 12:47 PM
Member
  Amateur Radio Operator
Amateur Radio
 
Join Date: Jan 2014
Posts: 507
Default

thanks, you caught the first mistake in the instructions (now fixed), this should be:

git clone https://github.com/sq5bpf/libosmocore-sq5bpf
cd libosmocore-sq5bpf
autoreconf -i
./configure
make
sudo make install
Reply With Quote
  #15 (permalink)  
Old 11-24-2014, 12:51 PM
hansheesbeen's Avatar
Member
   
Join Date: Jul 2010
Location: Tilburg, NL
Posts: 53
Default

Yep found that one minute before your post... tetra package is the second error
Reply With Quote
Sponsored links
  #16 (permalink)  
Old 11-24-2014, 12:57 PM
Member
  Amateur Radio Operator
Amateur Radio
 
Join Date: Jan 2014
Posts: 507
Default

Quote:
Originally Posted by hansheesbeen View Post
Yep found that one minute before your post... tetra package is the second error
post the errors please. preferably the whole log from script including the commands issued, and please issue export LANG=C before running the commands (this way the errors are in english)
Reply With Quote
  #17 (permalink)  
Old 11-25-2014, 12:41 PM
hansheesbeen's Avatar
Member
   
Join Date: Jul 2010
Location: Tilburg, NL
Posts: 53
Default

Sorry for my late response, the requested error:
Script started on di 25 nov 2014 19:37:37 CET
[01;32mhans@LIN-Hans[01;34m ~ $[00m cd osmo-tetra-sq5bpf
[01;32mhans@LIN-Hans[01;34m ~/osmo-tetra-sq5bpf $[00m cd src
[01;32mhans@LIN-Hans[01;34m ~/osmo-tetra-sq5bpf/src $[00m make
cc -g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. -c conv_enc_test.c -o conv_enc_test.o
conv_enc_test.c:28:32: fatal error: osmocom/core/utils.h: No such file or directory
#include <osmocom/core/utils.h>
^
compilation terminated.
make: *** [conv_enc_test.o] Error 1
[01;32mhans@LIN-Hans[01;34m ~/osmo-tetra-sq5bpf/src $[00m exit
exit

Script done on di 25 nov 2014 19:39:35 CET

Followed after execute this:
git clone https://github.com/sq5bpf/osmo-tetra-sq5bpf > DONE WORKS OK
cd osmo-tetra-sq5bpf > DONE WORKS OK
cd src > DONE WORKS OK
make > above error
Reply With Quote
  #18 (permalink)  
Old 11-25-2014, 12:59 PM
Member
  Amateur Radio Operator
Amateur Radio
 
Join Date: Jan 2014
Posts: 507
Default

Quote:
Originally Posted by hansheesbeen View Post
cc -g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. -c conv_enc_test.c -o conv_enc_test.o
conv_enc_test.c:28:32: fatal error: osmocom/core/utils.h: No such file or directory
check if you have /usr/local/include/osmocom/core/utils.h , probably not

maybe you didn't do sudo make install when compiling libosmocore (or you're not in /etc/sudoers, if not add yourself, or make install as root)

or maybe you don't have pkg-config installed (try this: pkg-config --cflags libosmocore )
Reply With Quote
  #19 (permalink)  
Old 11-25-2014, 1:47 PM
hansheesbeen's Avatar
Member
   
Join Date: Jul 2010
Location: Tilburg, NL
Posts: 53
Default

I'm setting up debian now... trying that distro.
Reply With Quote
  #20 (permalink)  
Old 11-25-2014, 1:57 PM
Member
  Amateur Radio Operator
Amateur Radio
 
Join Date: Jan 2014
Posts: 507
Default

Quote:
Originally Posted by hansheesbeen View Post
I'm setting up debian now... trying that distro.
too bad we didn't finish under mint, would be nice to debug bugs with compilation under different distrubitions.

but you're right - debian should work out od the box. just remember to compile the etsi codecs in a 32-bit environment (either install the whole system 32-bit, or set up a 32-bit build environment just for the codecs, or use someone else's box for compiling)
Reply With Quote
Reply

Tags
tetra decode

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:50 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
All information here is Copyright 2012 by RadioReference.com LLC and Lindsay C. Blanton III.Ad Management by RedTyger
Copyright 2015 by RadioReference.com LLC Privacy Policy  |  Terms and Conditions