Minor fixes for the last merge (#137)
* Add the missing Save button to the web UI for OV5640 * Add MDNS feature that allows the cameras to be found * Add mDNS Camera Query * fix bug in mdns json generator * Fix missing mdns dependencypull/138/head
parent
67a57377cf
commit
3a734c0d69
|
@ -7,6 +7,7 @@ set(COMPONENT_REQUIRES
|
||||||
nvs_flash
|
nvs_flash
|
||||||
esp_http_server
|
esp_http_server
|
||||||
fb_gfx
|
fb_gfx
|
||||||
|
mdns
|
||||||
)
|
)
|
||||||
|
|
||||||
set(COMPONENT_EMBED_FILES
|
set(COMPONENT_EMBED_FILES
|
||||||
|
|
|
@ -97,7 +97,7 @@ const char * app_mdns_query(size_t * out_len)
|
||||||
p += sprintf(p, "\"framesize\":\"%s\",", framesize);
|
p += sprintf(p, "\"framesize\":\"%s\",", framesize);
|
||||||
p += sprintf(p, "\"stream_port\":\"81\",");
|
p += sprintf(p, "\"stream_port\":\"81\",");
|
||||||
p += sprintf(p, "\"board\":\"%s\",", CAM_BOARD);
|
p += sprintf(p, "\"board\":\"%s\",", CAM_BOARD);
|
||||||
p += sprintf(p, "\"model\":\"%s\",", model);
|
p += sprintf(p, "\"model\":\"%s\"", model);
|
||||||
*p++ = '}';
|
*p++ = '}';
|
||||||
*p++ = ',';
|
*p++ = ',';
|
||||||
p += sprintf(p, "\"ip\":\"" IPSTR "\",", IP2STR(&(ip.ip)));
|
p += sprintf(p, "\"ip\":\"" IPSTR "\",", IP2STR(&(ip.ip)));
|
||||||
|
|
Loading…
Reference in New Issue