SDR# TETRA Demodulator Trunk Tracking Demonstration

Ivalpe

Member
Joined
Feb 9, 2023
Messages
6
Good night friends. thanks for the tips.

I have written a document with the steps to follow. Sorry for my English. Please tell me if there is any error.

sdr works fine but TTT keeps failing

I do not know what else to do :(

Thank you very much for attending
 

Attachments

  • INSTALL-TTT (1).pdf
    219.8 KB · Views: 90

Yorch

Member
Joined
Jan 31, 2023
Messages
9
Location
Spain
Hello, I receive in my SDR proprietary position information 0X80 with this format;

SSI:1050553 D_SDS_Data Party_SSI:1050585 Type:UDT-4 Length:81 Protocol:Simple_location_system LocationSystemCodingScheme:User defined (128 = unknown data) TEXT:'Undefined_protocol' DATA:'00010110000100110110010101101101100111111110101000111010010001010'
SSI:1050553 D_SDS_Data Party_SSI:1050218 Type:UDT-4 Length:81 Protocol:Simple_location_system LocationSystemCodingScheme:User defined (128 = unknown data) TEXT:'Undefined_protocol' DATA:'00010111010000110110001011000111101011111111001010101001110001000'
SSI:1050553 D_SDS_Data Party_SSI:1050132 Type:UDT-4 Length:81 Protocol:Simple_location_system LocationSystemCodingScheme:User defined (128 = unknown data) TEXT:'Undefined_protocol' DATA:'00011000100100110110010111011010110111111110111101101100010100100'
SSI:1050553 D_SDS_Data Party_SSI:1050132 Type:UDT-4 Length:81 Protocol:Simple_location_system LocationSystemCodingScheme:User defined (128 = unknown data) TEXT:'Undefined_protocol' DATA:'00011001010000110110010111010110101011111110111101101001110100100'
SSI:1050553 D_SDS_Data Party_SSI:1050132 Type:UDT-4 Length:81 Protocol:Simple_location_system LocationSystemCodingScheme:User defined (128 = unknown data) TEXT:'Undefined_protocol' DATA:'00011001111000110110010111010101101011111110111101100110001000100'
SSI:1050553 D_SDS_Data Party_SSI:1050136 Type:UDT-4 Length:81 Protocol:Simple_location_system LocationSystemCodingScheme:User defined (128 = unknown data) TEXT:'Undefined_protocol' DATA:'00011010111000110110010111010000001011111110111101100010100001010'
SSI:1050553 D_SDS_Data Party_SSI:1050136 Type:UDT-4 Length:81 Protocol:Simple_location_system LocationSystemCodingScheme:User defined (128 = unknown data) TEXT:'Undefined_protocol' DATA:'00011011011100110110010111001100000011111110111101011110011001000'
SSI:1050553 D_SDS_Data Party_SSI:1050136 Type:UDT-4 Length:81 Protocol:Simple_location_system LocationSystemCodingScheme:User defined (128 = unknown data) TEXT:'Undefined_protocol' DATA:'00011100000000110110010111001000100111111110111101011010101001000'


The TTT LRRP panel does not show the positions, is it possible to implement this location system?
Thank you
 

thewraith2008

Member
Joined
Nov 22, 2016
Messages
1,867
The entries say: "LocationSystemCodingScheme:User defined (128 = unknown data) TEXT:'Undefined_protocol'"
Unless somebody knows the structure of the data, then no, it can't be implemented.



Latest version (v1.8.6.0) can be found here: MEGA - Download
Release post here
 

Ivalpe

Member
Joined
Feb 9, 2023
Messages
6
⚠️CC TCP ERROR PROBLEM: FIXED⚠️👌

I was able to fix the error. I leave the images to help others.
 

Attachments

  • IMG_20230211_102243.jpg
    IMG_20230211_102243.jpg
    22.3 KB · Views: 105
  • IMG_20230211_102153.jpg
    IMG_20230211_102153.jpg
    34.9 KB · Views: 97

Yorch

Member
Joined
Jan 31, 2023
Messages
9
Location
Spain
ok thanks, it has already been applied in other projects as it is a common system in Sepura Europe.
Example:

case 0x80:
/* some proprietary system seen in the wild in Spain, Itlay and France
* some speculate it's either from DAMM or SEPURA */
m=12; unk_flags=bits_to_uint(bits+n,m); n=n+m; /* skip some unknown part */
m=24; loc_lattitude=bits_to_uint(bits+n,m); n=n+m;
m=24; loc_longtitude=bits_to_uint(bits+n,m); n=n+m;
/* i didn't figure out yet what the other bits mean yet */
if (loc_lattitude&(1<<23)) {
lattitude=(((1<<24)-loc_lattitude)*180.0)/(1.0*(1<<24)); latdir='S';
} else
{
lattitude=(loc_lattitude*180.0)/(1.0*(1<<24)); latdir='N';
}
if (loc_longtitude&(1<<23)) {
longtitude=(((1<<24)-loc_longtitude)*360.0)/(1.0*(1<<24)); londir='W';
} else
{
longtitude=(loc_longtitude*360.0)/(1.0*(1<<24)); londir='E';
}
if ((lattitude==90)&&(longtitude==0)) is_invalid=1;
if ((lattitude==0)&&(longtitude==0)) is_invalid=1;
snprintf(out,outlen,"PROPRIETARY_0x80 %sunknown_flags:0x%4.4x lat:%.6f%c lon:%.6f%c",is_invalid?"INVALID_POSITION ":"",unk_flags,lattitude,latdir,longtitude,londir);
dump=0;
break;
default:
snprintf(out,outlen,"proprietary coding scheme 0x%2.2x: ",locsystem_coding_scheme); outlen=outlen-33;
}
source of information: osmo-tetra-sq5bpf/tetra_sds.c at master · sq5bpf/osmo-tetra-sq5bpf
I will be happy with the result.
thank you.
 

