Date   

Re: DMRlink <-> HBlink communication

Steve N4IRS
 

If the ssh session stops, IPSC_Bridge stops.

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

I started it this way this time python IPSC_Bridge.py &>/dev/null &




On 07/12/2017 07:39 PM, Steve N4IRS wrote:
I have no other reports of that happening. I have it running 24 x 7 for the last 2 weeks.

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

The console closed . Had to log back in 


On 07/12/2017 07:36 PM, Steve N4IRS wrote:
show me the last line 10 on the console

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

It stoped and closed down the connection , But HB Link stay up


On 07/12/2017 07:34 PM, Steve N4IRS wrote:
Nothing on the console?, nothing in the log? it just stopped?

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

It was



On 07/12/2017 07:31 PM, Steve N4IRS wrote:
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


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


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


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


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


Re: DMRlink <-> HBlink communication

Bob kc2cwt
 

I started it this way this time python IPSC_Bridge.py &>/dev/null &




On 07/12/2017 07:39 PM, Steve N4IRS wrote:
I have no other reports of that happening. I have it running 24 x 7 for the last 2 weeks.

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

The console closed . Had to log back in 


On 07/12/2017 07:36 PM, Steve N4IRS wrote:
show me the last line 10 on the console

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

It stoped and closed down the connection , But HB Link stay up


On 07/12/2017 07:34 PM, Steve N4IRS wrote:
Nothing on the console?, nothing in the log? it just stopped?

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

It was



On 07/12/2017 07:31 PM, Steve N4IRS wrote:
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


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


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


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


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


Re: DMRlink <-> HBlink communication

Steve N4IRS
 

If you were running on the console and the connection dropped, it would close dmrlink

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

The console closed . Had to log back in 


On 07/12/2017 07:36 PM, Steve N4IRS wrote:
show me the last line 10 on the console

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

It stoped and closed down the connection , But HB Link stay up


On 07/12/2017 07:34 PM, Steve N4IRS wrote:
Nothing on the console?, nothing in the log? it just stopped?

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

It was



On 07/12/2017 07:31 PM, Steve N4IRS wrote:
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


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


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


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


Re: DMRlink <-> HBlink communication

Steve N4IRS
 

I have no other reports of that happening. I have it running 24 x 7 for the last 2 weeks.

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

The console closed . Had to log back in 


On 07/12/2017 07:36 PM, Steve N4IRS wrote:
show me the last line 10 on the console

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

It stoped and closed down the connection , But HB Link stay up


On 07/12/2017 07:34 PM, Steve N4IRS wrote:
Nothing on the console?, nothing in the log? it just stopped?

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

It was



On 07/12/2017 07:31 PM, Steve N4IRS wrote:
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


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


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


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


Re: DMRlink <-> HBlink communication

Bob kc2cwt
 

The console closed . Had to log back in 


On 07/12/2017 07:36 PM, Steve N4IRS wrote:
show me the last line 10 on the console

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

It stoped and closed down the connection , But HB Link stay up


On 07/12/2017 07:34 PM, Steve N4IRS wrote:
Nothing on the console?, nothing in the log? it just stopped?

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

It was



On 07/12/2017 07:31 PM, Steve N4IRS wrote:
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


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


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


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


Re: DMRlink <-> HBlink communication

Steve N4IRS
 

show me the last line 10 on the console

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

It stoped and closed down the connection , But HB Link stay up


On 07/12/2017 07:34 PM, Steve N4IRS wrote:
Nothing on the console?, nothing in the log? it just stopped?

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

It was



On 07/12/2017 07:31 PM, Steve N4IRS wrote:
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


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


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


Re: DMRlink <-> HBlink communication

Bob kc2cwt
 

It stoped and closed down the connection , But HB Link stay up


On 07/12/2017 07:34 PM, Steve N4IRS wrote:
Nothing on the console?, nothing in the log? it just stopped?

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

It was



On 07/12/2017 07:31 PM, Steve N4IRS wrote:
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


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


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


