Merge branch 'feature/protocomm_httpd_changes' into 'master'

Feature/protocomm httpd changes

See merge request idf/esp-idf!4227
This commit is contained in:
Angus Gratton
2019-02-15 14:21:44 +08:00
5 changed files with 79 additions and 32 deletions
@@ -54,8 +54,13 @@ For complete example see :example:`provisioning/softap_prov`
{
protocomm_t *pc = protocomm_new();
/* Config for protocomm_httpd_start() */
protocomm_httpd_config_t pc_config = PROTOCOMM_HTTPD_DEFAULT_CONFIG();
protocomm_httpd_config_t pc_config = {
.data = {
.config = PROTOCOMM_HTTPD_DEFAULT_CONFIG()
}
};
/* Start protocomm server on top of HTTP */
protocomm_httpd_start(pc, &pc_config);