khalidA

Newbie
Joined
May 4, 2022
Messages
1
Hi everyone, just a quick question; is there a way to lock *into* a group when the group is not active or before the option of clicking on the group label becomes available? (as an option in the configuration files at least).

Thanks
 

thewraith2008

Member
Joined
Nov 22, 2016
Messages
1,867
There are 3 ways to hold on a group in TTT.
  1. When call is active. (clicking group)
  2. Select from a list of the last 8 GSSIs
  3. Define a GSSI
You will find how to access them in the documentation under "GSSI Hold"



Latest version (v1.8.6.0) can be found here: MEGA - Download
Release post here
 

thewraith2008

Member
Joined
Nov 22, 2016
Messages
1,867
ok thanks, it has already been applied in other projects as it is a common system in Sepura Europe.
Example:
source of information: osmo-tetra-sq5bpf/tetra_sds.c at master · sq5bpf/osmo-tetra-sq5bpf
I will be happy with the result.
thank you.
If you have an IQ sample of a few of these 0x80 'Simple_location_system' occurring, I could probably look into adding it.
It would also be helpful to have an approximate GPS location so I know when testing that the decoding is OK.
You can do this via PM if you like.



Latest version (v1.8.6.0) can be found here: MEGA - Download
Release post here
 

Cretu

Member
Joined
Oct 9, 2022
Messages
21
If you have an IQ sample of a few of these 0x80 'Simple_location_system' occurring, I could probably look into adding it.
It would also be helpful to have an approximate GPS location so I know when testing that the decoding is OK.
You can do this via PM if you like.
Hello. I have the same data than the user Yorch (but most likely from another location):
Type:UDT-4 Length:88 Protocol:Simple_location_system LocationSystemCodingScheme:User defined (128 = unknown data)

Also, I have some data you specifically asked for it in the documentation (If you see send IQ sample of it to me):
SSI:XXXXX D_SDS_Data Party_SSI:XXXXX Type:UDT-4 Length:1120 Protocol:Message_with_User_Data_Header_TL MessageType:SDS-Transfer UDH_message_ref_#:201 UDH_message_number:1/2 TextCodingScheme:Latin_1 TimeStampUsed:No TEXT:'Undefined_protocol'

