You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29c24593f9
The previous implementation hardcoded the mask for Rate 3/4 Data (0x01ff), causing CRC check failure for Rate 1/2 on both encode and decode. This patch also refactors to avoid code copying and fixes a bug where calling DataBlock.Byte() on the output of Fragment.DataBlocks() produced an incorrect CRC value due to Bytes() not resetting db.CRC before performing it's own CRC calculation. |
6 years ago | |
---|---|---|
bptc | 9 years ago | |
crc | 9 years ago | |
docs | 9 years ago | |
fec | 9 years ago | |
homebrew | 6 years ago | |
ipsc | 9 years ago | |
terminal | 9 years ago | |
trellis | 9 years ago | |
vbptc | 9 years ago | |
.gitattributes | 9 years ago | |
.gitignore | 9 years ago | |
.travis.yml | 9 years ago | |
LICENSE | 9 years ago | |
README.md | 9 years ago | |
bits.go | 9 years ago | |
bits_test.go | 9 years ago | |
controlblock.go | 6 years ago | |
controlblock_test.go | 9 years ago | |
crc.go | 9 years ago | |
crc_test.go | 9 years ago | |
data.go | 6 years ago | |
data_encoding.go | 9 years ago | |
data_test.go | 6 years ago | |
dataheader.go | 6 years ago | |
dataheader_test.go | 6 years ago | |
dmr.go | 9 years ago | |
packet.go | 9 years ago | |
repeater.go | 9 years ago | |
sync.go | 9 years ago | |
version.go | 9 years ago | |
voice.go | 9 years ago |
README.md
go-dmr
Golang Digital Mobile Radio protocols.
References
The DMR Air Interface protocol is specified in Electromagnetic compatibility and Radio spectrum Matters (ERM); Digital Mobile Radio (DMR) Systems; Part 1: DMR Air Interface (AI) protocol, ETSI TS 102 361-1.
The Brandmeister Homebrew protocol is specified in IPSC Protocol Specs for homebrew DMR repeater by Hans DL5DI, Jonathan Naylor (G4KLXG) and Torsten Schultze (DG1HT).
Warning
This implementation is not suitable for commercial use and is for educational purposes only.
Acknowledgements
The implementation is possible because of the invaluable help from the following persons. Thanks for your patience and providing me with sample data and links to test the protocols.
- Rudy Hardeman (PD0ZRY)
- Artem Prilutskiy (R3ABM)