DSD FME

aromka1

Member
Joined
Jul 5, 2024
Messages
12
In wich part of the source is
Gotcha. Well, I've done a fair bit of testing like that, and I've never experienced such a huge delay. I wish I could help more, but I'm at a loss without a lot more informat

Gotcha. Well, I've done a fair bit of testing like that, and I've never experienced such a huge delay. I wish I could help more, but I'm at a loss without a lot more information.
Maybe delay could be because of my computer. Later will try new one
 

aromka1

Member
Joined
Jul 5, 2024
Messages
12
I don’t know in which part of pre-compiled source talks about process of getting MI. I would like to check this code structure to understand better how it works.
 

ki4hyf

Member
Premium Subscriber
Joined
Mar 2, 2005
Messages
192
Location
Jackson, TN
I don’t know in which part of pre-compiled source talks about process of getting MI. I would like to check this code structure to understand better how it works.
I use the "-Z" switch and view the output log. It should show pretty much everything. Something like this:

Code:
=============================================
 Digital Speech Decoder: Florida Man Edition
=============================================

Build Version: Main 2024-264-gc0868ec
MBElib Version: 1.3.2
CODEC2 Support Enabled
Logging Frame Payload to console
Audio In Device: unknown_enc_p1.bin
10:40:42 Sync: -P25p1  src: [       0] tg: [    0]  duid:EE
10:40:42 Sync: -P25p1  nac: [ 1A0] src: [       0] tg: [    0]  TDULC
 LCW Encrypted Circuit Priority 4 Group Voice Channel User - Group 1201 Source 0
 P25 LCW Payload [00][00][44][00][04][B1][00][00][00]
10:40:42 Sync: -P25p1  nac: [ 1A0] src: [       0] tg: [ 1201]  TDULC
 LCW Adjacent Site Status Broadcast
 P25 LCW Payload [62][00][31][AE][01][01][21][C4][70]
10:40:42 Sync: -P25p1  nac: [ 1A0] src: [       0] tg: [ 1201]  TDULC
 LCW Conventional Fallback Indication
 P25 LCW Payload [42][20][74][04][4D][20][74][04][4D]
10:40:42 Sync: -P25p1  nac: [ 1A0] src: [       0] tg: [ 1201]  TDU
10:40:42 Sync: -P25p1  nac: [ 1A0] src: [       0] tg: [    0]  HDU
 HDU  ALG_ID: 0xAA KEY_ID: 0x0001 MI: 0xCF0D632C20B234F9 ENC
10:40:42 Sync: -P25p1  nac: [ 1A0] src: [       0] tg: [    0]  LDU1 
 IMBE B746C71DBDF65071036BF2 err = [0] [0]
 IMBE 053DBB547E7834AA435D4E err = [0] [1]
 IMBE 968DD88E46C2EB7F966745 err = [0] [0]
 IMBE 121C6CA36B24B64897EA41 err = [0] [0]
 IMBE 9C9E3AA6B2471EC7474B6C err = [0] [1]
 IMBE A8E903B821464C475BC921 err = [0] [0]
 IMBE B30731F2761A6C400F5622 err = [0] [0]
 IMBE E88E83AE1908642C3B0762 err = [0] [0]
 IMBE 1327AB7F5B5511F77EA541 err = [0] [0]
 LCW Encrypted Circuit Priority 4 Group Voice Channel User - Group 1201 Source 0
 P25 LCW Payload [00][00][44][00][04][B1][00][00][00]
10:40:42 Sync: -P25p1  nac: [ 1A0] src: [       0] tg: [ 1201]  LDU2 
 IMBE 21CDCA708DAFAC90D35969 err = [1] [5]
 IMBE 2B7B0F181DF77E73DB153D err = [1] [5]
 IMBE E9C4BD9D2F335BA7066E82 err = [1] [7]
 IMBE BFCBA7D35454E78D9C3826 err = [1] [7]
 IMBE 545CE2455DA4971770312C err = [0] [4]
 IMBE D709AB18E82719CA95378E err = [0] [3]
 IMBE 09D50411A025F570B0C947 err = [0] [2]
 IMBE CA47B64DAE312F8B3A3B7F err = [0] [2]
 IMBE 309F003EE34268A825369F err = [1] [5]
 LDU2 ALG ID: 0xAA KEY ID: 0x0001 MI: 0xB0BF5BCF372BCF3C ENC
