We’re developing a GUI to send code to Tinyg for a new product we’re working on. So far, so good and the JSON interface is great.
As I start working on the part that sends bulk gcode down I want to make sure that I address buffers and flow control properly.
For the basic UART buffer I see that xon/xoff is used. No problem there.
For the motion planner, is there anything to be aware of in terms of not sending too many machine commands down before they can execute? I don’t see a command or report that tells me the number of spaces left in the command queue. Is this available somewhere or do I need to manage it in the app using line number reporting?
Also, various posts mention the need for a line delay in coolterm. Is this needed in the current builds?
Any other queue/buffer management issues to be aware of?
-Robert
PS- I did look at the TG code for a hour or two but fully understanding the interaction between everything in there will take much longer than that.