Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Solved What is 'buff'?

    Duet Web Control
    2
    5
    163
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jojo.y
      jojo.y last edited by

      Sorry for the rudimentary post.
      When I send a request such as rr_gcode?gcode=M115,
      it returns 'buff' with status code 200.

      What is the meaning of this 'buff'?

      chrishamm 1 Reply Last reply Reply Quote 0
      • chrishamm
        chrishamm administrators @jojo.y last edited by

        @jojo-y The remaining space in RRF's G-code buffer in bytes.

        Duet software engineer

        jojo.y 1 Reply Last reply Reply Quote 0
        • jojo.y
          jojo.y @chrishamm last edited by

          @chrishamm said in What is 'buff'?:

          The remaining space

          Sorry to ask such a basic question.
          What is the remaining space?

          chrishamm jojo.y 2 Replies Last reply Reply Quote 0
          • chrishamm
            chrishamm administrators @jojo.y last edited by

            @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.

            Duet software engineer

            1 Reply Last reply Reply Quote 0
            • jojo.y
              jojo.y @jojo.y last edited by

              @chrishamm
              I understand it. Thank you very much!

              1 Reply Last reply Reply Quote 0
              • Topic has been marked as a question  dc42 dc42 
              • Topic has been marked as solved  dc42 dc42 
              • First post
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA