OP25 multi_rx cfg.json udp question

Status
Not open for further replies.

krutzy

Member
Feed Provider
Joined
Sep 17, 2004
Messages
141
Reaction score
15
Location
Culpeper, VA
I think I have everything sorted now. I just have a quick question. I noticed it the cfg-trunk2.json and cfg-trunkx.json there is a conflict in my mind. In cfg-trunk2.json the cc channel is sending sound to port 56124 and voice to 23456. In cfg-trunkx.json the UDP ports seem to be mixed between voice and control channels. I know what 23456 is for, what is 56124 for? The system I am using is a Harris P25 P2 TDMA system, isn't there voice data also mixed with the control channel? Since it is UDP data couldn't both channels use 23456?

Thank you.
 

wgbecks

Active Member
Joined
Jan 17, 2005
Messages
1,208
Reaction score
464
Location
NE Wisconsin
The two examples cited are indeed somewhat confusing... A basic rule is that UDP port destinations in the JSON need to be set to different
or unique port number as to avoid conflicts on the destination network.

Make note that multi_rx.py requires you to set a "destination" for each channel role defined in your JSON to include the control channel itself. Just be sure to set the control channels UDP Port to one that’s not in use to act as a dummy of sorts. The control channel actually does output UDP audio packets but would cause an echo if set to the same port number as the assigned to the voice channel.

The use of UDP Port 23456 is unique in that it is the default port number used by audio.py when stated without any command line arguments setting it to a different port number. IE./audio.py -u 23460 would override the default 23456 port.


{
"channels": [
{
"demod_type": "cqpsk",
"destination": "udp://127.0.0.1:23450",
"excess_bw": 0.2,
"filter_type": "rc",
"frequency": 0,
"if_rate": 24000,
"name": "MPSCS CC",
"plot": "",
"decode": "p25_decoder:role=cc:dev=airspy:nac=0x79b",
"symbol_rate": 4800
},
{
"demod_type": "cqpsk",
"destination": "udp://127.0.0.1:23456",
"excess_bw": 0.2,
"filter_type": "rc",
"frequency": 0,
"if_rate": 24000,
"name": "MPSCS VC",
"plot": "",
"decode": "p25_decoder:role=vc:dev=airspy",
"symbol_rate": 4800
}
],
"devices": [
{
"args": "airspy=0",
"frequency": 853925000,
"gains": "LNA:15,MIX:15,IF:12",
"name": "airspy",
"offset": 0,
"ppm": 0,
"rate": 3000000,
"tunable": true
}
]
}
 

krutzy

Member
Feed Provider
Joined
Sep 17, 2004
Messages
141
Reaction score
15
Location
Culpeper, VA
Thank you very much - that is exactly what I needed to understand and actually thought that might be the case. I appreciate your response.
 
Status
Not open for further replies.
Top