What is 'buff'?
-
Sorry for the rudimentary post.
When I send a request such asrr_gcode?gcode=M115
,
it returns 'buff' with status code 200.What is the meaning of this 'buff'?
-
@jojo-y The remaining space in RRF's G-code buffer in bytes.
-
@chrishamm said in What is 'buff'?:
The remaining space
Sorry to ask such a basic question.
What is the remaining space? -
@jojo-y RRF can only store up to 255 bytes (characters) per G-code input. If you send e.g.
M122
, that will take up 4 bytes and only 251 bytes are remaining in the buffer. When the code has been read, the buffer will be free again and you've got 255 bytes for storing incoming G-codes again. Of course the more G-codes you send and the more G-codes are queued, the lower the available buffer space will become. -
@chrishamm
I understand it. Thank you very much! -
-