[PD-dev] [ pure-data-Patches-3051663 ] make slipdec reassemble arbitrary packages

SourceForge.net noreply at sourceforge.net
Mon Aug 23 18:45:06 CEST 2010


Patches item #3051663, was opened at 2010-08-23 18:45
Message generated for change (Tracker Item Submitted) made by zmoelnig
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3051663&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: externals
Group: bugfix
Status: Open
Resolution: None
Priority: 6
Private: No
Submitted By: IOhannes m zmlnig (zmoelnig)
Assigned to: Martin Peach (mrpeach)
Summary: make slipdec reassemble arbitrary packages

Initial Comment:
current slipdec doesn't work if the SLIP encoded package is not presented as a single list
(which kind of defeats the idea of SLIP, which is to paketize a _stream_ of data)

with the attached patch, [slipdec] is able to decode a stream even if it was [1, 192 2, 3 4, 5 192, 6, 192(

before applying and committing the patch, please have a close look at it.
for now, i just disabled the "valid" output (because it doesn't make so much sense anyhow, a SLIP stream is almost always valid)
i know think that the flag could indicate whether there is still data waiting in the queue (and is updated after each message received)




----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3051663&group_id=55736



More information about the Pd-dev mailing list