Re: DMRlink <-> HBlink communication

Steve N4IRS
 

Nothing on the console?, nothing in the log? it just stopped?

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

It was



On 07/12/2017 07:31 PM, Steve N4IRS wrote:
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


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


Re: DMRlink <-> HBlink communication

Bob kc2cwt
 

It was



On 07/12/2017 07:31 PM, Steve N4IRS wrote:
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


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


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


Re: DMRlink <-> HBlink communication

Bob kc2cwt
 

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


Re: DMRlink <-> HBlink communication

Steve N4IRS
 

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


Re: DMRlink <-> HBlink communication

Bob kc2cwt
 

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


Re: DMRlink <-> HBlink communication

Steve N4IRS
 

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



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


Re: DMRlink <-> HBlink communication

Steve N4IRS
 

I really suggest you clone the 2 branch repositories and work from there. Setup hblink.cfg and dmrlink.cfg as you did before. Leave HB_Bridge.cfg and IPSC_Bridge.cfg just like they are. stop hblink and dmrlink. start HB_Bridge.py and IPSC_Bridge.py both in the foreground, so you can see what is happening.

Steve

On 07/12/2017 05:11 PM, David Griffith NZ6D wrote:
Thank you Steve (et all)
I was a little confused. I did a new git clone and it looked like what I already had. But no HB_Bridge or IPSC_Bridge. So I grabbed each py and cfg off of each repository. I am running each and trying to figure out the  cfg file ports section on each.

Thanks.


Re: DMRlink <-> HBlink communication

David Griffith NZ6D
 

Thank you Steve (et all)
I was a little confused. I did a new git clone and it looked like what I already had. But no HB_Bridge or IPSC_Bridge. So I grabbed each py and cfg off of each repository. I am running each and trying to figure out the  cfg file ports section on each.

Thanks.


DV3000 testing results

Steve N4IRS
 
Edited

We have spent the last couple of weeks working with the DV3000u and below are our results.

This what we sent to NorthWest Digital

===================================================================================================

  • Hardware under test
    • DV3000U set up as direct serial and AMBEServer configurations (at least 4 devices have been tested)
    • X86 based computers (Linux, OSX)
    • ARM based computers (Raspian, Comapss, Armbian)
    • Power supplies
      • Anker 60 watt multi-port supply
      • Power cube with 1.35A @ 5V output
      • X86 using internal PS
  • Test scenarios
    • Run a python test application designed to exercise and test returned results
    • Application is run on X86 machines and ARM based machines with both power supply configurations
    • Test loops are run from between 10,000 or greater passes
    • Each pass both encodes and decodes AMBE frames
    • Tests may be run with the command line
  • Test results
    • X86 
      • All tests perform as expected, both serial and AMBEServer pass
    • ARM
      • Using the Anker 60W PS all tests pass
      • Using the Anker PS with a short USB extension, tests fail
      • Using the smaller PS tests fail (expected)
    • Observations
      • The failure mode is consistent, the device will reset when under load
      • We see the PKT_READY frame returned from the DV3000 whenever the device fails
        • The frame 61 00 01 00 39 is documented in the AMBE3000 reference as PKT_READY
        • The doc states that this frame is produced when ever the device undergoes a hardware reset
      • Failure happens on either AMBE -> PCM or PCM -> AMBE
      • We see no indication of any serial data loss
        • No data corruption
        • No data loss, all data is sent and received
      • The short jumper is of good gauge wire and shows no observable damage 
  • Conclusions
    • The DV3000u will run fine on x86 and SBC machines provided that
      • USB power is sufficient to keep the dongle running
      • Under load, the power may dip causing an install that seems good to fail
      • The reset is clean, leading me to think that the TI TPS3805 is doing the reset, not the AMBE3000 itself
      • You are welcome to use the AMBETest4.py app, add to it, etc as needed.
      • You should make your customers keenly aware that all PS are not created equal and care must be exercised.
      • We have modified our Analog_Bridge application to sense this reset and output error messages in the log

 Two additional pieces of information.
