Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Duet Web Control HTTP-Request Documentation

    Scheduled Pinned Locked Moved
    Duet Web Control
    3
    4
    711
    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.
    • Gabrielundefined
      Gabriel
      last edited by

      Hello all together,

      I remember a github page from chris hammacher which explained the connection between Web Control and RepRap Firmware. For example, he wrote how to connect via HTTP-Request (rr_status?type=001), which timeouts need to be taken account to and more. Unfortunately I can't find it anymore. Was it deleted?

      I am about to create a LabVIEW based user interface.

      Thanks in advance,
      Gabriel

      1 Reply Last reply Reply Quote 0
      • mloidlundefined
        mloidl
        last edited by

        https://github.com/chrishamm/DuetWebControl/blob/legacy/README.md

        Seems the former master branch was moved to legacy.

        1 Reply Last reply Reply Quote 0
        • Gabrielundefined
          Gabriel
          last edited by

          Perfect, THANKS!!

          1 Reply Last reply Reply Quote 0
          • dc42undefined
            dc42 administrators
            last edited by

            There have been some updates to those commands since that was published. In particular:

            • rr_upload takes an optional "crc" parameter, which is the CRC-32 of the file in hex format
            • rr_filelist takes an optional "first" parameter, which is the number of the first file required. It also returns a value "next" which is the file number of the first file not returned, or 0 if info for the last file has been returned. So you can make multiple rr_filelist calls, with "first" set to 0 for the first call and subsequently set to the returned "next" value, until "next is 0.

            If no requests are received for a period of 8 seconds, thew session will be terminated automatically and a new rr_connect request is needed to start a new one.

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA