I am writing a simple plugin for octoprint that will provide some snapmaker tools to turn on and off the laser / cnc tool / set the focus, etc. Maybe run a boundary for the loaded gcode.
I’m trying to determine how I can tell from the printer what module is installed in order to only provide this control only when the laser is plugged in or the cnc is plugged in.
Can you tell me what to send to get that information? it does not seem to be in the response to M503, M1005, or any others I’ve tried. Alternatilvely if you can send me the source for the firmware, I can figure it out myself.