I have a Pi2 that has the PiDV installed running Raspbian. All test pass on the PiDV
I added a ThumbDV to the same board and ran the test against the ThumbDV

root@pi-star(ro):DV3000# python AMBEtest4.py -v -e -n -s /dev/ttyUSB0
Setting serial port
Serial port parameters:
Port name:    /dev/ttyUSB0
Baudrate:    460800
Byte size:    8
Parity:        N
Stop bits:    1
Xon Xoff:    False
RTS/CTS:    False
DST/DTR:    False
*********************
Testing Reset DV3000
Test result: Success (6100010039)
Testing Get Product ID
Test result: Success (61000b0030414d4245333030305200)
Testing Get Version
Test result: Success (6100310031563132302e453130302e585858582e433130362e473531342e523030392e42303031303431312e433030323032303800)
Testing Set DSTAR Mode
Test result: Success (610002000a00)
Testing Reset DV3000
Test result: Success (6100010039)
Testing Set DMR Mode
Test result: Success (610002000a00)
Testing Decode AMBE
Test result: Success (6100010039)
Error, the DV3000 has unexpectly reset
root@pi-star(ro):DV3000#

I moved the DV3000u to a D-Link powered hub. I ran AMBEtest4.py for 100,000 iterations.
All tests pass.

---
"What are HB_Bridge, IPSC_Bridge and Analog_Bridge?" 


Re: DMRlink <-> HBlink communication

Steve N4IRS
 

Rob,
David is correct, For what you are trying to do, you need HB_Bridge and IPSC_Bridge.
IPSC_Bridge is at <https://github.com/n0mjs710/DMRlink/tree/IPSC_Bridge>
HB_Bridge is at <https://github.com/n0mjs710/HBlink/tree/HB_Bridge>

If you are doing a git pull then you need to add the branch.
git pull -b IPSC_Bridge https://github.com/n0mjs710/DMRlink.git
git pull -b HB_Bridge https://github.com/n0mjs710/HBlink.git

73, Steve N4IRS

On 7/12/2017 3:03 PM, Rob WX1N wrote:

Hi David,

 

HBlink and DMRlink can’t talk to each other directly - you need to use HB_bridge and IPSC_bridge.

 

Rob, WX1N

 

From: DVSwitch@groups.io [mailto:DVSwitch@groups.io] On Behalf Of David Griffith NZ6D
Sent: Wednesday, July 12, 2017 3:01 PM
To: DVSwitch@groups.io
Subject: [DVSwitch] DMRlink <-> HBlink communication

 

I am trying to get DMRlink peer to talk to hb_bridge_all. I have the peer set up and talking to the master in DMRlink with no issues. I have looked at the rules for both DMRlink and HBlink and hb_bridge_all. and have tried all kinds of different routing configurations. I can connect to my hblink master and see that I am transmitting but hblink will not forward to dmrlink and visa versa. I have tried hb_parrot and it works fine. Any help would be appreciated. 



Re: DMRlink <-> HBlink communication

Rob WX1N
 

Hi David,

 

HBlink and DMRlink can’t talk to each other directly - you need to use HB_bridge and IPSC_bridge.

 

Rob, WX1N

 

From: DVSwitch@groups.io [mailto:DVSwitch@groups.io] On Behalf Of David Griffith NZ6D
Sent: Wednesday, July 12, 2017 3:01 PM
To: DVSwitch@groups.io
Subject: [DVSwitch] DMRlink <-> HBlink communication

 

I am trying to get DMRlink peer to talk to hb_bridge_all. I have the peer set up and talking to the master in DMRlink with no issues. I have looked at the rules for both DMRlink and HBlink and hb_bridge_all. and have tried all kinds of different routing configurations. I can connect to my hblink master and see that I am transmitting but hblink will not forward to dmrlink and visa versa. I have tried hb_parrot and it works fine. Any help would be appreciated. 

9621 - 9640 of 9925