Is rr_connect used for SBC
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)
@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
stuartofmt last edited by stuartofmt
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)
@stuartofmt Password authentification is not yet supported in SBC mode. I plan to add it to v3.4.