Tetra decoding

Status
Not open for further replies.

sq5bpf

Member
Joined
Jan 23, 2014
Messages
517
Reaction score
15
I have some trouble finding answers to this fault.
Is it because i use the rtlsdr in a usb 3 port? By the way, I don't have a usb 2 port on my computer so I tried using a usb 2.0 hub to check if that helped. Yes, I am a linux noob but trying my best to learn.

[...]
[R82XX] PLL not locked!
[R82XX] PLL not locked!

i hope that being a linux noob doesn't mean that you also can't read the documentation? there is a section the the faq titled: "The receiver doesn't work, no matter what frequency I tune it to. Gnuradio complains about PLL unock".
 

passie101

Member
Joined
Feb 26, 2015
Messages
43
Reaction score
1
Is there someone here who had tried to install GNU Radio 3.6 on a raspberry Pi 2 ?
If i use the script from sbrac.org it fails on the RaspPi 2 with no specified error.

I had modified the sbrac.org scrip to get it work with the latest Debian release for the RaspPi 2.
 

henrygb

Member
Joined
Dec 13, 2007
Messages
90
Reaction score
1
Runing 3ch tetra system, using Tetra monitor 1.0, since saturday 02/28 with no location data.

Why the maximus time record duration is 1 minute?

No one recorded file over 1 minute duration.
 

sq5bpf

Member
Joined
Jan 23, 2014
Messages
517
Reaction score
15
Runing 3ch tetra system, using Tetra monitor 1.0, since saturday 02/28 with no location data.

see if you get any SDS messages in telive.log with "Location" in the description. if you get any, then send them to me, including the previous line (the one with lots of 101010101)

Why the maximus time record duration is 1 minute?
No one recorded file over 1 minute duration.

you mean for the voice files? are they broken up or something?
 

sm0vec

Member
Joined
Dec 8, 2014
Messages
46
Reaction score
0
Why the maximus time record duration is 1 minute?

No one recorded file over 1 minute duration.

I can also confirm that the recording sometimes gets interrupted in the middle of the conversation. This happens on some types of calls when there are no new SSI's comming in which pushes the usage timer. I haven't looked much further in the code to figure out why, but I just increased the REC_TIMEOUT in tlive.c to reduce the risk that this happens. When doing this you also need to increase SSI_TIMEOUT, else no SSI's will be shown in the filename.

I would also like to use the Call Identifier (instead of usage index) to create the recordings, at least on the 5 different systems I've checked the Call Identifier works just fine.Using the Call Identifier would make it easy to create one file for the entire call, no matter how many times the index changes during the call. When looking at the Call Identifier together with other commands, like D-RELEASE, it also becomes easier to follow the various commands during the call, like when the call is terminated and the recording can be stopped (instead of using timers as it's currently implemented)
 

sq5bpf

Member
Joined
Jan 23, 2014
Messages
517
Reaction score
15
I can also confirm that the recording sometimes gets interrupted in the middle of the conversation. This happens on some types of calls when there are no new SSI's comming in which pushes the usage timer. I haven't looked much further in the code to figure out why, but I just increased the REC_TIMEOUT in tlive.c to reduce the risk that this happens. When doing this you also need to increase SSI_TIMEOUT, else no SSI's will be shown in the filename.

is this a problem with the new telive, or all versions? if it is a problem with new telive, then disable kml export (comment out the setting of KML-related variables in rxx).

btw these timeouts should probably be configurable.

I would also like to use the Call Identifier (instead of usage index) to create the recordings, at least on the 5 different systems I've checked the Call Identifier works just fine.Using the Call Identifier would make it easy to create one file for the entire call, no matter how many times the index changes during the call. When looking at the Call Identifier together with other commands, like D-RELEASE, it also becomes easier to follow the various commands during the call, like when the call is terminated and the recording can be stopped (instead of using timers as it's currently implemented)

this was the reason i added the call identifier to osmo-tetra in the first place. but unfortunately didn't get around to use it so far.

