Date   

Re: 1 Way Audio (XLX DMR to ASL)

Steve N4IRS
 

I was thinking about having to transcode DMR to YSF when it's not needed. I do understand the control issue.

On 7/10/2019 2:49 PM, Steve KC1AWV wrote:
Eh, I suppose it's personal preference really. ASL has a lot more control, and I do prefer to add or remove connections (reflectors) direct from the radio or mobile app.

On Wed, Jul 10, 2019 at 2:25 PM Steve N4IRS <szingman@...> wrote:
Steve,
Is this XLX D-Star or XLX DMR? If it is DMR,  though I see the advantage to doing the mixing (and control) in ASL, Would it not be better to bridge XLX to YSF and add a Analog connection to XLX or YSF?  

On 7/10/2019 2:20 PM, Steve KC1AWV wrote:
I would create separate paths for each mode in ASL. Say the YSF path is using exten 1999, then make the XLX path use exten 1998. Change the USRP port numbers accordingly in rpt.conf and AB.

Steve KC1AWV

On Wed, Jul 10, 2019 at 2:10 PM Eric Dayrit <kf6itc@...> wrote:
Steve (KC1AWV)

Is this okay?

MB-XLX<->MB-YSF<->AB-XLX<->AB-YSF<->ASL

I'm trying to bridge XLX to YSF to ASL with this format trying to get rid of DMRG. The YSF to ASL is already done and working. I just need to do the XLX side, thanks.

73, Eric


--
Steve Miller
KC1AWV



--
Steve Miller
KC1AWV


Re: 1 Way Audio (XLX DMR to ASL)

Steve KC1AWV
 

Eh, I suppose it's personal preference really. ASL has a lot more control, and I do prefer to add or remove connections (reflectors) direct from the radio or mobile app.

On Wed, Jul 10, 2019 at 2:25 PM Steve N4IRS <szingman@...> wrote:
Steve,
Is this XLX D-Star or XLX DMR? If it is DMR,  though I see the advantage to doing the mixing (and control) in ASL, Would it not be better to bridge XLX to YSF and add a Analog connection to XLX or YSF?  

On 7/10/2019 2:20 PM, Steve KC1AWV wrote:
I would create separate paths for each mode in ASL. Say the YSF path is using exten 1999, then make the XLX path use exten 1998. Change the USRP port numbers accordingly in rpt.conf and AB.

Steve KC1AWV

On Wed, Jul 10, 2019 at 2:10 PM Eric Dayrit <kf6itc@...> wrote:
Steve (KC1AWV)

Is this okay?

MB-XLX<->MB-YSF<->AB-XLX<->AB-YSF<->ASL

I'm trying to bridge XLX to YSF to ASL with this format trying to get rid of DMRG. The YSF to ASL is already done and working. I just need to do the XLX side, thanks.

73, Eric


--
Steve Miller
KC1AWV



--
Steve Miller
KC1AWV


Re: Analog_Bridge and tune.sh script #analog_bridge

SP2ONG Waldek
 

Yes, exactly.


Re: 1 Way Audio (XLX DMR to ASL)

Steve N4IRS
 

Steve,
Is this XLX D-Star or XLX DMR? If it is DMR,  though I see the advantage to doing the mixing (and control) in ASL, Would it not be better to bridge XLX to YSF and add a Analog connection to XLX or YSF?  

On 7/10/2019 2:20 PM, Steve KC1AWV wrote:
I would create separate paths for each mode in ASL. Say the YSF path is using exten 1999, then make the XLX path use exten 1998. Change the USRP port numbers accordingly in rpt.conf and AB.

Steve KC1AWV

On Wed, Jul 10, 2019 at 2:10 PM Eric Dayrit <kf6itc@...> wrote:
Steve (KC1AWV)

Is this okay?

MB-XLX<->MB-YSF<->AB-XLX<->AB-YSF<->ASL

I'm trying to bridge XLX to YSF to ASL with this format trying to get rid of DMRG. The YSF to ASL is already done and working. I just need to do the XLX side, thanks.

73, Eric


--
Steve Miller
KC1AWV


Re: 1 Way Audio (XLX DMR to ASL)

