Git Product home page Git Product logo

libm17's Introduction

libm17

Overview

Written in C, it has all the components described by the protocol's specification of the stream and packet modes:

  • convolutional encoder with soft Viterbi decoder (utilizing fixed point arithmetic),
  • Golay encoder with soft decoder (fixed point),
  • bit interleaver and randomizer,
  • cyclic redundancy check (CRC) calculation (both LSF and arbitrary input),
  • callsign encoder and decoder

There's no support for any encryption.

Legacy Makefile building

First, build the shared object libm17.so by running make. Then, you can install the library object with make install. Unit tests are available and can be run with make test && make testrun.

Cmake building

First, configre the build. Do cmake -B build to get default options. The build the library by running cmake --build build. At this point tests can be run by doing any of: cmake --build build --target test ctest --test-dir build ./build/unti_tests/unit_tests Finally, installation is just cmake --install build

libm17's People

Contributors

maitbot avatar mdiepart avatar sp5wwp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

maitbot mdiepart

libm17's Issues

Callsign encoding endianness

This code uses little-endian while the specification defines big-endian byte order (M17 Specification, Appendix A, section A.2):

After the base-40 value is calculated, the final 6-byte address is the big endian encoded (most
significant byte first) representation of the base-40 value.

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.