Closed dpslwk closed 13 years ago
First of all, thanks for reporting this.
This almost willfully breaking of compatibility by RepRap Host is ridiculous. I've requested an explanation on the reprap-dev mailing list.
Now, commiting the patch breaks compatibility with older RepRap Hosts any likely many other GCode sending apps. Looks like we'd have to introduce something like
// #define REPRAP_HOST_COMPATIBILITY 2010-01-01
#define REPRAP_HOST_COMPATIBILITY 2010-08-06
// #define REPRAP_HOST_COMPATIBILITY <date of next RepRap Host compatibility break>
#if defined REPRAP_HOST_COMPATIBILITY && REPRAP_HOST_COMPATIBILITY < 2010-08-06
serial_writestr_P(PSTR("Resend:"));
#else
serial_writestr_P(PSTR("rs "));
#endif
For now, let's see what the mailing list people tell us :-)
OK, the go-home message from the mailing list is, breaking backwards compatibility is intentional. See: http://github.com/triffid/FiveD_on_Arduino/commit/a565f31dbb36d0be615770c1a16db32cd77bfcd6
As of reprap-mendel-20100806, the RepRap java host expects resend requests using the new "rs " format only, the version before this only excepted "Resend:"
Repsnapper as of SVN 348 accepts both formats.