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

    WebSocket possible on the Duet3?

    Scheduled Pinned Locked Moved
    Firmware developers
    2
    5
    342
    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.
    • gtj0undefined
      gtj0
      last edited by

      @dc42 Are there enough resources available on the Duet3 itself to run a basic websocket server-side implementation? I'll write it if you think the resources are available, maybe at the expense of telnet or fewer http tasks, and make it optional of course.

      The ongoing incompatibility between RRF and DSF just doesn't seem to be getting any better. It's still great concept but not if the two parts can't stay in sync. 😞

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

        What is it that you want to provide using a websocket, that you can't already do using the existing rr_ commands including the recent rr_model command?

        You can expect DSF to come into sync with RRF soon, now that the RRF object model is mostly complete. RRF already existed, but DSF had to be written from scratch; so it's not surprising that it is a little behind at present.

        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

        gtj0undefined 1 Reply Last reply Reply Quote 1
        • gtj0undefined
          gtj0 @dc42
          last edited by

          @dc42 said in WebSocket possible on the Duet3?:

          What is it that you want to provide using a websocket, that you can't already do using the existing rr_ commands including the recent rr_model command?

          I don't want to have to poll. I suppose I could create a a simple SPI<>WebSocket proxy though.

          You can expect DSF to come into sync with RRF soon, now that the RRF object model is mostly complete. RRF already existed, but DSF had to be written from scratch; so it's not surprising that it is a little behind at present.

          Uhm, usually it's the newest thing that's the easiest up to date. 🙂

          Anyway, the DSF probably should be getting it's model from RRF when it starts so we
          don't have this issue going forward.

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

            @gtj0 said in WebSocket possible on the Duet3?:

            Anyway, the DSF probably should be getting it's model from RRF when it starts

            That's what @chrishamm plans to do, or maybe is doing already in internal builds. We discussed it about a week ago.

            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

            gtj0undefined 1 Reply Last reply Reply Quote 0
            • gtj0undefined
              gtj0 @dc42
              last edited by

              @dc42 said in WebSocket possible on the Duet3?:

              @gtj0 said in WebSocket possible on the Duet3?:

              Anyway, the DSF probably should be getting it's model from RRF when it starts

              That's what @chrishamm plans to do, or maybe is doing already in internal builds. We discussed it about a week ago.

              Cool then! Looking forward to it. Is this why he's been heads down for the last 2 weeks? 🙂

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