10:40:42 Sync: -P25p1  nac: [ 1A0] src: [       0] tg: [ 1201]  LDU1 
 IMBE CB1B9011365FF7427773DB err = [0] [0]
 IMBE 81012C7DF4C655845D5F35 err = [0] [0]
 IMBE 1EF65052A1EFBF19291CEE err = [0] [0]
 IMBE 71DD81B635049250608200 err = [0] [1]
 IMBE A4CBECF1B5495CFF70245F err = [0] [0]
 IMBE C54C3C3B1DC1FCE2C1B03E err = [0] [0]
 IMBE 967FBE10850052BDE5CD19 err = [0] [1]
 IMBE 9CCB8D4EE6662069606C9F err = [0] [1]
 IMBE 342D6EBB29EC3FCD926B52 err = [0] [1]
 LCW Adjacent Site Status Broadcast
 P25 LCW Payload [62][00][31][AE][01][01][21][C4][70]
10:40:42 Sync: -P25p1  nac: [ 1A0] src: [       0] tg: [ 1201]  LDU2 
 IMBE 0A716657FEE0B68BDB3A3A err = [0] [1]
 IMBE 31CA62543E98CC0601BB4C err = [0] [0]
 IMBE 2357D043C9D59739905A93 err = [0] [2]
 IMBE 656D8265C42F345D616C8C err = [0] [2]
 IMBE FFC50E2375815D40DBFC18 err = [0] [1]
 IMBE 99B78C592AFEC5922B09AA err = [0] [0]
 IMBE 6F000A12856A4AA271BA38 err = [0] [0]
 IMBE B1A7F158A22E3A2787DBF6 err = [0] [1]
 IMBE 1DCDA0E1277BB58163B5ED err = [0] [1]
 LDU2 ALG ID: 0xAA KEY ID: 0x0001 MI: 0x5AA315AD592712F2 ENC
10:40:42 Sync: -P25p1  nac: [ 1A0] src: [       0] tg: [ 1201]  LDU1 
 IMBE 615E4918CC7C1ED6A532AF err = [0] [2]
 IMBE 1067D5F7C6FFC71640A9F0 err = [0] [1]
 IMBE 206271D83F45CFE34AE531 err = [1] [4]
 IMBE 358BDDB93C0A8EE1AF8396 err = [0] [1]
 IMBE BB8B70DAAE2782915E646A err = [0] [2]
 IMBE FC935EC14BAD9C13A238E2 err = [1] [4]
 IMBE FA52A6B1C16DC4DAA816E3 err = [1] [4]
 IMBE 65A010F0A31A693DA8BEFA err = [1] [2]
 IMBE EBE59E7CC2A78AF1BF0F6A err = [1] [4]
 LCW Encrypted Circuit Priority 4 Group Voice Channel User - Group 1201 Source 1005
 P25 LCW Payload [00][00][44][00][04][B1][00][03][ED]
10:40:42 Sync: -P25p1  nac: [ 1A0] src: [    1005] tg: [ 1201]  LDU2 
 IMBE 1D0B71C6226A3AFBC47F47 err = [0] [0]
 IMBE 1EFD9C1084C6B61D31DE2F err = [0] [1]
 IMBE A75AF835E9AD34E676C416 err = [0] [1]
 IMBE 593835F15839E87FE83136 err = [0] [0]
 IMBE 13976680FEDE3E2C965340 err = [0] [0]
 IMBE 545766A85B498FE3584F02 err = [0] [1]
 IMBE BD6A59A6B5B42EDA45E0DF err = [0] [0]
 IMBE 69491FB64C2DCD7965A314 err = [0] [0]
 IMBE 94625C5CDE6F539C544024 err = [0] [0]
 LDU2 ALG ID: 0xAA KEY ID: 0x0001 MI: 0xD2F9406762DD3E8B ENC
 
