Tetra decoding

Status
Not open for further replies.

grosminet

Member
Joined
Jan 21, 2004
Messages
318
Reaction score
99
Cubicsdr could be used as TETRA front end ?

Major trouble using Tetra decoder for years now is to adapt Front end to decoder .

Funcube or funcube pro + = QTHID
Rtl sdr = osmosdr-tetra_demod_fft.py

assuming cubicsdr has a IQ output , what demod could be use and how ?

Cubicsdr --> IQ --> tetra-demod.py ?

New interface soapy allow many SDR devices to run with cubicSDR

see :

https://github.com/pothosware/SoapySDR/wiki
https://github.com/pothosware
https://github.com/pothosware/SoapySDR
https://github.com/cjcliffe/CubicSDR
 

sq5bpf

Member
Joined
Jan 23, 2014
Messages
516
Reaction score
1
New install script for Debian 8 and Ubuntu 14

New experimental install script. It should support Debian 8 , Ubuntu 14 (and distributions derived from it, such as Linux Mint 17.2), and maybe Ubuntu 15 (and derived distributions). This will also install gqrx, which is not needed for telive, but might be useful for other purposes.

To install:

- install your distribution of choice (but don't install any radio stuff)
- make sure you have internet access
- make sure that you have sudo rights for your normal user
- as this normal user (not root!) run:

Code:
wget https://raw.githubusercontent.com/sq5bpf/telive/master/scripts/install_telive.sh
# now here you should read the script, don't just blindly run scripts off the internet
chmod 755 install_telive.sh
./install_telive.sh

I haven't actually tested if it works, so feedback is very welcome.
 
Last edited:
Joined
Jun 5, 2015
Messages
21
Reaction score
0
I just tried the script on Debian 8.2 and it did not work. Here is what happened: (Screenshot should be attached)
 

Attachments

  • Screenshot 2015-10-29 22.58.38.jpg
    Screenshot 2015-10-29 22.58.38.jpg
    92.1 KB · Views: 1,259

henrygb

Member
Joined
Dec 13, 2007
Messages
90
Reaction score
1
tested the first script, work fast and without problems.

VMWARE virtual machine
Debian GNU/Linux 8 (jessie) 64-bit

Installed telive and gnu-radio 3.7 with these script
 

sq5bpf

Member
Joined
Jan 23, 2014
Messages
516
Reaction score
1
tested the first script, work fast and without problems.

VMWARE virtual machine
Debian GNU/Linux 8 (jessie) 64-bit

Installed telive and gnu-radio 3.7 with these script

great, thanks for the test (it confirms i fixed the bug repoorted by radiosification)

now if someone could test ubuntu 14, ubuntu 15 and linux mint, and also test if it actually works (sees the dongle, grc/python scripts don't give errors etc).

i'm sure it works under debian 8, but couldn't test under ubuntu. the ubuntu version uses gnuradio 3.7.5 packages from another repository.
 

jlxsolutions

Member
Joined
May 23, 2013
Messages
105
Reaction score
0
i Can fire up Mint later today and test it out and maybe ubuntu if i get around to it
 

jlxsolutions

Member
Joined
May 23, 2013
Messages
105
Reaction score
0
Working in Mint 17.2 cinnamon 64-bit thou getting "errors" in gnuradio
Warning: failed to XInitThreads()
at startup
and
(python:27119): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 'GTK_IS_WIDGET (widget)' failed
9 times so for each channel im guessing
and did take some time to start up but running smoothly once i press "run"

P.S
gonna try the script on ubuntu 15 later tonight
 
Last edited:

sq5bpf

Member
Joined
Jan 23, 2014
Messages
516
Reaction score
1
Working in Mint 17.2 cinnamon 64-bit thou getting "errors" in gnuradio
Warning: failed to XInitThreads()
at startup
and
(python:27119): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 'GTK_IS_WIDGET (widget)' failed
9 times so for each channel im guessing
and did take some time to start up but running smoothly once i press "run"

good to hear it's running smoothly (don't worry about the gtk errors). if it works under Mint 17.2 , then it will most probably work under Ubuntu 14.x

now could anyone test in ubuntu 15?
 

sm7xvd

Member
Joined
Oct 30, 2015
Messages
4
Reaction score
0
Just tried on a fully updated fresh install of Xubuntu 15.10.
It fails to find the package gqrx, it is actually called gqrx-sdr in the ubuntu repos.
With this change the scripts runs, with some compile warnings.

So i moved on to the pdf and followed the first 1 channel simple receiver example but end up with missing blocks in gnuradio.
Those are osmosdr_source_c, gr_fractional_interpolator_xx and gr_file_sink.

Find attached the script's output as well as the compile and other errors generated.

Edit: My bad.. For gr3.7 i should really use the correct file 1ch_gr37..
Nevertheless, i cannot get any output. The receiver1 window produces no text, and nothing shows up in telive.
But the script as such seems to work fine with that minor adjustment.
 

Attachments

  • errors.txt
    18.5 KB · Views: 240
  • installog.txt
    127.6 KB · Views: 185
Last edited:

sq5bpf

Member
Joined
Jan 23, 2014
Messages
516
Reaction score
1
Just tried on a fully updated fresh install of Xubuntu 15.10.
It fails to find the package gqrx, it is actually called gqrx-sdr in the ubuntu repos.

thanks! fixed it

Edit: My bad.. For gr3.7 i should really use the correct file 1ch_gr37..
Nevertheless, i cannot get any output. The receiver1 window produces no text, and nothing shows up in telive.

strange, it should work.
have you tried different networks or fine tuning the receive frequency?
 

sq5bpf

Member
Joined
Jan 23, 2014
Messages
516
Reaction score
1
i did some minor updates to the telive documentation (mainly describing the new install script)

as always it is located here:
Code:
https://github.com/sq5bpf/telive/raw/master/telive_doc.pdf
 

sm7xvd

Member
Joined
Oct 30, 2015
Messages
4
Reaction score
0
strange, it should work.
have you tried different networks or fine tuning the receive frequency?

Actually, having added a waterfall plot and double checking with gqrx, i think something else is causing trouble. I have two very clear peaks at -30dB in gqrx, but they do not show up in gnuradio. For troubleshooting i entered the frequency of a local radio station which shows up looking just like a WFM transmission should. I'm quite at a loss here as to why the tetra transmissions won't show up.
 

sq5bpf

Member
Joined
Jan 23, 2014
Messages
516
Reaction score
1
Actually, having added a waterfall plot and double checking with gqrx

if you haven't tried telive_1ch_simple_gr37.grc, then use that. no need to add a waterfall plot (there is a spectrum display, and the signals are always-on anyway). and you can click the spectrum to tune the receiver.

did you look at messages in gnuradio-companion? maybe you don't have access to the dongle (no access rights, maybe you need to blacklist the dvb-t driver etc). in this case the osomocom source will produce random data to avoid a gnuradio bug.
 

efalgae

Member
Joined
Jan 28, 2015
Messages
9
Reaction score
0
Location
Puerto del Rosario, España
Hello again. Remember me? I helped you with the bug of the locations (so much time ago).
Again: sorry for my English.
Actually I'veo got a dedicated pc with Ubuntu 14.04 running telive, connected via phisical cable to my main pc for sending the audio of telive to zello and my phone.
Got Apache working to see GPS locations in Earth in my main pc.

I'd like to make a suggestion.
I hope you understand me.
It would be nice if I could feed data trough http about the ssi that's transmitting, the UI (usage identifier) and all of that data. Just a suggestion.
Also, does anyone know how can I send my telive audio trough Zello to my phone, directly from my TETRA-dedicated pc?

A salute to everyone, and a big big hug to my friend sq5bpf who gave me the hablity to listen TETRA networks hahah.

It would be nice, too, that we can se who is tx'ing and who is rx'ing. Just giving ideas.
Bye.
 

oz1jua

Member
Joined
Dec 15, 2014
Messages
131
Reaction score
28
Location
Copenhagen
Great Install Script !!

Thanks. I can confirm it works well now.

And I can confirm that I also have it up and running. But one thing I have to install before it was working was sudo apt-get install python-numpy.

This was on a fresh Linux Mint 17.2 Mate. 64 Bit LTS Desktop Version.

Also i do not understand haw Codec is installed. There is a install script. Is it for compiling and installing the codec, ?
I just manuel copy the alredy compiled codec I have to /home/[user]/tetra/telive/bin/

Thank for creating this install script. It is just so much easyer to install now.... !!!!!
 

sq5bpf

Member
Joined
Jan 23, 2014
Messages
516
Reaction score
1
And I can confirm that I also have it up and running. But one thing I have to install before it was working was sudo apt-get install python-numpy.

this is strange because gnuradio recomends python-scipy, which depends on python-numpy. maybe you turned off the installation of recommended packages? (which is on by default)

Also i do not understand haw Codec is installed. There is a install script. Is it for compiling and installing the codec, ?

there is a separate github repository with a script that will download the reference codec from the etsi.org website, patch, compile and install it. this is separate on purpose, because others might want to use it in their projects.

look at this repository (especially the install.sh script):
Code:
https://github.com/sq5bpf/install-tetra-codec



edit: the fact that python-numpy is not a dependency is actually a bug in the ubuntu gnuradio package:
Code:
https://bugs.launchpad.net/ubuntu/+source/gnuradio/+bug/1471351
 
Last edited:

jlxsolutions

Member
Joined
May 23, 2013
Messages
105
Reaction score
0
And I can confirm that I also have it up and running. But one thing I have to install before it was working was sudo apt-get install python-numpy.

This was on a fresh Linux Mint 17.2 Mate. 64 Bit LTS Desktop Version.
Yeah i find this wierd as well Mate and cinnamon should not have any differences in packages concerning python as my script run on mint 17 didnt turn out any errors during install and that was cinnamon
 
Status
Not open for further replies.
Top