Re: DMRlink <-> HBlink communication


Steve N4IRS
 

run it in the foreground.

On 07/12/2017 07:30 PM, Bob kc2cwt wrote:

Just checking as DMR-Link shout down to day and i see nothing in the logs .

Did a restart and it working great


On 07/12/2017 07:28 PM, Steve N4IRS wrote:
You are already running the current hblink and dmrlink

On 07/12/2017 07:17 PM, Bob kc2cwt wrote:

What would be the best way to up date hb link and dmr link



On 07/12/2017 07:12 PM, Steve N4IRS wrote:
Lets make sure you are running the current dmr_utils:

apt-get install python-dev -y
apt-get install python-pip -y
apt-get install python-twisted -y
pip install bitstring
pip install bitarray

cd /opt
git clone https://github.com/n0mjs710/dmr_utils.git
cd dmr_utils/
pip install --upgrade .

Notice the period at the end of the last line.
I don't think this is it, but "it couldn't hurt."

Steve


On 07/12/2017 06:58 PM, David Griffith NZ6D wrote:
That did it. I am receiving the TG now. But whe I TX I get the following:

Unhandled Error

Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 73, in callWithContext

    return context.call({ILogContext: newCtx}, func, *args, **kw)

  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext

    return self.currentContext().callWithContext(ctx, func, *args, **kw)

  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext

    return func(*args,**kw)

  File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite

    why = selectable.doRead()

--- <exception caught here> ---

  File "/usr/lib/python2.7/dist-packages/twisted/internet/udp.py", line 246, in doRead

    self.protocol.datagramReceived(data, addr)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 184, in datagramReceived

    self.func(_data, (_host, _port))

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 261, in import_datagramReceived

    self.send_voice_header(_rx_slot)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 526, in send_voice_header

    self.rewriteFrame(self._tempHead[i], _rx_slot.slot, _rx_slot.dst_id, _rx_slot.rf_src, _rx_slot.repeater_id)

  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 562, in rewriteFrame

    _peerid         = _frame[1:5]                 # int32 peer who is sending us a packet

exceptions.TypeError: 'int' object has no attribute '__getitem__'



-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502


-- 
Bob KC2CWT
Carmel NewYork USA
(914)497-5502

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