Steve Siesel [K4KSA]
I’ve just upgraded to the latest Analog Bridge and HBLink from github and I am having some issues and need some help. Originally I was thinking my DV3000 was not working but after doing AMBEtest4.py it came back successful.
ASL does talk to analog_bridge…I see can see the PTT on and off:
M: 2018-04-14 20:54:02.109 PTT on
M: 2018-04-14 20:54:07.288 PTT off (keyed for 5179 ms)
However I don’t see anything in the HBlink screen. Also I don’t see DMR transmissions made on the talkgroup:
INFO 2018-04-14 17:01:57,649 (REPEATER-1) Sending login request to master 18.104.22.168:62031
DEBUG 2018-04-14 17:01:57,650 CLIENT instance created: REPEATER-1, <__main__.HBSYSTEM instance at 0x764d3da0>
INFO 2018-04-14 17:01:57,690 (REPEATER-1) Repeater Login ACK Received with 32bit ID: 2715672343
INFO 2018-04-14 17:01:57,737 (REPEATER-1) Repeater Authentication Accepted
INFO 2018-04-14 17:01:57,739 (REPEATER-1) Repeater Configuration Sent
INFO 2018-04-14 17:01:57,785 (REPEATER-1) Repeater Configuration Accepted
INFO 2018-04-14 17:01:57,786 (REPEATER-1) Connection to Master Completed
DEBUG 2018-04-14 17:02:02,652 (REPEATER-1) Client maintenance loop started
DEBUG 2018-04-14 17:02:02,653 (REPEATER-1) RPTPING Sent to Master. Total Sent: 0, Total Missed: 0, Currently Outstanding: 0
DEBUG 2018-04-14 17:02:02,693 (REPEATER-1) MSTPONG Received. Pongs Since Connected: 1
DEBUG 2018-04-14 17:02:07,652 (REPEATER-1) Client maintenance loop started
DEBUG 2018-04-14 17:02:07,653 (REPEATER-1) RPTPING Sent to Master. Total Sent: 1, Total Missed: 0, Currently Outstanding: 0
DEBUG 2018-04-14 17:02:07,693 (REPEATER-1) MSTPONG Received. Pongs Since Connected: 2
Here is my Analog_bridge.ini:
; Analog_Bridge configuration file.
; This file should be placed in either /etc or it can be
; supplied as a path on the Analog_Bridge command line.
; General Section describes settings for Analog_Bridge itself.
; For RPI, don't forget to modprobe snd_pcm_oss to get the devices populated
; Audio devices are normally not needed when in gateway service. These devices should
; only be set when local monitor or dongle modes are required.
logLevel = 2 ; Show messages and above
outputAudioDevice = /dev/null ; Audio device /dev/null, /dev/dsp1, portaudio, etc
inputAudioDevice = /dev/null ; Only used for dongle mode
decoderFallBack = false ; Use software AMBE decoder
; Below values are for using this as a local DMR dongle (no ASL needed)
useMicrophone = false ; Use app as just a fancy dongle for DMR
useVox = false ; If using dongle mode (useMicrophone), enable VOX
voxDecay = 2 ; Hang time in seconds
voxTrigger = 200 ; Value to trip PTT (0-32767)
; Information for xx_Bridge.py
server = 127.0.0.1 ; IP address of xx_Bridge.py
fromDMRPort = 31000 ; AMBE frames from xx_Bridge (should match "toGatewayPort" in xx_Bridge.cfg)
toDMRPort = 31003 ; AMBE frames from xx_Bridge (should match "fromGatewayPort" in xx_Bridge.cfg)
ambeSize = 49 ; 72 bit is HB_Bridge AMBE, 49 bit is IPSC_Bridge AMBE
minTxTimeMS = 2000 ; Minimum time in MS for hang delay
gatewayDmrId = 1112721 ; ID to use when transmitting from Analog_Bridge
repeaterID = 11127213 ; ID of source repeater
txTg = 31676 ; TG to use for all frames received from Analog_Bridge -> xx_Bridge
txTs = 2 ; Slot to use for frames received from Analog_Bridge -> xx_Bridge
colorCode = 1 ; Color Code to assign DMR frames
; Information for USRP channel driver
; This matches the rpt.conf ASL file with a setting like:
; rxchannel = usrp/127.0.0.1:34001:32001
server = 127.0.0.1 ; IP address of Allstar/Asterisk
toASLPort = 32001 ; PCM from ASL
fromASLPort = 34001 ; PCM to ASL
aslAudio = AUDIO_USE_AGC ; Audio to ASL (AUDIO_UNITY, AUDIO_USE_AGC, AUDIO_USE_GAIN)
agcGain = -20 ; Gain (in db) of the AGC filter
dmrAudio = AUDIO_UNITY ; Audio from ASL (AUDIO_UNITY, AUDIO_GAIN, AUDIO_BPF)
dmrGain = 0.35 ; Gain factor of audio from ASL (0.0-1.0)
; Information for DV3000 hardware decoder
; Use top server and port if using AMBEServer
; Use bottom server/port and serial = true if using the DV3000u (thumbdv)
; server = 127.0.0.1 ; IP address of AMBEServer
; port = 2460 ; Port of AMBEServer
server = /dev/ttyUSB0 ; Device of DV3000U on this machine
port = 460800 ; Baud rate of the dongle
serial = true ; Use serial (DV3000U) or IP
And my hblink.cfg:
# PROGRAM-WIDE PARAMETERS GO HERE
# PATH - working path for files, leave it alone unless you NEED to change it
# PING_TIME - the interval that clients will ping the master, and re-try registraion
# - how often the Master maintenance loop runs
# MAX_MISSED - how many pings are missed before we give up and re-register
# - number of times the master maintenance loop runs before de-registering a client
# SYSTEM LOGGER CONFIGURAITON
# This allows the logger to be configured without chaning the individual
# python logger stuff. LOG_FILE should be a complete path/filename for *your*
# system -- use /dev/null for non-file handlers.
# LOG_HANDERLS may be any of the following, please, no spaces in the
# list if you use several:
# LOG_LEVEL may be any of the standard syslog logging levels, though
# as of now, DEBUG, INFO, WARNING and CRITICAL are the only ones
# DOWNLOAD AND IMPORT SUBSCRIBER, PEER and TGID ALIASES
# Ok, not the TGID, there's no master list I know of to download
# This is intended as a facility for other applcations built on top of
# HBlink to use, and will NOT be used in HBlink directly.
# STALE_DAYS is the number of days since the last download before we
# download again. Don't be an ass and change this to less than a few days.
# EXPORT AMBE DATA
# This is for exporting AMBE audio frames to an an "external" process for
# decoding or other nefarious actions.
# MASTER INSTANCES - DUPLICATE SECTION FOR MULTIPLE MASTERS
# HomeBrew Protocol Master instances go here.
# IP may be left blank if there's one interface on your system.
# Port should be the port you want this master to listen on. It must be unique
# and unused by anything else.
# Repeat - if True, the master repeats traffic to clients, False, it does nothing.
# CLIENT INSTANCES - DUPLICATE SECTION FOR MULTIPLE CLIENTS
# There are a LOT of errors in the HB Protocol specifications on this one!
# MOST of these items are just strings and will be properly dealt with by the program
# The TX & RX Frequencies are 9-digit numbers, and are the frequency in Hz.
# Latitude is an 8-digit unsigned floating point number.
# Longitude is a 9-digit signed floating point number.
# Height is in meters
LOCATION: Seminole, Florida
DESCRIPTION: DMR<> Allstar Gateway
Any help would be appreciated!