trellis

package
v0.0.0-...-e993038 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConstellationPoints

func ConstellationPoints(dibits []int8) ([]uint8, error)

ConstellationPoints decodes the constellation points according to DMR AI protocol spec. page 129.

func Decode

func Decode(bits []byte, bytes []byte) error

Decode is a convenience function that takes 196 Info bits and decodes them to 18 bytes (144 bits) binary using Trellis decoding.

func Deinterleave

func Deinterleave(dibits []int8) ([]int8, error)

Deinterleave the dibits according to DMR AI protocol spec. page 130.

func ExtractBinary

func ExtractBinary(tribits []uint8) ([]byte, error)

ExtractBinary maps the tribits back to bits.

func ExtractDibits

func ExtractDibits(bits []byte) ([]int8, error)

ExtractDibits extracts dibits from bits.

func ExtractTribits

func ExtractTribits(points []uint8) ([]uint8, error)

ExtractTribits maps constellation points to Trellis tribits according to DMR AI protocol spec. page 129.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL