Duet3D Logo

    Duet3D

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

    Is rr_connect used for SBC

    Duet Web Control
    2
    4
    139
    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.
    • stuartofmt
      stuartofmt last edited by

      I am adding logon capability to one of my projects.

      I only have standalone capability (Duet2 Wifi) so cannot test for SBC.

      Is rr_connect used for SBC if no what is the format ?

      The documentation is a bit vague about this .... (or at least I cannot find a definitive statement)

      chrishamm 1 Reply Last reply Reply Quote 0
      • chrishamm
        chrishamm administrators @stuartofmt last edited by

        @stuartofmt rr_ requests are not available in SBC mode. Starting from v3.3 it will be possible to provide an emulation plugin but that still has to be implemented. See here for a list of implemented http requests in SBC mode: https://github.com/Duet3D/DuetSoftwareFramework/wiki/REST-API

        Duet software engineer

        stuartofmt 1 Reply Last reply Reply Quote 0
        • stuartofmt
          stuartofmt @chrishamm last edited by stuartofmt

          @chrishamm

          I understand that rr_requests are not available in SBC mode. My code checks to see what form (rr_ or /machine) are responded to and makes subsequent calls accordingly.

          From what you are saying - there is currently no ability to logon using a password in SBC mode. Is this correct ? If not - how is that done? The documentation is silent in this regard.

          I'm currently using 3.3.0-rc1 with standalone and the rr_requests work fine. Are you saying these will not be "native" with the production release of V3.3 ? In other words, moving foreward, the /machine model will be used for both Standalone and SBC ?

          Edit: To be clear - the context I am anticipating is accessing Duet with REST API's as opposed to sockets from independent programs (i.e. not a plugin)

          chrishamm 1 Reply Last reply Reply Quote 0
          • chrishamm
            chrishamm administrators @stuartofmt last edited by

            @stuartofmt Password authentification is not yet supported in SBC mode. I plan to add it to v3.4.

            Duet software engineer

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