Duet3D Logo

    Duet3D

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

    Websockets

    Firmware wishlist
    3
    4
    591
    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.
    • gtj0
      gtj0 last edited by gtj0

      Maybe not for Duet2 and earlier but having the ability to do an UPGRADE and open a websocket for status reports and async gcode responses would prevent the need to keep issuing rr_status and rr_reply commands. Actually, the Duet2 could probably handle this given that it wouldn't have to handle those rr_ commands coming in every 250ms (or whatever).

      Just thought of something else... The PanelDue could be serviced by the same loop preventing it from having to issue M408 commands repeatedly. Maybe an M409 command that specifies the response type and frequency.

      1 Reply Last reply Reply Quote 1
      • eBerlin
        eBerlin last edited by

        I like this idea!

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

          The firmware being written for Duet 3 uses websockets.

          Under some conditions (e.g. when waiting for heaters to reach temperature), the Duet already sends regular status updates to PanelDue. I may extend the number of situations in which this occurs, for example to send regular status updates when running macro files or doing long moves.

          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

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

            @dc42 said in Websockets:

            The firmware being written for Duet 3 uses websockets.

            Under some conditions (e.g. when waiting for heaters to reach temperature), the Duet already sends regular status updates to PanelDue. I may extend the number of situations in which this occurs, for example to send regular status updates when running macro files or doing long moves.

            Good deal David!

            /me anxiously awaits the Duet 3 🙂

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