Chirpstack FUOTA redundancy fragments implementation

Viewed 41

I'm trying to implement fuota on an MCU using chirpstack. I've implemented upto downloading fragments & redundancy fragments.
Now I'm stuck at generating missing fragments using already receieved fragments & redundancy fragments.
I tried to do an implementation using https://lora-alliance.org/wp-content/uploads/2020/11/fragmented_data_block_transport_v1.0.0.pdf
Hovewer the way chirpstack creates redundancy fragments seems to be different.
Anyone tried this or have some insight? -TIA

2 Answers

Please note that the ChirpStack FUOTA implementation was tested against:

Depending the Fragmented Data Block Transport specification (v1 and v2), the algorithm for calculating the redundancy frames is slightly different.

In case of v2, there is a difference between the Basics Modem implementation and the specs, see this issue: https://github.com/Lora-net/SWL2001/issues/106. At this moment, ChirpStack uses Basics Modem implementation.

Thank you very much for the support. Were able to get the working codec for v1 from SWL2001.