The RadioReference.com Forums

The RadioReference.com Forums (https://forums.radioreference.com/)
-   Voice/Control Channel Decoding Software (https://forums.radioreference.com/voice-control-channel-decoding-software/)
-   -   Tetra decoding (https://forums.radioreference.com/voice-control-channel-decoding-software/302347-tetra-decoding.html)

sq5bpf 11-21-2014 3:55 PM

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 :)

ptolemy9200 11-21-2014 4:11 PM

Cool man. Right on. Linux is great and so is applications built to run in them.

sq5bpf 11-22-2014 8:28 AM

if anyone gets segfaults in the ETSI codec, please double-check if it was compiled in a 32 bit environment (file sdecoder etc...)

RMW1010 11-22-2014 11:51 AM

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!

sq5bpf 11-22-2014 1:24 PM

Quote:

Originally Posted by RMW1010 (Post 2291003)
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 (Post 2291003)
Thanks again for your work and sharing it with all of us!

no problem, hope that someone posts a success story soon :)

hansheesbeen 11-23-2014 1:28 AM

Quote:

Originally Posted by sq5bpf (Post 2291053)
"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!

kondoros_1 11-23-2014 11:29 AM

early christmas present :)
 
Quote:

Originally Posted by sq5bpf (Post 2290557)
early christmas present :)

... will come when somebody compiles this for Windows :)

hansheesbeen 11-23-2014 1:39 PM

Seems to be to nice, working long time with linux distro's but this won't run... :(

sq5bpf 11-23-2014 5:05 PM

Quote:

Originally Posted by hansheesbeen (Post 2291641)
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

hansheesbeen 11-23-2014 11:57 PM

Too much errors in compiling the osmo stuff gnu won't give any problems on linux mint 17

sq5bpf 11-24-2014 7:21 AM

Quote:

Originally Posted by hansheesbeen (Post 2291998)
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

hansheesbeen 11-24-2014 11:25 AM

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

hansheesbeen 11-24-2014 11:42 AM

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

sq5bpf 11-24-2014 12:47 PM

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

hansheesbeen 11-24-2014 12:51 PM

Yep found that one minute before your post... tetra package is the second error

sq5bpf 11-24-2014 12:57 PM

Quote:

Originally Posted by hansheesbeen (Post 2292263)
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)

hansheesbeen 11-25-2014 12:41 PM

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

sq5bpf 11-25-2014 12:59 PM

Quote:

Originally Posted by hansheesbeen (Post 2292920)
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 )

hansheesbeen 11-25-2014 1:47 PM

I'm setting up debian now... trying that distro.

sq5bpf 11-25-2014 1:57 PM

Quote:

Originally Posted by hansheesbeen (Post 2292954)
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)


All times are GMT -5. The time now is 4:47 AM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
All information here is Copyright 2012 by RadioReference.com LLC and Lindsay C. Blanton III.Ad Management by RedTyger