Get ESP3D pins definition

Input

[ESP220] 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

Output

  • In json format

    {
     "cmd": "220",
     "status": "ok",
     "data": [
      {
       "id": "SD CS",
       "value": "13"
      },
      {
       "id": "SD MOSI",
       "value": "15"
      },
      {
       "id": "SD MISO",
       "value": "2"
      },
      {
       "id": "SD SCK",
       "value": "14"
      },
      {
       "id": "SD DETECT",
       "value": "-1"
      },
      {
       "id": "SD SWITCH",
       "value": "26"
      }
     ]
    }
    

  • cmd Id of requested command, should be 220

  • status status of command, should be ok
  • data content of response, here the pins definitions

  • plain text format

SD CS: 13
SD MOSI: 15
SD MISO: 2
SD SCK: 14
SD DETECT: -1
SD SWITCH: 26