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

Websockets

Scheduled Pinned Locked Moved
Firmware wishlist
3
4
744
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.
  • undefined
    gtj0
    last edited by gtj0 18 Jan 2019, 00:51

    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
    • undefined
      eBerlin
      last edited by 18 Jan 2019, 16:51

      I like this idea!

      1 Reply Last reply Reply Quote 0
      • undefined
        dc42 administrators
        last edited by dc42 19 Jan 2019, 10:43

        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

        undefined 1 Reply Last reply 20 Jan 2019, 16:05 Reply Quote 0
        • undefined
          gtj0 @dc42
          last edited by 20 Jan 2019, 16:05

          @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
          2 out of 4
          • First post
            2/4
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA