ASL to DMR Bridge...reading talkgroups


Jeff Lehman, N8ACL
 

😊 Some times simple is the bestest 😊

Jeff Lehman, KC8QCH
E-mail: kc8qch@gmail.com
http://kc8qch.dx.am
Hamshack Hotline: 4218

Webmaster
Hamilton County ARPSC
http://www.hamcoarpsc.org
E-mail: hamcoarpsc@gmail.com
Phone: 513-452-6480

Allstar 47374 Administrator
World Wide Amateur Radio Guild
http://www.theguildglobal.org
E-Mail: kc8qch@theguildglobal.net

-----Original Message-----
From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> On Behalf Of Gregory Heinrichs
Sent: Thursday, November 15, 2018 21:10
To: main@DVSwitch.groups.io
Subject: Re: [DVSwitch] ASL to DMR Bridge...reading talkgroups

That is a good point. I will do that.

On 11/15/18 5:55 PM, Jeff Lehman, KC8QCH wrote:

Or why not when you run the script to change TG’s just write the new
talkgroup to a text file since you have it already? No need to pull it
from anywhere. Then just read the Text file into your webpage.



Jeff Lehman, KC8QCH

E-mail: kc8qch@gmail.com

http://kc8qch.dx.am
Hamshack Hotline: 4218



Webmaster

Hamilton County ARPSC

http://www.hamcoarpsc.org

E-mail: hamcoarpsc@gmail.com

Phone: 513-452-6480



Allstar 47374 Administrator

World Wide Amateur Radio Guild

http://www.theguildglobal.org

E-Mail: kc8qch@theguildglobal.net



*From:* main@DVSwitch.groups.io <main@DVSwitch.groups.io> *On Behalf
Of *Steve N4IRS
*Sent:* Thursday, November 15, 2018 20:49
*To:* main@DVSwitch.groups.io
*Subject:* Re: [DVSwitch] ASL to DMR Bridge...reading talkgroups



My short off the top of my head answer. If you know what TG you
started on and tracked the changes, you know where you are.

Pseudo code:
Start the bridge
Send AB/MB to TG 9
Echo 9 to text file
From this point on, any change to the TG goes through the script and
the text file contains the current TG.

No matter where you go, there you are.

As I said, Mike and I have been talking about Metadata. AB exchanges
Metadata across the USRP channel. That is how a Transcoder sends
Metadata across the transcoder. MB1 <-> AB1 <-> AB2 <-MB2> There is a
need to be able to get metadata from MB1 to MB2 That data is passed
across the USRP channel (The connection between AB1 and AB2) The ASL
USRP channel drive does not send or receive Matadata. We are
discussing strategies to add Metadata to ASL without modifing the USRP
channel driver. Think AMI.

73, Steve N4IRS

On 11/15/18 8:32 PM, Michael Weaver - AC2VK wrote:

I was going to post the same question today. So +1 for this. A way
to query what the current talkgroup is.




Gregory Heinrichs
 

That is a good point. I will do that.

On 11/15/18 5:55 PM, Jeff Lehman, KC8QCH wrote:

Or why not when you run the script to change TG’s just write the new
talkgroup to a text file since you have it already? No need to pull it
from anywhere. Then just read the Text file into your webpage.

 

Jeff Lehman, KC8QCH

E-mail: kc8qch@gmail.com

http://kc8qch.dx.am
Hamshack Hotline: 4218

 

Webmaster

Hamilton County ARPSC

http://www.hamcoarpsc.org

E-mail: hamcoarpsc@gmail.com

Phone: 513-452-6480

 

Allstar 47374 Administrator

World Wide Amateur Radio Guild

http://www.theguildglobal.org

E-Mail: kc8qch@theguildglobal.net

 

*From:* main@DVSwitch.groups.io <main@DVSwitch.groups.io> *On Behalf
Of *Steve N4IRS
*Sent:* Thursday, November 15, 2018 20:49
*To:* main@DVSwitch.groups.io
*Subject:* Re: [DVSwitch] ASL to DMR Bridge...reading talkgroups

 

My short off the top of my head answer. If you know what TG you
started on and tracked the changes, you know where you are.

Pseudo code:
Start the bridge
Send AB/MB to TG 9
Echo 9 to text file
From this point on, any change to the TG goes through the script and
the text file contains the current TG.

No matter where you go, there you are.

As I said, Mike and I have been talking about Metadata. AB exchanges
Metadata across the USRP channel. That is how a Transcoder sends
Metadata across the transcoder. MB1 <-> AB1 <-> AB2 <-MB2> There is a
need to be able to get metadata from MB1 to MB2 That data is passed
across the USRP channel (The connection between AB1 and AB2) The ASL
USRP channel drive does not send or receive Matadata. We are
discussing strategies to add Metadata to ASL without modifing the USRP
channel driver. Think AMI.

73, Steve N4IRS

On 11/15/18 8:32 PM, Michael Weaver - AC2VK wrote:

I was going to post the same question today. So +1 for this. A way
to query what the current talkgroup is.

 


Jeff Lehman, N8ACL
 

Or why not when you run the script to change TG’s just write the new talkgroup to a text file since you have it already? No need to pull it from anywhere. Then just read the Text file into your webpage.

 

