WebSocket possible on the Duet3?



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


  • administrators

    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.



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


  • administrators

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



  • @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? 🙂


Log in to reply