Knowledge Base

Additional Information on Forward Error Correction


I am trying to implement the forward error correction coding as described in chapters 6, 7, 8, 9, 10, and 11 of the version 1.0 LoRaWAN Fragmented Data Block Specification. I think I have implemented a working encoder and decoder but I don't have a lot of confidence that my implementation is compliant since I can't find any fully worked through examples. I'm looking for something like Appendix B of the AES standard (

I'm also interested in any additional information on this particular coding scheme such as where it came from, an explanation on why it works, and the limitations/downfalls.

Any information would be greatly appreciated, thanks!

Perhaps the example in the LoRaMAC-Node repo will help for verification?

That definitely helps, thanks! I'll try writing a small program which uses the read/write callbacks in the decoder and see if it can produce the same output as my implementation. Are you aware of any other resources where I can find information about this algorithm?