55 Commits (29c24593f9e1fbc433d992fe4768ced41050a787)
 

Author SHA1 Message Date
Martin Hebnes Pedersen 29c24593f9 Support Rate 1/2 Data CRC Mask
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
Martin Hebnes Pedersen 2851102398 Fix serialization of Confirmed DataBlock
The serialized form should be 10 octets of user-data plus the two octets
for serial/crc.

Previous implementation forgot to account for the two extra octets when
allocating the final data slice.
6 years ago
tehmaze 68378f8fb4
Merge pull request #2 from martinhpedersen/fixes
Some fixes
6 years ago
Martin Hebnes Pedersen 9f086ae182 Fix BM homebrew compatibility (rptrid comparison)
BM switched from upper case to lower case hexadecimal representation in
BrandMeister release 20190421-185653.

The comparison must be case insensitive according to a member of the BM
dev team (@cyanide-burnout) on Telegram:
"it shoud check on case-insensetive way".
6 years ago
Martin Hebnes Pedersen eacc75566e Fix test breaking due to vet checks
Some incorrect fmt formatting strings broke tests due to vet checks
being automatically applied since Go 1.10.
6 years ago
Martin Hebnes Pedersen d782d04296 Fix serialization of SAP in DataHeader 6 years ago
Martin Hebnes Pedersen f4fff47365 Fix panic in Fragment.DataBlocks() duo to typo
store vs stored
6 years ago
Martin Hebnes Pedersen d206b8c2bd Fix ParseDataBlock of unconfirmed data
The Data slice was not initialized before calling copy(dst, src)
6 years ago
Wijnand Modderman-Lenstra 9942e7c892 voice: implemented (embedded) link control 9 years ago
Wijnand Modderman-Lenstra e82c2b2e16 homebrew: reset status on link failure 9 years ago
Wijnand Modderman-Lenstra 74cc42c1b8 terminal: fix data handling 9 years ago
Wijnand Modderman-Lenstra 7bb0dafaf6 homebrew: split off peer 9 years ago
Wijnand Modderman-Lenstra 3fe41e10ef Checkpoint 9 years ago
Wijnand Modderman-Lenstra 599d42dca9 bptc: rewrite; fixed encoder; added tests 9 years ago
Wijnand Modderman-Lenstra 500a97e3f3 Updated .travis.yml 9 years ago
Wijnand Modderman-Lenstra 0fadd4412b Updated .travis.yml 9 years ago
Wijnand Modderman-Lenstra 83714965c5 Added button 9 years ago
Wijnand Modderman-Lenstra d7fa26dc20 Updated .travis.yml 9 years ago
Wijnand Modderman-Lenstra c883af72be Updated .travis.yml 9 years ago
Wijnand Modderman-Lenstra 86fa21dc71 Terminal: ported 9 years ago
Wijnand Modderman-Lenstra 127463dd5d Added .travis.yml 9 years ago
Wijnand Modderman-Lenstra 4f2b16dfcb Checkpoint 9 years ago
Wijnand Modderman-Lenstra cca6817956 Checkpoint 9 years ago
Wijnand Modderman-Lenstra caa595110d trellis: decoder 9 years ago
Wijnand Modderman-Lenstra a4db831098 Added MMDVM modem specs 9 years ago
Wijnand Modderman-Lenstra cba4cf198d Prepare for public release 9 years ago
Wijnand Modderman-Lenstra 493e72583d homebrew: use ID in stead of (redundant) RepeaterID 9 years ago
Wijnand Modderman-Lenstra 63f4d4c602 Added oggfwd 9 years ago
Wijnand Modderman-Lenstra 46d5ddb26a Makefile: updated deps 9 years ago
Wijnand Modderman-Lenstra 3eab182746 Added dmrstream 9 years ago
Wijnand Modderman-Lenstra d9236ec286 homebrew: allow Close() 9 years ago
Wijnand Modderman-Lenstra 70db2504f9 Removed debug print 9 years ago
Wijnand Modderman-Lenstra ff51bb1dbd Audible output from AMBE3000 9 years ago
Wijnand Modderman-Lenstra 174b460919 Renamed repo 9 years ago
Wijnand Modderman-Lenstra f9646e9667 Cleanup 9 years ago
Wijnand Modderman-Lenstra b7c07ac7b3 bptc: simplified 9 years ago
Wijnand Modderman-Lenstra 1f073cf902 bit: more efficient; debits 9 years ago
Wijnand Modderman-Lenstra 0175d52eca bit: more efficient; debits 9 years ago
Wijnand Modderman-Lenstra b3e1434b25 Added lots of stuff 9 years ago
Wijnand Modderman-Lenstra f5ce7276bd Added CRC algos 9 years ago
Wijnand Modderman-Lenstra 7f90da765e Added FEC algos 9 years ago
Wijnand Modderman-Lenstra a7136447fc Path fixes 9 years ago
Wijnand Modderman-Lenstra 3603905b6f bit: added .Equal() and .Len() 9 years ago
Wijnand Modderman-Lenstra 95fe1d034c bptc: fixes 9 years ago
Wijnand Modderman-Lenstra 250b87e9c0 bit: fixed em 9 years ago
Wijnand Modderman-Lenstra cdaad978da Abstracted bits out 9 years ago
Wijnand Modderman-Lenstra f4c8a1570d Added the BPTC(196, 96) algo 9 years ago
Wijnand Modderman-Lenstra c67f84086b Docs 9 years ago
Wijnand Modderman-Lenstra 09234cef4a Docs 9 years ago
Wijnand Modderman-Lenstra b88438b925 Made callback types public 9 years ago