[ECOS] xmodem Redboot
Tim michals
tcmichals@yahoo.com
Thu Jan 20 08:15:00 GMT 2005
I'm downloading a binary file with multiple, ie more
the 3 consective EOF's which are not the in the last
packet.
if ((xyz.bufp[xyz.len-1] == EOF) &&
(xyz.bufp[xyz.len-2] == EOF) &&
(xyz.bufp[xyz.len-3] == EOF)) {
while (xyz.len && (xyz.bufp[xyz.len-1] == EOF)) {
xyz.len--;
}
The data gets eaten.
According to the xmodem documentation, if the last
packet contains EOF's this is considered the pad?
Is this correct?
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list