I am planning to use Kisslicer and octoprint to send gcode to my printer. but I am going to develop my own firmware for AVR Atmega 128 chip to drive step motors according to the movement vectors that OctoPrint passes to firmware through serial port.
I have looked for the the protocol to parse the commands that is sent by octoprint, but I couldn't find a documentation. I believe there is a common protocol so that firmware and driver software can communicate.
If there is one, could you please share the link to that documentation? thanks.