ASL to DMR Bridge...reading talkgroups


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]

Join main@DVSwitch.groups.io to automatically receive all group messages.