Giter VIP home page Giter VIP logo

Comments (2)

SergeiFranco avatar SergeiFranco commented on August 20, 2024

Hi,

I found #define DMR_DUMP in include/config.h which theoretically dumps DMR packets,
now all need to do is decipher this:
Sync: +DMR o: 24 mod: GFSK g: 25.000000 inlvl: 46% 101000101000010001110110 110111111111010101111101011101011101111101011101 [slot0] slot1 Slot idle
Once I am happy with the data content I will modify the source so it does following:

  1. prints out the debug into stderr (not stdout)
  2. has a switch for data out (stdout)
  3. another switch for data format (raw binary, hex or ascii).

That is if I understand the meaning of '101000101000010001110110' bit string.

Edit: the first bit stream is CACH data, which is not payload that I am after....

from dsd.

SergeiFranco avatar SergeiFranco commented on August 20, 2024

After a bit more digging I found a way to dump data payload (in similar way the CACH data is dumped), what I don't quiet understand is where the 90 comes from in:

dibit_p = state->dibit_buf_p - 90;
in dmr_data.c, L41

In addition to that the data is RATE 1/2 or 3/4 encoded, which means I have to decode it for it to be usable. There is a vitrebi implementation included (used in dstar_header.c), but it is way over my head how to implement it with DMR data.

The raw data I get looks like this:

000100100100110000101101001010000010010101100000001010010000101100001000100000000100010100111100001001011110101010111010100001100111000111011100011100111000001110111101100100110110000001100101110111111111010101111101011101011101111101011101100100101011111101101110010001100101000101110001101101001000110010100110110101001111110001100001000010110100001010111100110000101000000000001010110001000000111010110000001011011001000000000110000000000100010001100001001000101100000001011110110111111111010101111101011101

from dsd.

Related Issues (20)

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.