Steve KC1AWV
 

I would create separate paths for each mode in ASL. Say the YSF path is using exten 1999, then make the XLX path use exten 1998. Change the USRP port numbers accordingly in rpt.conf and AB.

Steve KC1AWV


On Wed, Jul 10, 2019 at 2:10 PM Eric Dayrit <kf6itc@...> wrote:
Steve (KC1AWV)

Is this okay?

MB-XLX<->MB-YSF<->AB-XLX<->AB-YSF<->ASL

I'm trying to bridge XLX to YSF to ASL with this format trying to get rid of DMRG. The YSF to ASL is already done and working. I just need to do the XLX side, thanks.

73, Eric



--
Steve Miller
KC1AWV


Re: 1 Way Audio (XLX DMR to ASL)

Eric-K6KWB
 

Steve (KC1AWV)

Is this okay?

MB-XLX<->MB-YSF<->AB-XLX<->AB-YSF<->ASL

I'm trying to bridge XLX to YSF to ASL with this format trying to get rid of DMRG. The YSF to ASL is already done and working. I just need to do the XLX side, thanks.

73, Eric


Re: Analog_Bridge and tune.sh script #analog_bridge

Steve N4IRS
 

So,
After all that, you are sending the command to AB which is listening on port 31100.

On 7/10/2019 1:17 PM, Waldek SP2ONG wrote:
OK Steve

In AB:

[AMBE_AUDIO]
address = 127.0.0.1                      ; IP address of xx_Bridge.py
TXPort = 31103                          ; Transmit TLV frames to partner on this port
RXPort = 31100                          ; Listen for TLV frames from partner on this port


in  MB DVSwitch:
[DMR]
Address = 127.0.0.1             ; Address to send AMBE TLV frames to (export)
TXPort = 31100                  ; Port to send AMBE TLV frames to (export)
RXPort = 31103                  ; Port to listen on (import)
Slot = 2                        ; Export slot

The script
================================
#!/bin/bash

function tune() {
    echo "Tuning to TG $1"
python - <<END
#!/usr/bin/env python
import sys
import socket
import struct
cmd = "txTg=$1"
_sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
cmd = struct.pack("BB", 0x05, len(cmd))[0:2] + cmd
_sock.sendto(cmd, ('127.0.0.1', 31100))
_sock.close()
END
}

tune $1
======================


It is looks I have sent to AB because RXPort is 31100


Re: ALS - YSF audio levels

Bill Kittilson
 

Perfect! Thanks
Bill


On Wed, Jul 10, 2019 at 1:15 PM Steve N4IRS <szingman@...> wrote:
Bill,
Thanks for posting this in the discussion group where everyone can see the question and answer.
Since Analog_Bridge started out as part of a Analog to DMR bridge, the setting used the DMR name. To be honest, this needs to be changed so that there is no confusion.
Here is what I suggest you start with:

aslAudio = AUDIO_USE_GAIN            ; Audio to ASL (AUDIO_UNITY, AUDIO_USE_AGC, AUDIO_USE_GAIN)
agcGain = 5                          ; Gain (in db) of the AGC filter
dmrAudio = AUDIO_USE_GAIN
dmrGain = .50

You can substitute DMR for YSF in your mind. In actuality, is should be ambeAudio and ambeGain. I expect we will change this in the next version

If you need to adjust the YSF -> ASL audio, change:
aslAudio = AUDIO_USE_GAIN
agcGain = 1.0
This should be the same level as unity
agcGain = 2.0
This should be twice as loud as unity
agcGain = 0.5
This should be half as loud as unity

=========================================

If you need to adjust the ASL -> YSF audio, change:
dmrAudio = AUDIO_USE_GAIN
dmrGain = 1.0
This should be the same level as unity
dmrGain = 2.0
This should be twice as loud as unity
dmrGain = 0.5
This should be half as loud as unity

Hope this helps,
73, Steve N4IRS

.

 

On 7/10/2019 1:02 PM, Bill Kittilson wrote:
Where does one made audio adjustment from YSF to ASL 
ASL -> YSF audio
YSF -> ASL audio 

