espressif / esp-homekit-sdk

541 stars 98 forks source link

hap_platform_httpd_start failing #127

Closed rokelber closed 4 months ago

rokelber commented 4 months ago

I am attempting to run the fan example, and it fails to run with HTTPD START Failed [-1]. I have tracked down the issue to:

int hap_platform_httpd_start(httpd_handle_t *handle)
{
   httpd_config_t config = {
      ...

config initialization does not initialize all fields, resulting in the underlying call to xTaskCreatePinnedToCoreWithCaps failing.

shahpiyushv commented 4 months ago

Thanks for reporting the issue and providing the pointer to the fix. We will test this and push out updated code soon