This last procotol is simply binary to text, and can be readed very, very easily. In my case, it was split in two SDS because it was long.


So, if you are still interested in this, please give us some details of how you we should capture/send the IQ samples. Thank you!
 

thewraith2008

Member
Joined
Nov 22, 2016
Messages
1,867
Hello. I have the same data than the user Yorch (but most likely from another location):
Type:UDT-4 Length:88 Protocol:Simple_location_system LocationSystemCodingScheme:User defined (128 = unknown data)
Both use "User defined (128 = unknown data)" so implementing for one won't work for the other.

So, if you are still interested in this, please give us some details of how you we should capture/send the IQ samples. Thank you!
You should be able to get the idea of creating the samples by reading the post here and here.
NOTE: The updated version of the IFRecorder (SDR#) plug-in can be downloaded from here.

Latest version (v1.8.6.0) can be found here: MEGA - Download
Release post here
 

Cretu

Member
Joined
Oct 9, 2022
Messages
21
Both use "User defined (128 = unknown data)" so implementing for one won't work for the other.
Hello and thanks for your response. Since both are User defined 128, can't you diferentiate them by their lenght? (one is 81, other 88). In my case, all of the PDUs ends with 8 zeros, so perhaps those can be discarded and are the same as 81?.

I will send you IQ asap.
 

hamradionl

Member
Joined
Mar 23, 2014
Messages
730
Hello and thanks for your response. Since both are User defined 128, can't you diferentiate them by their lenght? (one is 81, other 88). In my case, all of the PDUs ends with 8 zeros, so perhaps those can be discarded and are the same as 81?.

I will send you IQ asap.
I lost interest but one of the authors have develop a version with separate user files in there own root folder :/tetra/data/UserDefine128.txt, UserDefine81.txt, UserDefine88.txt etc etc. You as user where able to edit there own "UserDefined" string or key in these files. TTT or Tetra decoder or other program was handling that or those files and show the "UserDefine string" in the output like dates or time stamp or whatever editted inside these files (ASCII or binair or any other code). There be also one version who did some small compiling the binairy output to limited text out.
Sorry, i have no idea or better i forgot who of the many authors develop that particular version. Also have no idea if that version is or whas public release or made just on request or just ones be a BETA release to test. Sorry, no idea (anymore) its to long ago.
 
Last edited:

Dax50

Member
Joined
Oct 19, 2022
Messages
28
I think i found a buck TTT 1.8.6.0

everytime recording is active and a simplex call is recieved the TTT crashed🙈
 

oe5kbo

Member
Joined
Oct 22, 2013
Messages
48
Location
Wels Austira
Assuming the ports that are defined in TTT and the plug-in are the same, I would guess that it's a Windows Firewall permissions issue.
When you first tried TTT and SDR# + plug-in, Windows should have asked the question that they wanted access.

You probably need to find the settings in Windows to handle this. I can't help here as I don't use Win10/11.



Latest version (v1.8.6.0) can be found here: MEGA - Download
Release post here
hallo ich brauche mal hilfe TTT download ich finde nicht den richtigen link für den download der letzten version.

Kann mir jemand den link senden um es downzuloaden und dann in SDR Sharp reinzukopieren.

Danke für jede hilfe
 

oe5kbo

Member
Joined
Oct 22, 2013
Messages
48
Location
Wels Austira
Bitte um Hilfe um Tetra Trunk Tracker runterzuladen und in SDR Sharp reinzukopieren.

Welcher link ist ist der download ??? wie kopiert man es in SDR Sharp plugin ????? Bitte um Hilfe und Infos
 

hamradionl

Member
Joined
Mar 23, 2014
Messages
730
Bitte um Hilfe um Tetra Trunk Tracker runterzuladen und in SDR Sharp reinzukopieren.

Welcher link ist ist der download ??? wie kopiert man es in SDR Sharp plugin ????? Bitte um Hilfe und Infos

The MEGA DOWNLOAD link is below in all messages from thewraith2008
btw i think i be one of the smal group who able read German, better use English :)
 

