OK-DMR / Hytera_Homebrew_Bridge

[BETA] protocol translator between Hytera repeaters 8.x and 9.x and MMDVM / Homebrew servers (hblink3, freedmr, ...)
GNU Affero General Public License v3.0
27 stars 24 forks source link

Hytera RRS,GPS,TA-Data not work. #12

Closed Dmedia3412 closed 2 years ago

Dmedia3412 commented 2 years ago

When the station sends an RRS packet in the log, I see the following error.

ERROR - 2021-11-11 03:22:35,939 - asyncio - Unhandled exception in event loop
Traceback (most recent call last):
  File "uvloop/handles/udp.pyx", line 373, in uvloop.loop.__uv_udp_on_receive
  File "uvloop/handles/udp.pyx", line 260, in uvloop.loop.UDPTransport._on_receive
  File "uvloop/loop.pyx", line 115, in uvloop.loop.run_in_context2
  File "/home/dmedia/.local/lib/python3.8/site-packages/hytera_homebrew_bridge/lib/mmdvm_protocol.py", line 110, in datagram_received
    if isinstance(packet.command_data, Mmdvm.TypeMasterNotAccept):
AttributeError: 'Mmdvm' object has no attribute 'command_data'

Does Hytera_Homebrew_Bridge support data or TA or GPS or voice only?

smarek commented 2 years ago

bridge is transparent and RRS/LS/TMP services are not provided within, some master software must do this (freedmr, ok-dmr-master, bm, ...)

however this log is unrelated to all of this, please send longer log or at least the specific packet that results in this issue also you are running HHB from pypi or git?

Dmedia3412 commented 2 years ago

i run from pypi.

The error appears periodically,

so I think it's called the RRS packet.

bridge is transparent

I understand this, but if the RD625 is directly connected to the BM, then all the packets pass. Including working RRS coordinates are sent in voice frames. Talker Aliase is displayed.

But if I connect my RD625 via HHB and DmrGW none of this works.

smarek commented 2 years ago

Thank you 1) Please capture and provide sniff in PCAP/PCAPNG format, because here the specific packets received on HHB are not listed, i can re-play the capture and debug the problem 2) I do not use, or have access to, BM. So i'm not sure what your problem should be. If Hytera is connected directly to BM, BM provides Hytera and Motorola services internally. Possibly this is not enabled for Hytera repeaters/radios, that come through MMDVM channel instead of respective IPSC. You will have to take this matters to BM technical support

smarek commented 2 years ago

Closing, please reopen if you can provide sample data, thank you