Skip to content

[ESP170]

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

[ESP170]<label=value> <json=no> pwd=<admin password>

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

  • pwd=<admin password> 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

  • 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 can be:

ValueDescriptionresolution
0FRAMESIZE_96X9696x96
1FRAMESIZE_QQVGA160x120
2FRAMESIZE_QCIF176x144
3FRAMESIZE_HQVGA240x176
4FRAMESIZE_240X240240x240
5FRAMESIZE_QVGA320x240
6FRAMESIZE_CIF400x296
7FRAMESIZE_HVGA480x320
8FRAMESIZE_VGA640x480
9FRAMESIZE_SVGA800x600
10FRAMESIZE_XGA1024x768
11FRAMESIZE_HD1280x720
12FRAMESIZE_SXGA1280x1024
13FRAMESIZE_UXGA1600x1200
14FRAMESIZE_FHD1920x1080
15FRAMESIZE_P_HD720x1280
16FRAMESIZE_P_3MP864x1536
17FRAMESIZE_QXGA2048x1536
18FRAMESIZE_QHD2560x1440
19FRAMESIZE_WQXGA2560x1600
20FRAMESIZE_P_FHD1080x1920
21FRAMESIZE_QSXGA2560x1920