Giter VIP home page Giter VIP logo

dmr-kaitai's People

Contributors

fox918 avatar smarek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dmr-kaitai's Issues

hytera radio registration service ack/result codes

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

Voice and Data Packets

@smarek @fox918 Can you share the sample DMR burst for Voice (A to F) and Data burst particularly MS Sourced?

I have one DMR Data Burst - 7abc3520240678e3a3436a8b55bdff57d75df5d55ed179b2304122624d0589a7bc

But this is particularly BS Sourced.

Add CLI tools for parsing data

  • Add CLI access tools for each protocol implemented
  • Export scripts in setup.py

Eg. what can be now done like this (running from root of Hytera_Homebrew_Bridge)

$ python3 -m hytera_homebrew_bridge.tests.hdap_single_packet 0980a10022000000010a01b2070a03640e4f004c004900560045005200200054004500530054007a03
{'checksum': 122,
 'data': {'_m_option_sum_len': 0,
          'ack_flag': <AckFlags.ack_not_required: 1>,
          'destination_ip': {'radio_id_1': 1,
                             'radio_id_2': 178,
                             'radio_id_3': 7,
                             'subnet': 10},
          'message_length': 34,
          'option_flag': <OptionFlags.option_len_and_field_disabled: 0>,
          'request_id': 1,
          'reserved': 0,
          'service_type': <ServiceTypes.send_private_message: 161>,
          'source_ip': {'radio_id_1': 3,
                        'radio_id_2': 100,
                        'radio_id_3': 14,
                        'subnet': 10},
          'tmdata': 'OLIVER TEST'},
 'message_footer': b'\x03',
 'message_header': <MessageHeaderTypes.text_message_protocol: 9>}

Should be doable like this, for example

  • dmr-kaitai-hdap 0980a10022000000010a01b2070a03640e4f004c004900560045005200200054004500530054007a03
  • or like this
  • dmr-kaitai --hdap 0980a10022000000010a01b2070a03640e4f004c004900560045005200200054004500530054007a03

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.