C++ API for Duet 3 Mainboard 6HC
-
Is MachineModel a Json structure that will be returned with the request ?
Yes.
The easiest way of seeing it is by entering:http://[your sbc/dsf ip address]/machine/status
into your browser.
It should just return the full JSON Machine Model as text (if using firefox it will automatically parse for you).
For the avoidance of confusion - the returned data is just text with an enforced structural pattern (JSON)
-
@MintyTrebor Thanks for your reply and your patience, I got a bit confused while reading the last messages !
This is what I am looking for. I don't have received my Duet card yet so I can't try the request, would you have a link showing the content of the Machine Model or an example of it please ? -
https://duet3d.dozuki.com/Wiki/Object_Model_of_RepRapFirmware
will get you started.
-
@MintyTrebor This is what I needed ! Thank you
If this the structure to use when I want to retrieve info during printing (like position, % of completion, speed, etc) or is there a other one ?