Get /Set Camera command value / list all values in JSON/plain text

Input

[ESP170]<label=value> <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

  • label

    • if label is empty, it will display current value
    • if label is not empty, it will set the value

    label can be: light/framesize/quality/contrast/brightness/saturation/gainceiling/colorbar/awb/agc/aec/hmirror/vflip/awb_gain/agc_gain/aec_value/aec2/cw/bpc/wpc/raw_gma/lenc/special_effect/wb_mode/ae_level
    value depend on label

Output

  • In json format
{
   "cmd":"170",
   "status":"ok",
   "data":"ok"
}
  • cmd Id of requested command, should be 170
  • status status of command, should be ok | data content of response, here ok

Framesize

Framesize can be: | Value | Description | resolution | |:-:|:-:|:-:| | 0 | FRAMESIZE_96X96| 96x96 | 1 | FRAMESIZE_QQVGA| 160x120 | 2 | FRAMESIZE_QCIF| 176x144 | 3 | FRAMESIZE_HQVGA| 240x176 | 4 | FRAMESIZE_240X240| 240x240 | 5 | FRAMESIZE_QVGA| 320x240 | 6 | FRAMESIZE_CIF| 400x296 | 7 | FRAMESIZE_HVGA| 480x320 | 8 |FRAMESIZE_VGA| 640x480 | 9 | FRAMESIZE_SVGA| 800x600 | 10 | FRAMESIZE_XGA| 1024x768 | 11 | FRAMESIZE_HD| 1280x720 | 12 | FRAMESIZE_SXGA| 1280x1024 | 13 | FRAMESIZE_UXGA| 1600x1200 | 14 | FRAMESIZE_FHD| 1920x1080 | 15 | FRAMESIZE_P_HD| 720x1280 | 16 | FRAMESIZE_P_3MP| 864x1536 | 17 | FRAMESIZE_QXGA| 2048x1536 | 18 | FRAMESIZE_QHD| 2560x1440 | 19 | FRAMESIZE_WQXGA| 2560x1600 | 20 | FRAMESIZE_P_FHD| 1080x1920 | 21 | FRAMESIZE_QSXGA| 2560x1920