Joined
Jul 8, 2024
Messages
8
I don't do windows, but I think that once you download, unzip and follow the "README Windows.txt" you should be good to go.
Thank you!!! In which system should I install it for its optimal operation? Linux? Ubuntu? If so, could you inform me to do it and that you have to download and run to achieve the correct installation

I appreciate the help and your answers, and excuse me if they are repetitive questions but I'm really very lost...
 

ki4hyf

Member
Premium Subscriber
Joined
Mar 2, 2005
Messages
192
Location
Jackson, TN
Thank you!!! In which system should I install it for its optimal operation? Linux? Ubuntu? If so, could you inform me to do it and that you have to download and run to achieve the correct installation

I appreciate the help and your answers, and excuse me if they are repetitive questions but I'm really very lost...
Linux is the native environment. If you want to use Linux, download and run dsd-fme/download-and-install.sh at audio_work · lwvmobile/dsd-fme
If you want to run windows, follow the steps in the previous message. There is no installer for windows that I saw. Just unzip and follow the instructions in the readme file.
 

ki4hyf

Member
Premium Subscriber
Joined
Mar 2, 2005
Messages
192
Location
Jackson, TN
I don’t know in which part of pre-compiled source talks about process of getting MI. I would like to check this code structure to understand better how it works.
It dawned on me after I replied that you probably meant the source code. Without knowing specifically what you are trying to accomplish, it's hard to answer.
 
Joined
Jul 8, 2024
Messages
8
I greatly appreciate your patience.
I'm still very lost... I currently have the normal DSD version of Louis Erig Herve and CYGWIN installed. I'm on Windows10 64bits... I already downloaded the DSD-FME version from the link they gave me for Windows. As start? How do I call the new version of DSD-FME and not the previous one I had? INSTALL THIS VERSION SO I CAN LISTEN TO NXDN WITH THE KNOWN ENCRYPTION KEY I HAVE. Excuse me for being so ignorant on this topic but I have been looking for information for 2 days to be able to install and get the new version up and running. I have read the README file but I really don't understand how to run that version. I already have itpp and cygwin and mbelib installed... My normal DSD already works, I just want to implement the function of being able to enter the encryption key to be able to listen,
 
Joined
Jul 8, 2024
Messages
8
UPDATE: I already managed to run the dsd-fme... what I can't do is how to place the NXDN encryption key that I have... where do I place it and what command should I place? It's worth mentioning that I couldn't get it to run from Cygwin... It only runs when clicking on 1aa - start-dsd-fme.bat Tips? Where do I place the key and what should I modify?
 

ki4hyf

Member
Premium Subscriber
Joined
Mar 2, 2005
Messages
192
Location
Jackson, TN
Where do I place the key and what should I modify?
If you are using NCurses, you can hit the "up" arrow key then follow the prompts for key entry. If you want to permanently add the key, edit the "nxdn_sc_key.csv" located in dsd-fme/examples and edit the startup batch file, like; dsd-fme -k examples/nxdn_sc_key.csv. Using "dsd-fme -h" should show the help text. Once again, I'm not familiar with the windows version, so some things may be a little different.
 

aromka1

Member
Joined
Jul 5, 2024
Messages
12
I use the "-Z" switch and view the output log. It should show pretty much everything. Something like this:

Code:
=============================================
 Digital Speech Decoder: Florida Man Edition
=============================================

Build Version: Main 2024-264-gc0868ec
MBElib Version: 1.3.2
CODEC2 Support Enabled
Logging Frame Payload to console
Audio In Device: unknown_enc_p1.bin
10:40:42 Sync: -P25p1  src: [       0] tg: [    0]  duid:EE
10:40:42 Sync: -P25p1  nac: [ 1A0] src: [       0] tg: [    0]  TDULC
 LCW Encrypted Circuit Priority 4 Group Voice Channel User - Group 1201 Source 0
 P25 LCW Payload [00][00][44][00][04][B1][00][00][00]
