<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
&gt; &gt; Hi Ricardo,<br>&gt; &gt; Well I didn't have chance to try it with [comport], but I suspect you need<br>&gt; &gt; to make the output of [comport] into lists using the slip packet delimiter<br>&gt; &gt; 192 and [list append] and [list prepend] as in the [list] examples.<br>&gt; &gt; It should not crash Pd though, that's bad...<br>&gt; &gt; Martin<br>&gt; <br>&gt; Hi Martin, I used [list preped] and [list append] as you said and now<br>&gt; it works, thanks.<br>&gt; <br><br>Yes, but I think it should work with individual input bytes, I noticed that it's not checking the buffer for overflow in that case, so I will fix that today. I was getting crashes by feeding [slipdec] with random bytes.<br><br><br>&gt; However, I am still getting crashes with the stream from comport (if I<br>&gt; program the microcontroller to send messages every ~200ms, it works<br>&gt; fine), I read a recent mail about unpackOSC, then I tested using just<br>&gt; slipdec (still crashes)<br>&gt; <br>&gt; Crashes occur if I send messages too fast, just putting a [metro 50]<br>&gt; to a valid message in slipenc-help.pd or sending microcontroller<br>&gt; messages every 10 - 50 ms, freezes pd, and eventually make it crash.<br>&gt; <br><br>Maybe it's a [print] object overloading? Trying to print thousands of numbers usually hangs Pd.<br><br>&gt; I don't know what should be the minimun time that slipdec needs to<br>&gt; process a packet, I use the same settings that I use in Linux with<br>&gt; serialIO, OpenSoundControl and OSCruote [1], in Linux it works pretty<br>&gt; well even with shortes times.<br>&gt; <br><br>It should be able to hold on to a partial message indefinitely, but at the moment if the message list isn't a complete SLIP packet it might not work properly.<br><br>Martin<br>                                               </body>
</html>