btw the development roadmap for v1.x is as follows:
- finish the location stuff (at least the LIP long location report and simple location system rtcm sc-104)
- show data about neighbour cells (frequency etc)
- iron out some bugs (mostly segfaults etc)
- don't require the codecs to be compiled in a 32-bit environment. a patch for this has alredy been contributed! (didn't test it, but looks good)
- have the option to use gnuradio 3.7. a patch for this has alredy been contributed! (didn't test it, but looks good). this is a reolutional change, so there will be no support
----- and this will be the end of v1.x development, i don't want to make any revolutional changes to the code, just keep it stable ------

this is my wishlist for the next version:

- make a better communication protocol between osmo-tetra-sq5bpf and telive (any hints? and no, xml is not a good idea, rpc is not a good idea (although it's fast enough))
- implement sds transfer (for now i just skip 2 bytes)
- use gnuradio 3.7 (or 3.8). a patch for this has already been contributed!
- use call identifiers instead of usage index.
- keep more state about the calls. (any hints on what in-memory database to use?)
- maybe put kml writing into another process so that it doesn't block
- scanning support (actually i've already implemented a proof of concept, but it is a very ugly hack, and didn't release it)
- make the interface smaller, so that it fits in an 80x24 xterm (or something smaller than
- maybe have some means of remote control of telive via another process, and to make it run headless. SM0VEC already runs the software on an Intel NUC. so put a small lcd display and a few buttons on it, and you can make a nice tetra receiver for your car :)
- scanning support (actually i've already implemented a proof of concept, but it is ugly as hell, and i wont release it in this state)
- have some way to send events from telive to other processes. for example one user parses the logs for statistics which SSIs talk together.
..and before someone asks - no, there will be no windows version :)
 

henrygb

Member
Joined
Dec 13, 2007
Messages
90
Reaction score
1
The interruption of one minute, it is in a live voice broadcast and his record file, just when it lasts more than a minute is cut and the rest of the transmission is lost. This is new , in previous versions telive the transmission is not cut .

In the telive.log file any description does not appear location , probe first with the basic log option and then with verbose option and no location data in this system at least. Will try on the other tetra system available
 

sq5bpf

Member
Joined
Jan 23, 2014
Messages
517
Reaction score
15
The interruption of one minute, it is in a live voice broadcast and his record file, just when it lasts more than a minute is cut and the rest of the transmission is lost. This is new , in previous versions telive the transmission is not cut .

could you revert to a previous version and see if the calls are uncut? this part of the code has not been touched.
 

sm0vec

Member
Joined
Dec 8, 2014
Messages
46
Reaction score
0
could you revert to a previous version and see if the calls are uncut? this part of the code has not been touched.

I believe this problems have always been present. I can especially see this on systems with only one site and frequency. Below is an example from the log where a group call is established on one Index, but since Telive doesn't push the timers on TX GRANTED (since that's not associated to an Index), the audio and recording stops long before the call actually is finished.



20150303 14:25:26 FUNC: D-CALL PROCEEDING SSI:00015733 IDX:000 IDT:1 ENCR:0 RX:1 CI:5135
20150303 14:25:26 FUNC: D-ALERT SSI:00015733 IDX:000 IDT:1 ENCR:0 RX:1 CI:5135
20150303 14:25:36 FUNC: DSETUPDEC IDX:0 SSI:15733 RX:1 CI:5136
20150303 14:25:36 FUNC: D-SETUP SSI:00010002 IDX:000 IDT:1 ENCR:0 RX:1 CI:5136
20150303 14:25:43 FUNC: D-CONNECT SSI:00015733 IDX:053 IDT:6 ENCR:0 RX:1 CI:5135
20150303 14:25:43 FUNC: D-CONNECT SSI:00015733 IDX:053 IDT:6 ENCR:0 RX:1 CI:5135
20150303 14:25:44 FUNC: D-TX CEASED SSI:00010002 IDX:000 IDT:1 ENCR:0 RX:1 CI:5136
20150303 14:25:45 FUNC: D-TX GRANTED SSI:00015733 IDX:000 IDT:1 ENCR:0 RX:1 CI:5135
20150303 14:26:10 FUNC: D-TX CEASED SSI:00015733 IDX:000 IDT:1 ENCR:0 RX:1 CI:5135
20150303 14:26:11 FUNC: D-TX GRANTED SSI:00010002 IDX:000 IDT:1 ENCR:0 RX:1 CI:5136
...
20150303 14:27:50 FUNC: D-TX GRANTED SSI:00010002 IDX:000 IDT:1 ENCR:0 RX:1 CI:5136
20150303 14:27:51 FUNC: D-TX CEASED SSI:00015733 IDX:000 IDT:1 ENCR:0 RX:1 CI:5135
20150303 14:27:53 FUNC: D-RELEASE SSI:00015733 IDX:000 IDT:1 ENCR:0 RX:1 CI:5135

This log is from a system with only one frequency and no other sites.

It's also interesting to see that different Call Identifier is assigned to each caller, even though they share the same Usage Index (I've added the printing of CI as the call identifier in this example if someone wonder where that came from).

The caller on Identifier 5136 must have been assigned the Usage Index by another message that's not yet fully decoded. I'm trying to figure out in which command this information is sent but I haven't yet found it.
 

sq5bpf

Member
Joined
Jan 23, 2014
Messages
517
Reaction score
15
I believe this problems have always been present.

i think so too. btw i was begining to worry that i have somehow introduced a bug somewhere


The caller on Identifier 5136 must have been assigned the Usage Index by another message that's not yet fully decoded. I'm trying to figure out in which command this information is sent but I haven't yet found it.

there are numerous ones that change ids and usage index. for example d-call restore can change the call identifier to a new one, d-connect can assign a new usage index to a call identifier etc. i've implemented decoders for some of these functions, but not all. the rest will be implemented for v2 but first i need to polish up v1 to a finished state. v2 will have totally different logic for call tracking anyway.
 

henrygb

Member
Joined
Dec 13, 2007
Messages
90
Reaction score
1
maybe I'm wrong with this 1 minute condition with previus telive version, this happen or I notice it with duplex calls (only can monitor one side).

I can´t reverse to previus versions, still fighting with linux.

sq5bpf, please check inbox with some SDS founded
 

sq5bpf

Member
Joined
Jan 23, 2014
Messages
517
Reaction score
15
more LIP parsing has been added to osmo-tetra-sq5bpf, please update

this one will parse LIP long messages. i'd like to thank everybody who have sent samples

if anybody sees interesting looking messages in telive log, especially ones which don't decode, or decode incorrectly, then please send them to me. i really like toget telive.log from various parts of the world :)
 

ET-NL

Member
Joined
Mar 5, 2015
Messages
79
Reaction score
6
Location
Netherlands, Europe
I'm following this forum for a while now but never opend an account.

Since last month I'm using an RTL-SDR with osmo-tetra to listen to the Tetra networks in the neighbourhood (commersial network with lots of different users, airport, ..). Many thanks for this great software, I love it.
With the latest update's I see LIP data being decoded.
This morning I updated osmo-tetra to the latest version, after this update Telive is crashing on location data, I think its location data I'm not a programmer just a listener ;-)

In Telive I get a segment fault (Core dumpt)
 

hu

Newbie
Joined
Mar 5, 2015
Messages
3
Reaction score
0
Location
usa
what mean voice is broken? test file play good. once I heard half the message man speak but ago broken.?
 

sq5bpf

Member
Joined
Jan 23, 2014
Messages
517
Reaction score
15
In Telive I get a segment fault (Core dumpt)

i've had reports of this, but i can't reproduce it (and i don't see where this could happen in the code, it's just 2 simple functions).

for now try to comment out the following lines in rxx (put a # in front of the line) :

#export TETRA_KML_FILE=/tetra/log/tetra1.kml

#export TETRA_KML_INTERVAL=3


this disables KML export, and should "fix" the problem.
 

henrygb

Member
Joined
Dec 13, 2007
Messages
90
Reaction score
1
I update today, and no found this error yet, maybe few LIP data in my neighbur tetra system
 

sq5bpf

Member
Joined
Jan 23, 2014
Messages
517
Reaction score
15
unfortunately this error is hard to reproduce. i've tried to play back logs into telive from people who get crashes, and everything is ok on my systems.

to everyone who gets crashes: please send me what linux distribution you're using including the bit length (like "debian 7.8 32-bit"), and the result of free. preferably send it via private message
 

hansheesbeen

Member
Joined
Jul 30, 2010
Messages
55
Reaction score
0
Location
Tilburg, NL
In Telive I get a segment fault (Core dumpt)

Had this problem in one of the first releases of Telive, Also monitoring commercial networks in the Netherlands.

Maybe some network settings who made an conflict?

Reinstall Telive gave the solution, after that I had never crashes anymore...
 

ET-NL

Member
Joined
Mar 5, 2015
Messages
79
Reaction score
6
Location
Netherlands, Europe
It looks like after restarting my machine (Unbuntu 32 Bits VM) I did not see the problem again.
At the moment of the crash Telive log's where running, can you use them for troubleshooting ?

Elmar
(my post have some delay, there I'm a new user and still under moderation)
 

sq5bpf

Member
Joined
Jan 23, 2014
Messages
517
Reaction score
15
It looks like after restarting my machine (Unbuntu 32 Bits VM) I did not see the problem again.

a restart shouldn't change anything

At the moment of the crash Telive log's where running, can you use them for troubleshooting ?

not really. i already got a few logs from people, also with telive versions patched for better debugging. it seems that there is some heap corruption, but i don't know why. and i can't reproduce it.


i am begining to suspect that this is a problem with running the software under a virtual machine - is there anyone who has crashes under linux running on normal hardware (not a vm)?
 
Status
Not open for further replies.
Top