10:40:42 Sync: -P25p1  nac: [ 1A0] src: [       0] tg: [ 1201]  TDULC
 LCW Adjacent Site Status Broadcast
 P25 LCW Payload [62][00][31][AE][01][01][21][C4][70]
10:40:42 Sync: -P25p1  nac: [ 1A0] src: [       0] tg: [ 1201]  TDULC
 LCW Conventional Fallback Indication
 P25 LCW Payload [42][20][74][04][4D][20][74][04][4D]
10:40:42 Sync: -P25p1  nac: [ 1A0] src: [       0] tg: [ 1201]  TDU
10:40:42 Sync: -P25p1  nac: [ 1A0] src: [       0] tg: [    0]  HDU
 HDU  ALG_ID: 0xAA KEY_ID: 0x0001 MI: 0xCF0D632C20B234F9 ENC
10:40:42 Sync: -P25p1  nac: [ 1A0] src: [       0] tg: [    0]  LDU1
 IMBE B746C71DBDF65071036BF2 err = [0] [0]
 IMBE 053DBB547E7834AA435D4E err = [0] [1]
 IMBE 968DD88E46C2EB7F966745 err = [0] [0]
 IMBE 121C6CA36B24B64897EA41 err = [0] [0]
 IMBE 9C9E3AA6B2471EC7474B6C err = [0] [1]
 IMBE A8E903B821464C475BC921 err = [0] [0]
 IMBE B30731F2761A6C400F5622 err = [0] [0]
 IMBE E88E83AE1908642C3B0762 err = [0] [0]
 IMBE 1327AB7F5B5511F77EA541 err = [0] [0]
 LCW Encrypted Circuit Priority 4 Group Voice Channel User - Group 1201 Source 0
 P25 LCW Payload [00][00][44][00][04][B1][00][00][00]
10:40:42 Sync: -P25p1  nac: [ 1A0] src: [       0] tg: [ 1201]  LDU2
 IMBE 21CDCA708DAFAC90D35969 err = [1] [5]
 IMBE 2B7B0F181DF77E73DB153D err = [1] [5]
 IMBE E9C4BD9D2F335BA7066E82 err = [1] [7]
 IMBE BFCBA7D35454E78D9C3826 err = [1] [7]
 IMBE 545CE2455DA4971770312C err = [0] [4]
 IMBE D709AB18E82719CA95378E err = [0] [3]
 IMBE 09D50411A025F570B0C947 err = [0] [2]
 IMBE CA47B64DAE312F8B3A3B7F err = [0] [2]
 IMBE 309F003EE34268A825369F err = [1] [5]
 LDU2 ALG ID: 0xAA KEY ID: 0x0001 MI: 0xB0BF5BCF372BCF3C ENC
10:40:42 Sync: -P25p1  nac: [ 1A0] src: [       0] tg: [ 1201]  LDU1
 IMBE CB1B9011365FF7427773DB err = [0] [0]
 IMBE 81012C7DF4C655845D5F35 err = [0] [0]
 IMBE 1EF65052A1EFBF19291CEE err = [0] [0]
 IMBE 71DD81B635049250608200 err = [0] [1]
 IMBE A4CBECF1B5495CFF70245F err = [0] [0]
 IMBE C54C3C3B1DC1FCE2C1B03E err = [0] [0]
 IMBE 967FBE10850052BDE5CD19 err = [0] [1]
 IMBE 9CCB8D4EE6662069606C9F err = [0] [1]
 IMBE 342D6EBB29EC3FCD926B52 err = [0] [1]
 LCW Adjacent Site Status Broadcast
 P25 LCW Payload [62][00][31][AE][01][01][21][C4][70]
