Tetra decoding

Status
Not open for further replies.

sq5bpf

Member
Joined
Jan 23, 2014
Messages
516
thanks for the report.

you're using telive_1ch_simple_gr37_udp.grc, so the data is sent via udp, but you're using receiver1, which uses a fifo.

either use telive_1ch_simple_gr37_udp.grc and ./receiver1udp 1 (in whichever order)

or use telive_1ch_simple_gr37.grc and ./receiver1 1 (in this case first start receiver1 and then the grc flowgraph)
 

martufello

Member
Joined
Jun 29, 2004
Messages
60
My bad, I've mixed the 2 procedures, tomorrow I will test again.
BTW I like a lot the UDP alternative, well done !
 

martufello

Member
Joined
Jun 29, 2004
Messages
60
here we go, this with fifo procedure

ubuntu@ubuntu:~$ gnuradio-companion
RuntimeError('fsm::fsm(const char *name): file open error\n',)
RuntimeError('fsm::fsm(const char *name): file open error\n',)
RuntimeError('fsm::fsm(const char *name): file open error\n',)
RuntimeError('fsm::fsm(const char *name): file open error\n',)
RuntimeError('fsm::fsm(const char *name): file open error\n',)
RuntimeError('fsm::fsm(const char *name): file open error\n',)
RuntimeError('fsm::fsm(const char *name): file open error\n',)
RuntimeError('fsm::fsm(const char *name): file open error\n',)
<<< Welcome to GNU Radio Companion 3.7.9.1 >>>

Preferences file: /home/ubuntu/.gnuradio/grc.conf
Block paths:
/usr/local/share/gnuradio/grc/blocks
/home/ubuntu/.grc_gnuradio

Loading: "/home/ubuntu/tetra/telive/gnuradio-companion/telive_1ch_simple_gr37.grc"
linux; GNU C++ version 4.8.4; Boost_105400; UHD_003.009.002-13-g97d338d2

>>> Done

Showing: "/home/ubuntu/tetra/telive/gnuradio-companion/telive_1ch_simple_gr37.grc"

Generating: '/home/ubuntu/tetra/telive/gnuradio-companion/top_block.py'

Executing: /usr/bin/python2 -u /home/ubuntu/tetra/telive/gnuradio-companion/top_block.py

linux; GNU C++ version 4.8.4; Boost_105400; UHD_003.009.002-13-g97d338d2

Using Volk machine: avx2_64_mmx
gr-osmosdr v0.1.4-67-gac15e789 (0.1.5git) gnuradio 3.7.9.1
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy redpitaya
Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
Exact sample rate is: 2000000.052982 Hz
[R82XX] PLL not locked!
gr::log :INFO: controlport - Apache Thrift: -h ubuntu -p 9090
thread[thread-per-block[4]: <block file_sink (29)>]: file_sink write failed with error 23

OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
>>> Done
^CTraceback (most recent call last):
File "/usr/local/bin/gnuradio-companion", line 130, in <module>
main()
File "/usr/local/bin/gnuradio-companion", line 126, in main
ActionHandler(args, Platform())
File "/usr/local/lib/python2.7/dist-packages/gnuradio/grc/gui/ActionHandler.py", line 78, in __init__
gtk.main()
KeyboardInterrupt


receiver1

ubuntu@ubuntu:~/tetra/osmo-tetra-sq5bpf/src$ ./receiver1 1
Thrift: Thu Mar 10 14:38:38 2016 TServerSocket::listen() BIND 9090
terminate called after throwing an instance of 'apache::thrift::transport::TTransportException'
what(): Could not bind: Transport endpoint is not connected
ubuntu@ubuntu:~/tetra/osmo-tetra-sq5bpf/src$
 

sq5bpf

Member
Joined
Jan 23, 2014
Messages
516
Mint 17.3 live iso USB is also perfect !

yes, i've just tried to do a system on mint 17.3, and it doesn't seem to work that bad, even though it's not the recommended debian 8 (this is for a small project i hope to release soon)

btw did you get it working on ubuntu? the messages from apache thrift are strange
 

martufello

Member
Joined
Jun 29, 2004
Messages
60
Not with Ubunt14.04.3 and preinstalled gnuradio 3.7.9.1
Then I've formated this USB and tested with Mint.

But Ubunt14.04.2 with gnuradio 3.7.7.1 is working fine, I like this version because has a lot of other radio programs already installed.
Mint instead is my preferred in terms of linux OS
I've also tried Debian, but with live iso USB I had some problems and stopped the test
 

FR3500

Member
Joined
Aug 3, 2012
Messages
58
Location
France
Hello to all

I was just wondering if the program can be installed on a tablet ?
Which would give more mobility, and longer battery life when out of home

I'm thinking about windows surface, or acer, asus ...etc

Thanks
 

sq5bpf

Member
Joined
Jan 23, 2014
Messages
516
I was just wondering if the program can be installed on a tablet ?

you can do it if you can install linux on a tablet, or can run a virtual machine (on a tablet with an intel processor).

but you won't be able to do in on a standard android tablet. there is a project to have gnuradio running on android, so this may change in the future
 

