Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

M17 C library

License

NotificationsYou must be signed in to change notification settings

M17-Project/libm17

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 forany encryption.

Address encoding convention

As per thespecification document, the address space is divided into parts. Encodable callsign space is accessed by using the base40 alphabet. If the first character is set to#, the address belongs to the extended hash-address space. The broadcast address is represented by@ALL. Zero-address is invalid and decodes into a null-string. The reserved chunk for application use cannot be accessed using any string.

Legacy Makefile building

  1. Build the shared objectlibm17.so by runningmake.
  2. You can install the library object withmake install.

Unit tests are available and can be run withmake test && make testrun.

Cmake building

  1. Configre the build - runcmake -B build to get default options.
  2. Build the library by runningcmake --build build.
  3. 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
  4. Finally, installation is justcmake --install build

[8]ページ先頭

©2009-2025 Movatter.jp