10:40:42 Sync: -P25p1  nac: [ 1A0] src: [       0] tg: [ 1201]  LDU2
 IMBE 0A716657FEE0B68BDB3A3A err = [0] [1]
 IMBE 31CA62543E98CC0601BB4C err = [0] [0]
 IMBE 2357D043C9D59739905A93 err = [0] [2]
 IMBE 656D8265C42F345D616C8C err = [0] [2]
 IMBE FFC50E2375815D40DBFC18 err = [0] [1]
 IMBE 99B78C592AFEC5922B09AA err = [0] [0]
 IMBE 6F000A12856A4AA271BA38 err = [0] [0]
 IMBE B1A7F158A22E3A2787DBF6 err = [0] [1]
 IMBE 1DCDA0E1277BB58163B5ED err = [0] [1]
 LDU2 ALG ID: 0xAA KEY ID: 0x0001 MI: 0x5AA315AD592712F2 ENC
10:40:42 Sync: -P25p1  nac: [ 1A0] src: [       0] tg: [ 1201]  LDU1
 IMBE 615E4918CC7C1ED6A532AF err = [0] [2]
 IMBE 1067D5F7C6FFC71640A9F0 err = [0] [1]
 IMBE 206271D83F45CFE34AE531 err = [1] [4]
 IMBE 358BDDB93C0A8EE1AF8396 err = [0] [1]
 IMBE BB8B70DAAE2782915E646A err = [0] [2]
 IMBE FC935EC14BAD9C13A238E2 err = [1] [4]
 IMBE FA52A6B1C16DC4DAA816E3 err = [1] [4]
 IMBE 65A010F0A31A693DA8BEFA err = [1] [2]
 IMBE EBE59E7CC2A78AF1BF0F6A err = [1] [4]
 LCW Encrypted Circuit Priority 4 Group Voice Channel User - Group 1201 Source 1005
 P25 LCW Payload [00][00][44][00][04][B1][00][03][ED]
10:40:42 Sync: -P25p1  nac: [ 1A0] src: [    1005] tg: [ 1201]  LDU2
 IMBE 1D0B71C6226A3AFBC47F47 err = [0] [0]
 IMBE 1EFD9C1084C6B61D31DE2F err = [0] [1]
 IMBE A75AF835E9AD34E676C416 err = [0] [1]
 IMBE 593835F15839E87FE83136 err = [0] [0]
 IMBE 13976680FEDE3E2C965340 err = [0] [0]
 IMBE 545766A85B498FE3584F02 err = [0] [1]
 IMBE BD6A59A6B5B42EDA45E0DF err = [0] [0]
 IMBE 69491FB64C2DCD7965A314 err = [0] [0]
 IMBE 94625C5CDE6F539C544024 err = [0] [0]
 LDU2 ALG ID: 0xAA KEY ID: 0x0001 MI: 0xD2F9406762DD3E8B ENC
Ok, thanks. So I am looking for in the precompiled source file about
 

aromka1

Member
Joined
Jul 5, 2024
Messages
12
Ok thanks, and do you know in which part of the source Pre-compiled c-code is the part about “algorithm: RC4 + IVs” receiving? I would like to check it to understand better how it works.
 
Joined
Jul 8, 2024
Messages
8
Hello, I already have DSD-FME working correctly in Cygwin. A doubt now what command should I use? I want to listen to NXDN48 With the encryption key 16871, my input and output devices are the defaults 1, 1, I'm struggling with the commands I don't know which ones I should use
 

ki4hyf

Member
Premium Subscriber
Joined
Mar 2, 2005
Messages
192
Location
Jackson, TN
Ok thanks, and do you know in which part of the source Pre-compiled c-code is the part about “algorithm: RC4 + IVs” receiving? I would like to check it to understand better how it works.
Except for protocol specific code, probably what you are looking for is in dsd-mbe.c.
 

ki4hyf

Member
Premium Subscriber
Joined
Mar 2, 2005
Messages
192
Location
Jackson, TN
Hello, I already have DSD-FME working correctly in Cygwin. A doubt now what command should I use? I want to listen to NXDN48 With the encryption key 16871, my input and output devices are the defaults 1, 1, I'm struggling with the commands I don't know which ones I should use
The command line switch for NXDN48 is "-f1" and to manually enter a scrambler key, the switch is "-R". So, a simple command should be like:
Code:
dsd-fme -fi -R 16871 -N 2> log.ans
I'm guessing the audio inputs and outputs should probably be handled by sound mapper or whatever it is that windows uses.
 
Top