Get / Set commands output, only used with board having the usb-serial feature

Input

[ESP950]<SERIAL/USB> j json=<no> pwd=<admin password>

  • json=no the output format can be in JSON or plain text

  • pwd= the admin password if authentication is enabled

  • SERIAL/USB the serial port to use, can be SERIAL or USB

Output

  • In json format
{
   "cmd":"950",
   "status":"ok",
   "data":"USB"
}
  • cmd Id of requested command, should be 950
  • status status of command, should be ok
  • data content of response, the method used to ommunicate with printer /cnc, here: USB