Giter Site home page Giter Site logo

hyteradmrusb's Introduction

HyteraDMRUSB

Reverse Engineering the Hytera DMR USB packet structure also known as Hytera DMR Application Protocol.

When 'Forward to PC' is enabled on a Hytera DMR radio, a RNDIS network is created over USB and packets are forwarded to the PC.

This github project attempts to document this packet structure.

Long term plan is to be able to encode and decode these packets for use in other projects (eg DMR sms gateway or GPS logger).

Note, this isn't RDAC, IPSC protocol for repeaters, just a plain mobile.

Help!

Please, I'm stuck right now and have been stuck in the same place for a year. Anyone familier with DMR packets could get me over this initial hurdle and get this documentation moving on.

Current Status :

With @smarek's help we have confirmed it is Hytera's Dmr Application Protocol and his OK-DMR library successfully decodes it. The protocol definition is in @smareks's https://github.com/OK-DMR/dmr-kaitai/blob/master/okdmr/kaitai/hytera/hytera_dmr_application_protocol.ksy Data is transmitted as Hex. For visual inspection, convert hex to binary and split into 8 bit rows as per the examples.

These appear to be standard ETSI packets and simply looking at them we can easily spot some data however there appear to be some fundermental differences.

Data Found :

  1. The first bit is the 'Reliable transmission bit' I have only seen this as a '0'.
  2. The six bits in hex describes the packet : message_header_types: 0x02: radio_control_protocol 0x08: location_protocol 0x09: text_message_protocol 0x11: radio_registration 0x12: telemetry_protocol 0x13: data_transmit_protocol 0x14: data_delivery_states
  3. All packets end with 0x03
  4. Logical Link ID's (LLID - The to and from radio network IP addresses).
  5. Standard Text can easily be spotted and decoded.

Examples

In the examples folder are some sms comparison examples with my current thoughts embeded.

hyteradmrusb's People

Contributors

kevsgithub avatar

Stargazers

Dale avatar

Watchers

 avatar

hyteradmrusb's Issues

Contact

Hi, do you have an email as i have a few questions.
Thanks :)

Hytera SDK

Hi, I have sdk from Hytera, and looking someone that can build app like a Dispatcher. IF you are interested let me know.

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.