Analog_Bridge configuration file

aslAudio = AUDIO_USE_AGC               ; Audio to ASL (AUDIO_UNITY, AUDIO_USE_AGC, AUDIO_USE_GAIN)
agcGain = -25                        ; Gain (in db) of the AGC filter
dmrAudio = AUDIO_USE_GAIN
dmrGain = .50
 
I see DMR but what about YSF do I just add
ysfAudio =  AUDIO_USE_GAIN
ysfGain = .50

Thanks
Bill



 


Re: Analog_Bridge and tune.sh script #analog_bridge

SP2ONG Waldek
 

OK Steve

In AB:

[AMBE_AUDIO]
address = 127.0.0.1                      ; IP address of xx_Bridge.py
TXPort = 31103                          ; Transmit TLV frames to partner on this port
RXPort = 31100                          ; Listen for TLV frames from partner on this port


in  MB DVSwitch:
[DMR]
Address = 127.0.0.1             ; Address to send AMBE TLV frames to (export)
TXPort = 31100                  ; Port to send AMBE TLV frames to (export)
RXPort = 31103                  ; Port to listen on (import)
Slot = 2                        ; Export slot

The script
================================
#!/bin/bash

function tune() {
    echo "Tuning to TG $1"
python - <<END
#!/usr/bin/env python
import sys
import socket
import struct
cmd = "txTg=$1"
_sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
cmd = struct.pack("BB", 0x05, len(cmd))[0:2] + cmd
_sock.sendto(cmd, ('127.0.0.1', 31100))
_sock.close()
END
}

tune $1
======================


It is looks I have sent to AB because RXPort is 31100


Re: ALS - YSF audio levels

Steve N4IRS
 

Bill,
Thanks for posting this in the discussion group where everyone can see the question and answer.
Since Analog_Bridge started out as part of a Analog to DMR bridge, the setting used the DMR name. To be honest, this needs to be changed so that there is no confusion.
Here is what I suggest you start with:

aslAudio = AUDIO_USE_GAIN            ; Audio to ASL (AUDIO_UNITY, AUDIO_USE_AGC, AUDIO_USE_GAIN)
agcGain = 5                          ; Gain (in db) of the AGC filter
dmrAudio = AUDIO_USE_GAIN
dmrGain = .50

You can substitute DMR for YSF in your mind. In actuality, is should be ambeAudio and ambeGain. I expect we will change this in the next version

If you need to adjust the YSF -> ASL audio, change:
aslAudio = AUDIO_USE_GAIN
agcGain = 1.0
This should be the same level as unity
agcGain = 2.0
This should be twice as loud as unity
agcGain = 0.5
This should be half as loud as unity

=========================================

If you need to adjust the ASL -> YSF audio, change:
dmrAudio = AUDIO_USE_GAIN
dmrGain = 1.0
This should be the same level as unity
dmrGain = 2.0
This should be twice as loud as unity
dmrGain = 0.5
This should be half as loud as unity

Hope this helps,
73, Steve N4IRS

.

 

On 7/10/2019 1:02 PM, Bill Kittilson wrote:
Where does one made audio adjustment from YSF to ASL 
ASL -> YSF audio
YSF -> ASL audio 

Analog_Bridge configuration file

aslAudio = AUDIO_USE_AGC               ; Audio to ASL (AUDIO_UNITY, AUDIO_USE_AGC, AUDIO_USE_GAIN)
agcGain = -25                        ; Gain (in db) of the AGC filter
dmrAudio = AUDIO_USE_GAIN
dmrGain = .50
 
I see DMR but what about YSF do I just add
ysfAudio =  AUDIO_USE_GAIN
ysfGain = .50

Thanks
Bill



 


ALS - YSF audio levels

Bill Kittilson
 

Where does one made audio adjustment from YSF to ASL 
ASL -> YSF audio
YSF -> ASL audio 

Analog_Bridge configuration file

aslAudio = AUDIO_USE_AGC               ; Audio to ASL (AUDIO_UNITY, AUDIO_USE_AGC, AUDIO_USE_GAIN)
agcGain = -25                        ; Gain (in db) of the AGC filter
dmrAudio = AUDIO_USE_GAIN
dmrGain = .50
 