sq5bpf

Member
Joined
Jan 23, 2014
Messages
516
i've made a demo telive image, that can be booted from a 16GB memory stick. this way windows people won't have to use VMs (which are slow), and hopefully i will get less questions about linux basics

short description:

1. download from here:
Code:
https://drive.google.com/open?id=0B-AD504JevuWNEhBS29qbkYzTE0

you should verify that the md5 sum is 9d5e47abb8633f583198d53d60f67802

2. gunzip telive_live_2016031101.img.gz
3. dd if=telive_live_2016031101.img of=/dev/sdXXX (where /dev/sdXXX is the memory stick device).

This site has instructions on how to do steps 2 and 3 on other operating systems including Windows:
Code:
https://doc.pfsense.org/index.php/Writing_Disk_Images

4. boot from the memory stick

5. read the README_FIRST.txt file on the desktop, the telive_doc.pdf and the rest of the docs

6. configure internet access, do the steps from the README_FIRST.txt

7. the demo gnuradio-companion config is deliberatly made for very slow hardware., but it's a good idea to run volk_profile on an idle system (regardless of the hardware used)

If someone needs help with linux, then use the internet and don't ask here. there is plenty of support for linux mint on the internet.

probably this image will run in a VM too, but it's not worth it

NOTE: this image doesn't have the ACELP codec due to licensing, but a script is provided so that the user can download and compile it
 

martufello

Member
Joined
Jun 29, 2004
Messages
60
Hello to all

I was just wondering if the program can be installed on a tablet ?
Which would give more mobility, and longer battery life when out of home

I'm thinking about windows surface, or acer, asus ...etc

Thanks

I have a 2in1 Lenovo Yoga 2 with a bootable USB and is working fine.
While traveling in the car I'm using this PC in tablet mode...
 

phk

Member
Joined
Mar 6, 2016
Messages
2
DMO

Thanks sq5bpf for the effort you have put into this project. Much appreciated!

A question regarding DMO. I've been trying to listen and record my own DMO calls. I see the transmissions, but telive won't detect and play them.

Do telive support DMO calls?

//phk
 

FR3500

Member
Joined
Aug 3, 2012
Messages
58
Location
France
Ok thanks to both;
That's good news indeed;
I will soon try it, cause i use a laptop which has only more than 1 hour
 

jlxsolutions

Member
Joined
May 23, 2013
Messages
105
Thanks sq5bpf for the effort you have put into this project. Much appreciated!

A question regarding DMO. I've been trying to listen and record my own DMO calls. I see the transmissions, but telive won't detect and play them.

Do telive support DMO calls?

//phk

Telive does not support uplink or DMO hopefully it will come someday,
 

sq5bpf

Member
Joined
Jan 23, 2014
Messages
516
@sq5bpf - Is there anything the community can do to help? Do you need DMO recordings/data dumps?

not yet. DMO and uplink decoding isn't in the plans right now.

the plan is to do a few bugfixes, maybe reintegrate the scanning stuff with new telive, and work on the tetra network list (the telive.xml file, btw if you know any networks which are not mentioned there, then please send me the MNCs and a short description). and after that maybe i will finally start working on version 2.0

DMO and uplink are more like v3.0 :)
 
Last edited:

FR3500

Member
Joined
Aug 3, 2012
Messages
58
Location
France
Hi
Can you tell me how sound DMO signals ?
Is it more the buzzing sound, like repeaters, or rather the "rifle" sound that can be heard on uplink bands ?

Near where i live, i found a signal with my scanner, it seems Tetra transmitted by a mobile, as the strength is not constant; it sounds more like repeater, but not continuous ;
I couldn t try to decode it cause it's far away from home, and i would need my laptop

Thanks
 

DualC

Member
Joined
Feb 7, 2004
Messages
40
Hi sq5bpf, i have trouble to write ur image to my usb memory card.

It's seems to big for my 16gb card, ... im using Windows 7, have tried with both win32imager and rufus but both say's the same.. it's to big to fit.

After i have formated it with Fat32 it 15 455 551 488 Bytes, and ur image is 15 502 147 584 Bytes, .. seems like a problem .. :/ at least fo me.
 
Last edited:

sq5bpf

Member
Joined
Jan 23, 2014
Messages
516
Hi sq5bpf, i have trouble to write ur image to my usb memory card.

It's seems to big for my 16gb card, ... im using Windows 7, have tried with both win32imager and rufus but both say's the same.. it's to big to fit.

After i have formated it with Fat32 it 15 455 551 488 Bytes, and ur image is 15 502 147 584 Bytes, .. seems like a problem .. :/ at least fo me.

i have absolutely no expierience with the windows tools, but you are either writing the data to the partition (and not to the whole drive), or the pendrive is really smaller

if the pendrive is really smaller then this is not a problem, the data is deliberately smaller (it takes 14.5MB). unfortunately i forgot to chop off the unused data at the end. this would not be a problem if using dd under linux/unix. under windows you can just chop off a megabyte from the end and it should work

i will try post an updated image quickly.
 
Status
Not open for further replies.
Top