-
Notifications
You must be signed in to change notification settings - Fork 133
Closed
Description
Hi @whimsycwd
this.controller.on('others', (res) => {
this.emitAll('serialport:read', res.raw);
moveOn(res, false);
});
With the above code, the moveOn()
function is called within the "others" event callback. The "others" event will be emitted if the message was not able to parse (see https://github.com/whimsycwd/snapjs/blob/master/src/app/controllers/Marlin/Marlin.js#L349-L351).
May I know for what kinds of messages that need to handle in the "others" callback when running a G-code program? Thank you.
Metadata
Metadata
Assignees
Labels
No labels