I see DMR but what about YSF do I just add
ysfAudio =  AUDIO_USE_GAIN
ysfGain = .50

Thanks
Bill



 


Re: Analog_Bridge and tune.sh script #analog_bridge

Steve N4IRS
 

That does not tell me WHAT program is listening on UDP port 31100. You can send a tune command to either AB or MB.

On 7/10/2019 11:49 AM, Waldek SP2ONG wrote:
I have use part of your script tune.sh where is:

_sock.sendto(cmd, ('127.0.0.1', 31100))


Re: Analog_Bridge and tune.sh script #analog_bridge

SP2ONG Waldek
 

I have use part of your script tune.sh where is:

_sock.sendto(cmd, ('127.0.0.1', 31100))


Re: Analog_Bridge and tune.sh script #analog_bridge

Steve N4IRS
 

Are you sending the tune command to AB or MB?

On 7/10/2019 10:44 AM, Waldek SP2ONG wrote:
This happens when the mmdv_bridge restart is done and then this script will be used


Re: Analog_Bridge and tune.sh script #analog_bridge

Steve N4IRS
 

I don't restart MB. I keep all modes enabled and restart AB with the proper mode enabled.

On 7/10/2019 10:44 AM, Waldek SP2ONG wrote:
This happens when the mmdv_bridge restart is done and then this script will be used


Re: Analog_Bridge and tune.sh script #analog_bridge

Steve N4IRS
 

I'll have to test this.

On 7/10/2019 10:44 AM, Waldek SP2ONG wrote:
This happens when the mmdv_bridge restart is done and then this script will be used


Re: Analog_Bridge and tune.sh script #analog_bridge

SP2ONG Waldek
 

This happens when the mmdv_bridge restart is done and then this script will be used


Re: Analog_Bridge and tune.sh script #analog_bridge

Steve N4IRS
 

I have not seen this happen.

On 7/10/2019 3:30 AM, Waldek SP2ONG wrote:
Hi Steve

I use the attached tuns.sh script to switch groups in Ananlog_Bridge. This script is a part of your tune.sh script.
Sometimes it happens that after using this script, the repeaterID gatewayDmrId is reset to 0
As a result, when it is transmits by AB on the new talk group, the DMRID  for source and transmiter  is 0

I do not know if you also had such situations?

73 Waldek


Analog_Bridge and tune.sh script #analog_bridge

SP2ONG Waldek
 

Hi Steve

I use the attached tuns.sh script to switch groups in Ananlog_Bridge. This script is a part of your tune.sh script.
Sometimes it happens that after using this script, the repeaterID gatewayDmrId is reset to 0
As a result, when it is transmits by AB on the new talk group, the DMRID  for source and transmiter  is 0

I do not know if you also had such situations?

73 Waldek


Re: DMRlink to Motorola Mastger #dmrlink

Steve KC1AWV
 

Please review this article in the wiki for DMRLink to Brandmeister.


Steve KC1AWV


On Tue, Jul 9, 2019 at 6:01 PM KK4zmg <kk4zmg@...> wrote:
Ok i have got it talking to my Motorola master.

Now im trying to get Dmrlink to connect with brandmiester.

This is what I have for configuration.

[bm]
ENABLED: True
RADIO_ID: 311078
IP:
PORT: 5000
ALIVE_TIMER: 5
MAX_MISSED: 20
PEER_OPER: True
IPSC_MODE: DIGITAL
TS1_LINK: True
TS2_LINK: True
CSBK_CALL: False
RCM: True
CON_APP: True
XNL_CALL: False
XNL_MASTER: False
DATA_CALL: True
VOICE_CALL: True
MASTER_PEER: False
AUTH_ENABLED: False
AUTH_KEY:
MASTER_IP: 64.94.238.196
MASTER_PORT: 55001
GROUP_HANGTIME: 5

That repeater number is setup in brandmiester as a repeater and linked to my dash board.

Any help would be great.

Thanks

kk4zmg
Richard



--
Steve Miller
KC1AWV

4721 - 4740 of 9083