Re: DMRlink <-> HBlink communication


David Griffith NZ6D
 

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__'

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