hamradionl

Member
Joined
Mar 23, 2014
Messages
730
TTT or Tetra decoder,
inside the diagram the data burst block is most of time shown in second line and on the left side.
some new users having the databurst in the second line on the right side (inverted) and there are channels having both left + right
TTT and Tetra decoder cant handle this type data burst. hear some short bliept and blips come out of speaker but thats all
In the past TSSDR made a version that have a inverted button, this inverted button is lost after TSSDR stopt developing
No main freq is be shown
Anyone else see this?

Before responding, these are very very strong signals so noise or mismatch can not be causing the wrong or double data burst.
 

NarKo

Newbie
Joined
Jun 29, 2020
Messages
3
ok thanks, it has already been applied in other projects as it is a common system in Sepura Europe.
Example:

case 0x80:
/* some proprietary system seen in the wild in Spain, Itlay and France
* some speculate it's either from DAMM or SEPURA */
m=12; unk_flags=bits_to_uint(bits+n,m); n=n+m; /* skip some unknown part */
m=24; loc_lattitude=bits_to_uint(bits+n,m); n=n+m;
m=24; loc_longtitude=bits_to_uint(bits+n,m); n=n+m;
/* i didn't figure out yet what the other bits mean yet */
if (loc_lattitude&(1<<23)) {
lattitude=(((1<<24)-loc_lattitude)*180.0)/(1.0*(1<<24)); latdir='S';
} else
{
lattitude=(loc_lattitude*180.0)/(1.0*(1<<24)); latdir='N';
}
if (loc_longtitude&(1<<23)) {
longtitude=(((1<<24)-loc_longtitude)*360.0)/(1.0*(1<<24)); londir='W';
} else
{
longtitude=(loc_longtitude*360.0)/(1.0*(1<<24)); londir='E';
}
if ((lattitude==90)&&(longtitude==0)) is_invalid=1;
if ((lattitude==0)&&(longtitude==0)) is_invalid=1;
snprintf(out,outlen,"PROPRIETARY_0x80 %sunknown_flags:0x%4.4x lat:%.6f%c lon:%.6f%c",is_invalid?"INVALID_POSITION ":"",unk_flags,lattitude,latdir,longtitude,londir);
dump=0;
break;
default:
snprintf(out,outlen,"proprietary coding scheme 0x%2.2x: ",locsystem_coding_scheme); outlen=outlen-33;
}
source of information: osmo-tetra-sq5bpf/tetra_sds.c at master · sq5bpf/osmo-tetra-sq5bpf
I will be happy with the result.
thank you.
SSI:1050553 D_SDS_Data Party_SSI:1050100 Type:UDT-4 Length:81 Protocol:Simple_location_system LocationSystemCodingScheme:User defined (128 = unknown data) TEXT:'Undefined_protocol' DATA:'01100001011100110101111100011011100111111111001100001000000011110'
SSI:1050553 D_SDS_Data Party_SSI:1050100 Type:UDT-4 Length:81 Protocol:Simple_location_system LocationSystemCodingScheme:User defined (128 = unknown data) TEXT:'Undefined_protocol' DATA:'01100001011100110101111100011011100111111111001100001000000011110'
SSI:1050553 D_SDS_Data Party_SSI:1050248 Type:UDT-4 Length:81 Protocol:Simple_location_system LocationSystemCodingScheme:User defined (128 = unknown data) TEXT:'Undefined_protocol' DATA:'10001001111000110101011011111010000011111111000110010110010000100'
SSI:1050553 D_SDS_Data Party_SSI:1050248 Type:UDT-4 Length:81 Protocol:Simple_location_system LocationSystemCodingScheme:User defined (128 = unknown data) TEXT:'Undefined_protocol' DATA:'10001001111000110101011011111010000011111111000110010110010000100'

I am also having the same problem as you and from what I see you are also from my area or close ( CT )
 
Top