Closed jpswinski closed 4 years ago
This is not the default (and only supported) behavior of the system. The bplib_ackbundle and bplib_ackpayload functions were added as a result. This was needed because the library now only maintains one copy of the bundle/payload in memory when loading/accepting - something that needed to be done for memory constrained systems.
The bplib_accept function automatically releases the payload resources from storage. There should be an option to accept a payload without automatically deleting it, and then subsequent calls to accept will return the same payload until the payload is acknowledged by a different function call (or the same function call with different parameters passed in).
This completes the full reliable delivery of the data all the way to the application.