[ESP935]
Section titled “[ESP935]”Syntax: [ESP935](ENABLE/DISABLE/CLOSE) json=(no) pwd=(admin password)
Description: display/set native USB CDC state
Controls the native USB CDC command client: on boards using the ESP32-S2/S3 native USB port (no USB-UART chip), a computer opens the USB serial port to send ESP3D commands and G-code and to see the answers. Only available in builds with the USB CDC device feature.
State- empty: displays the state and whether a terminal has the port open
ENABLE: enables the client and starts it if it is stoppedDISABLE: disables the client, applied at next boot (or useCLOSE)CLOSE: stops the client until next boot orENABLE
json=no: output format, JSON or plain textpwd=(admin password): the admin password if authentication is enabled
Same setting as service/usb_cdc “enable” in [ESP400], and USB_CDC_active in the [services] section of esp3dcnf.ini. [ESP420] reports the client as usb_cdc.
Access
Section titled “Access”| Guest | User | Admin |
|---|---|---|
| No | Get | Get/Set |
Output
Section titled “Output”{ "cmd":"935", "status":"ok", "data":"ENABLED - Connected"}cmd: id of requested command, should be935status: status of command, should beokdata: content of response, here the current state
Plain text:
ENABLED - Connected