Jeff Lehman, KC8QCH

E-mail: kc8qch@...

http://kc8qch.dx.am
Hamshack Hotline: 4218

 

Webmaster

Hamilton County ARPSC

http://www.hamcoarpsc.org

E-mail: hamcoarpsc@...

Phone: 513-452-6480

 

Allstar 47374 Administrator

World Wide Amateur Radio Guild

http://www.theguildglobal.org

E-Mail: kc8qch@...

 

From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> On Behalf Of Steve N4IRS
Sent: Thursday, November 15, 2018 20:49
To: main@DVSwitch.groups.io
Subject: Re: [DVSwitch] ASL to DMR Bridge...reading talkgroups

 

My short off the top of my head answer. If you know what TG you started on and tracked the changes, you know where you are.

Pseudo code:
Start the bridge
Send AB/MB to TG 9
Echo 9 to text file
From this point on, any change to the TG goes through the script and the text file contains the current TG.

No matter where you go, there you are.

As I said, Mike and I have been talking about Metadata. AB exchanges Metadata across the USRP channel. That is how a Transcoder sends Metadata across the transcoder. MB1 <-> AB1 <-> AB2 <-MB2> There is a need to be able to get metadata from MB1 to MB2 That data is passed across the USRP channel (The connection between AB1 and AB2) The ASL USRP channel drive does not send or receive Matadata. We are discussing strategies to add Metadata to ASL without modifing the USRP channel driver. Think AMI.

73, Steve N4IRS

On 11/15/18 8:32 PM, Michael Weaver - AC2VK wrote:

I was going to post the same question today. So +1 for this. A way to query what the current talkgroup is.

 


Steve N4IRS
 

My short off the top of my head answer. If you know what TG you started on and tracked the changes, you know where you are.

Pseudo code:
Start the bridge
Send AB/MB to TG 9
Echo 9 to text file
From this point on, any change to the TG goes through the script and the text file contains the current TG.

No matter where you go, there you are.

As I said, Mike and I have been talking about Metadata. AB exchanges Metadata across the USRP channel. That is how a Transcoder sends Metadata across the transcoder. MB1 <-> AB1 <-> AB2 <-MB2> There is a need to be able to get metadata from MB1 to MB2 That data is passed across the USRP channel (The connection between AB1 and AB2) The ASL USRP channel drive does not send or receive Matadata. We are discussing strategies to add Metadata to ASL without modifing the USRP channel driver. Think AMI.

73, Steve N4IRS


On 11/15/18 8:32 PM, Michael Weaver - AC2VK wrote:
I was going to post the same question today. So +1 for this. A way to query what the current talkgroup is.


Michael Weaver - AC2VK
 

I was going to post the same question today. So +1 for this. A way to query what the current talkgroup is.


Steve N4IRS
 

OK, we have been discussing Metadata in general. I don't have a quick answer right now.

Steve N4IRS

On 11/15/18 7:24 PM, Gregory Heinrichs wrote:

with the same principal, call a python script, so i can return the talkgroup number to a webpage.

On 11/15/18 4:22 PM, Steve N4IRS wrote:
Define read. Voice feedback? Allison?

On 11/15/18 7:21 PM, Gregory Heinrichs wrote:
I can change the talkgroup via code below, i was wondering it there is a way to read it as well?
[code]
_sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
cmd = struct.pack("BB", 0x05, len(cmd))[0:2] + cmd
# Set the second value below to match the rxPort in the [AMBE_AUDIO] stanza of Analog_Bridge.ini
_sock.sendto(cmd, ('127.0.0.1', 31100))
_sock.close()
[/code]



Gregory Heinrichs
 

with the same principal, call a python script, so i can return the talkgroup number to a webpage.

On 11/15/18 4:22 PM, Steve N4IRS wrote:
Define read. Voice feedback? Allison?

On 11/15/18 7:21 PM, Gregory Heinrichs wrote:
I can change the talkgroup via code below, i was wondering it there is a way to read it as well?
[code]
_sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
cmd = struct.pack("BB", 0x05, len(cmd))[0:2] + cmd
# Set the second value below to match the rxPort in the [AMBE_AUDIO] stanza of Analog_Bridge.ini
_sock.sendto(cmd, ('127.0.0.1', 31100))
_sock.close()
[/code]


Steve N4IRS
 

Define read. Voice feedback? Allison?

On 11/15/18 7:21 PM, Gregory Heinrichs wrote:
I can change the talkgroup via code below, i was wondering it there is a way to read it as well?
[code]
_sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
cmd = struct.pack("BB", 0x05, len(cmd))[0:2] + cmd
# Set the second value below to match the rxPort in the [AMBE_AUDIO] stanza of Analog_Bridge.ini
_sock.sendto(cmd, ('127.0.0.1', 31100))
_sock.close()
[/code]


Gregory Heinrichs
 

I can change the talkgroup via code below, i was wondering it there is a way to read it as well?
[code]
_sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
cmd = struct.pack("BB", 0x05, len(cmd))[0:2] + cmd
# Set the second value below to match the rxPort in the [AMBE_AUDIO] stanza of Analog_Bridge.ini
_sock.sendto(cmd, ('127.0.0.1', 31100))
_sock.close()
[/code]