OK-DMR / dmr-kaitai

DMR protocols dissectors written in kaitai-io first approach
GNU Affero General Public License v3.0
18 stars 5 forks source link

hytera radio registration service ack/result codes #7

Closed kevsgithub closed 1 year ago

kevsgithub commented 1 year ago

Does this use the same result codes as ack messages for the hytera TMP?

#result code for ack messages
# ok = 0
# fail = 1
# invalid_params = 3
# channel_busy = 4
# rx_only = 5
# low_battery = 6
# pll_unlock = 7
# private_call_no_ack = 8
# repeater_wakeup_fail = 9
# no_contact = 10
# tx_deny = 11
# tx_interrupted = 12
kevsgithub commented 1 year ago

To confirm 0 is OK. I've not seen any other responses.

Would you happen to know if a type '1' unregister request requires a response? The only time I see it is when radio's a shutting down. They don't seam to care if they receive one.

smarek commented 1 year ago

For RRS possible results are listed here https://github.com/OK-DMR/ok-dmrlib/blob/master/okdmr/dmrlib/hytera/pdu/radio_registration_service.py

What you listed is TMP result codes, and those are totally different, however seems like all of those are correct and the list is complete as of ADK DOC R2.52