Here's the problem - I want to generate a delta binary file (> 1 MB in size) on the server and send the delta to the embedded device with a memory limit (low in RAM and without dynamic memory) via HTTP. Deltas is preferable (as opposed to sending a complete binary file from the server) because of the high cost associated with transferring data over a wire.
The problem is that the embedded device cannot decode the delta and create the contents of a new file in memory. I studied various binary delta coding / decoding algorithms such as bsdiff, VCDiff, etc., but could not find libraries that support streaming.
Perhaps, instead of asking if there are suitable libraries out there, are there alternative approaches that I can take that will solve the original problem anyway (send minimal data by wire)? Although this will certainly help if there are suitable delta libraries that support streaming decoding (written in C or C ++ without the use of dynamic memory).
source
share