diff --git a/ezlopi-cloud/ezlopi-cloud-items/ezlopi_cloud_items.c b/ezlopi-cloud/ezlopi-cloud-items/ezlopi_cloud_items.c index ef5a8fdc..01a8238e 100644 --- a/ezlopi-cloud/ezlopi-cloud-items/ezlopi_cloud_items.c +++ b/ezlopi-cloud/ezlopi-cloud-items/ezlopi_cloud_items.c @@ -17,7 +17,7 @@ #include "ezlopi_service_webprov.h" -static cJSON* ezlopi_device_create_item_table_from_prop(l_ezlopi_device_t *device_prop, l_ezlopi_item_t* item_properties) +static cJSON* ezlopi_device_create_item_table_from_prop(l_ezlopi_device_t* device_prop, l_ezlopi_item_t* item_properties) { cJSON* cj_item_properties = cJSON_CreateObject(__FUNCTION__); if (cj_item_properties) @@ -171,8 +171,11 @@ void items_set_value_v3(cJSON* cj_request, cJSON* cj_response) } } +#if 0 void items_update_v3(cJSON* cj_request, cJSON* cj_response) { + bool _break_loop = false; + cJSON* cjson_params = cJSON_GetObjectItem(__FUNCTION__, cj_request, ezlopi_params_str); if (cjson_params) { @@ -204,7 +207,7 @@ void items_update_v3(cJSON* cj_request, cJSON* cj_response) cJSON_AddStringToObject(__FUNCTION__, cj_result, ezlopi_deviceCategory_str, curr_device->cloud_properties.category); cJSON_AddStringToObject(__FUNCTION__, cj_result, ezlopi_deviceSubcategory_str, curr_device->cloud_properties.subcategory); - char * room_name = ezlopi_core_room_get_name_by_id(curr_device->cloud_properties.room_id); + char* room_name = ezlopi_core_room_get_name_by_id(curr_device->cloud_properties.room_id); if (room_name) { cJSON_AddStringToObject(__FUNCTION__, cj_result, ezlopi_roomName_str, room_name); @@ -227,18 +230,23 @@ void items_update_v3(cJSON* cj_request, cJSON* cj_response) cJSON_AddStringToObject(__FUNCTION__, cj_result, ezlopi_valueType_str, curr_item->cloud_properties.value_type); } + _break_loop = true; break; } curr_item = curr_item->next; } + if (_break_loop == true) + { + break; + } + curr_device = curr_device->next; } } } -#if 0 cJSON* ezlopi_cloud_items_updated_from_devices_v3(l_ezlopi_device_t* device, l_ezlopi_item_t* item) { cJSON* cjson_response = cJSON_CreateObject(__FUNCTION__); diff --git a/ezlopi-cloud/ezlopi-cloud-items/ezlopi_cloud_items.h b/ezlopi-cloud/ezlopi-cloud-items/ezlopi_cloud_items.h index 34c7b29b..7544e6fc 100644 --- a/ezlopi-cloud/ezlopi-cloud-items/ezlopi_cloud_items.h +++ b/ezlopi-cloud/ezlopi-cloud-items/ezlopi_cloud_items.h @@ -12,7 +12,7 @@ extern "C" #endif void items_list_v3(cJSON* cj_request, cJSON* cj_response); void items_set_value_v3(cJSON* cj_request, cJSON* cj_response); - void items_update_v3(cJSON* cj_request, cJSON* cj_response); + // void items_update_v3(cJSON* cj_request, cJSON* cj_response); void items_list(cJSON* cj_request, cJSON* cj_response); void items_update(cJSON* cj_request, cJSON* cj_response); diff --git a/ezlopi-core/ezlopi-core-buffer/ezlopi_core_buffer.c b/ezlopi-core/ezlopi-core-buffer/ezlopi_core_buffer.c index 9db3bcca..7c0ba648 100644 --- a/ezlopi-core/ezlopi-core-buffer/ezlopi_core_buffer.c +++ b/ezlopi-core/ezlopi-core-buffer/ezlopi_core_buffer.c @@ -24,11 +24,8 @@ void ezlopi_core_buffer_deinit(void) __buffer_lock = NULL; } - if (__buffer) - { - ezlopi_free(__FUNCTION__, __buffer); - __buffer = NULL; - } + ezlopi_free(__FUNCTION__, __buffer); + __buffer = NULL; __buffer_len = 0; __buffer_lock_state = EZ_BUFFER_STATE_NOT_INITIATED; @@ -90,7 +87,7 @@ void ezlopi_core_buffer_init(uint32_t len) } } -char *ezlopi_core_buffer_acquire(uint32_t *len, uint32_t wait_to_acquired_ms) +char *ezlopi_core_buffer_acquire(const char *who, uint32_t *len, uint32_t wait_to_acquired_ms) { char *ret = NULL; // uint32_t start_time = xTaskGetTickCount(); @@ -101,23 +98,48 @@ char *ezlopi_core_buffer_acquire(uint32_t *len, uint32_t wait_to_acquired_ms) ret = __buffer; *len = __buffer_len; __buffer_lock_state = EZ_BUFFER_STATE_BUSY; + TRACE_I("(%s): buffer acquired", who); + } + else + { + TRACE_E("(%s): buffer acquire failed!", who); } } + else + { + TRACE_E("(%s): __buffer_lock = NULL!", who); + } return ret; } -void ezlopi_core_buffer_release(void) +void ezlopi_core_buffer_release(const char *who) { +#if 0 if (__buffer_lock && (EZ_BUFFER_STATE_BUSY == __buffer_lock_state)) { xSemaphoreGive(__buffer_lock); __buffer_lock_state = EZ_BUFFER_STATE_AVAILABLE; + TRACE_I("(%s): buffer release success", who); } else { TRACE_E("__buffer_lock: %p", __buffer_lock); TRACE_E("__buffer_lock_state: %d", __buffer_lock_state); - TRACE_E("buffer release failed!"); + TRACE_E("(%s): buffer release failed!", who); + } +#endif + + if (__buffer_lock && (pdTRUE == xSemaphoreGive(__buffer_lock))) + { + // xSemaphoreGive(__buffer_lock); + __buffer_lock_state = EZ_BUFFER_STATE_AVAILABLE; + TRACE_I("(%s): buffer release success", who); + } + else + { + TRACE_E("__buffer_lock: %p", __buffer_lock); + // TRACE_E("__buffer_lock_state: %d", __buffer_lock_state); + TRACE_E("(%s): buffer release failed!", who); } } diff --git a/ezlopi-core/ezlopi-core-buffer/ezlopi_core_buffer.h b/ezlopi-core/ezlopi-core-buffer/ezlopi_core_buffer.h index 6b7bc367..3a7803a4 100644 --- a/ezlopi-core/ezlopi-core-buffer/ezlopi_core_buffer.h +++ b/ezlopi-core/ezlopi-core-buffer/ezlopi_core_buffer.h @@ -17,7 +17,10 @@ e_buffer_state_t ezlopi_core_buffer_status(void); void ezlopi_core_buffer_deinit(void); void ezlopi_core_buffer_init(uint32_t len); -void ezlopi_core_buffer_release(void); -char *ezlopi_core_buffer_acquire(uint32_t *len, uint32_t wait_to_acquired_ms); +// void ezlopi_core_buffer_release(void); +void ezlopi_core_buffer_release(const char *who); + +// char *ezlopi_core_buffer_acquire(uint32_t *len, uint32_t wait_to_acquired_ms); +char *ezlopi_core_buffer_acquire(const char *who, uint32_t *len, uint32_t wait_to_acquired_ms); #endif // __EZLOPI_CORE_BUFFER_H__ diff --git a/ezlopi-core/ezlopi-core-ezlopi/ezlopi_core_broadcast.c b/ezlopi-core/ezlopi-core-ezlopi/ezlopi_core_broadcast.c index 11636fca..98f5f00e 100644 --- a/ezlopi-core/ezlopi-core-ezlopi/ezlopi_core_broadcast.c +++ b/ezlopi-core/ezlopi-core-ezlopi/ezlopi_core_broadcast.c @@ -15,18 +15,18 @@ #include "EZLOPI_USER_CONFIG.h" // static uint32_t __message_count = 0; -static l_broadcast_method_t* __method_head = NULL; -static int (*__broadcast_queue_func)(cJSON* cj_data) = NULL; +static l_broadcast_method_t *__method_head = NULL; +static int (*__broadcast_queue_func)(cJSON *cj_data) = NULL; -static int __call_broadcast_methods(char* data); -static l_broadcast_method_t* __method_create(f_broadcast_method_t method, char* name, uint32_t retries); +static int __call_broadcast_methods(char *data); +static l_broadcast_method_t *__method_create(f_broadcast_method_t method, char *name, uint32_t retries); -void ezlopi_core_broadcast_methods_set_queue(int (*func)(cJSON*)) +void ezlopi_core_broadcast_methods_set_queue(int (*func)(cJSON *)) { __broadcast_queue_func = func; } -int ezlopi_core_broadcast_add_to_queue(cJSON* cj_data) +int ezlopi_core_broadcast_add_to_queue(cJSON *cj_data) { int ret = 0; if (cj_data && __broadcast_queue_func) @@ -40,6 +40,7 @@ int ezlopi_core_broadcast_add_to_queue(cJSON* cj_data) } return ret; } + #if 0 int ezlopi_core_broadcast_log_cjson(cJSON* cj_log_data) { @@ -65,9 +66,9 @@ int ezlopi_core_broadcast_log_cjson(cJSON* cj_log_data) return ret; } -#endif +#endif -int ezlopi_core_broadcast_cjson(cJSON* cj_data) +int ezlopi_core_broadcast_cjson(cJSON *cj_data) { int ret = 0; @@ -83,11 +84,10 @@ int ezlopi_core_broadcast_cjson(cJSON* cj_data) uint32_t buffer_len = 0; TRACE_I("%d -> -----------------------------> waiting for static buffer!", xTaskGetTickCount()); - char* data_buffer = ezlopi_core_buffer_acquire(&buffer_len, 5000); + char *data_buffer = ezlopi_core_buffer_acquire(__FUNCTION__, &buffer_len, 5000); if (data_buffer && buffer_len) { - TRACE_I("%d -> -----------------------------> buffer acquired!", xTaskGetTickCount()); memset(data_buffer, 0, buffer_len); // TRACE_D("buffer_len = [%d]", buffer_len); @@ -98,23 +98,18 @@ int ezlopi_core_broadcast_cjson(cJSON* cj_data) ret = __call_broadcast_methods(data_buffer); } - ezlopi_core_buffer_release(); - TRACE_I("%d -> -----------------------------> buffer released!", xTaskGetTickCount()); - } - else - { - TRACE_E("-----------------------------> buffer acquired failed!"); + ezlopi_core_buffer_release(__FUNCTION__); } } return ret; } -l_broadcast_method_t* ezlopi_core_broadcast_method_add(f_broadcast_method_t broadcast_method, char* method_name, uint32_t retries) +l_broadcast_method_t *ezlopi_core_broadcast_method_add(f_broadcast_method_t broadcast_method, char *method_name, uint32_t retries) { int duplicate_method = 0; - l_broadcast_method_t* ret = NULL; - l_broadcast_method_t* curr_node = __method_head; + l_broadcast_method_t *ret = NULL; + l_broadcast_method_t *curr_node = __method_head; while (curr_node) { @@ -132,7 +127,7 @@ l_broadcast_method_t* ezlopi_core_broadcast_method_add(f_broadcast_method_t broa { if (__method_head) { - l_broadcast_method_t* curr_node = __method_head; + l_broadcast_method_t *curr_node = __method_head; while (curr_node->next) { @@ -157,18 +152,18 @@ void ezlopi_core_broadcast_remove_method(f_broadcast_method_t broadcast_method) { if (broadcast_method == __method_head->func) { - l_broadcast_method_t* remove_node = __method_head; + l_broadcast_method_t *remove_node = __method_head; __method_head = __method_head->next; ezlopi_free(__FUNCTION__, remove_node); } else { - l_broadcast_method_t* curr_node = __method_head; + l_broadcast_method_t *curr_node = __method_head; while (curr_node->next) { if (curr_node->next->func == broadcast_method) { - l_broadcast_method_t* remove_node = curr_node->next; + l_broadcast_method_t *remove_node = curr_node->next; curr_node->next = curr_node->next->next; ezlopi_free(__FUNCTION__, remove_node); @@ -181,10 +176,10 @@ void ezlopi_core_broadcast_remove_method(f_broadcast_method_t broadcast_method) } } -static int __call_broadcast_methods(char* data) +static int __call_broadcast_methods(char *data) { int ret = 0; - l_broadcast_method_t* curr_method = __method_head; + l_broadcast_method_t *curr_method = __method_head; while (curr_method) { @@ -213,9 +208,9 @@ static int __call_broadcast_methods(char* data) return ret; } -static l_broadcast_method_t* __method_create(f_broadcast_method_t method, char* method_name, uint32_t retries) +static l_broadcast_method_t *__method_create(f_broadcast_method_t method, char *method_name, uint32_t retries) { - l_broadcast_method_t* method_node = NULL; + l_broadcast_method_t *method_node = NULL; if (method) { diff --git a/ezlopi-core/ezlopi-core-modes/ezlopi_core_modes.c b/ezlopi-core/ezlopi-core-modes/ezlopi_core_modes.c index fbbf7b82..739784d3 100644 --- a/ezlopi-core/ezlopi-core-modes/ezlopi_core_modes.c +++ b/ezlopi-core/ezlopi-core-modes/ezlopi_core_modes.c @@ -10,31 +10,30 @@ #include "ezlopi_service_modes.h" #include "EZLOPI_USER_CONFIG.h" - #if defined(CONFIG_EZPI_SERV_ENABLE_MODES) -static s_ezlopi_modes_t* sg_custom_modes = NULL; -static s_house_modes_t* sg_current_house_mode = NULL; +static s_ezlopi_modes_t *sg_custom_modes = NULL; +static s_house_modes_t *sg_current_house_mode = NULL; -s_ezlopi_modes_t* ezlopi_core_modes_get_custom_modes(void) +s_ezlopi_modes_t *ezlopi_core_modes_get_custom_modes(void) { return sg_custom_modes; } -int ezlopi_core_modes_set_current_house_mode(s_house_modes_t* new_house_mode) +int ezlopi_core_modes_set_current_house_mode(s_house_modes_t *new_house_mode) { sg_current_house_mode = new_house_mode; return 1; } -s_house_modes_t* ezlopi_core_modes_get_current_house_modes(void) +s_house_modes_t *ezlopi_core_modes_get_current_house_modes(void) { return sg_current_house_mode; } -s_house_modes_t* ezlopi_core_modes_get_house_mode_by_id(uint32_t house_mode_id) +s_house_modes_t *ezlopi_core_modes_get_house_mode_by_id(uint32_t house_mode_id) { - s_house_modes_t* _house_mode = NULL; + s_house_modes_t *_house_mode = NULL; if (house_mode_id == sg_custom_modes->mode_home._id) { @@ -60,9 +59,9 @@ s_house_modes_t* ezlopi_core_modes_get_house_mode_by_id(uint32_t house_mode_id) return _house_mode; } -s_house_modes_t* ezlopi_core_modes_get_house_mode_by_name(char* house_mode_name) +s_house_modes_t *ezlopi_core_modes_get_house_mode_by_name(char *house_mode_name) { - s_house_modes_t* _house_mode = NULL; + s_house_modes_t *_house_mode = NULL; if (house_mode_name) { @@ -91,22 +90,22 @@ s_house_modes_t* ezlopi_core_modes_get_house_mode_by_name(char* house_mode_name) return _house_mode; } -int ezlopi_core_modes_api_get_modes(cJSON* cj_result) +int ezlopi_core_modes_api_get_modes(cJSON *cj_result) { return ezlopi_core_modes_cjson_get_modes(cj_result); } -int ezlopi_core_modes_api_get_current_mode(cJSON* cj_result) +int ezlopi_core_modes_api_get_current_mode(cJSON *cj_result) { return ezlopi_core_modes_cjson_get_current_mode(cj_result); } -int ezlopi_core_modes_api_switch_mode(s_house_modes_t* switch_to_house_mode) +int ezlopi_core_modes_api_switch_mode(s_house_modes_t *switch_to_house_mode) { - ezlopi_service_modes_stop(); + ezlopi_service_modes_stop(5000); sg_custom_modes->switch_to_mode_id = switch_to_house_mode->_id; sg_custom_modes->time_is_left_to_switch_sec = switch_to_house_mode->switch_to_delay_sec; - ezlopi_service_modes_start(); + ezlopi_service_modes_start(5000); return 1; } @@ -116,10 +115,10 @@ int ezlopi_core_modes_api_cancel_switch(void) int ret = 0; if (sg_custom_modes) { - ezlopi_service_modes_stop(); + ezlopi_service_modes_stop(5000); sg_custom_modes->switch_to_mode_id = 0; sg_custom_modes->time_is_left_to_switch_sec = 0; - ezlopi_service_modes_start(); + ezlopi_service_modes_start(5000); ret = 1; } @@ -132,12 +131,12 @@ int ezlopi_core_modes_api_cancel_entry_delay(void) if (sg_custom_modes) { ret = 1; - ezlopi_service_modes_stop(); + ezlopi_service_modes_stop(5000); sg_custom_modes->entry_delay.short_delay_sec = 0; sg_custom_modes->entry_delay.normal_delay_sec = 0; sg_custom_modes->entry_delay.extended_delay_sec = 0; sg_custom_modes->entry_delay.instant_delay_sec = 0; - ezlopi_service_modes_start(); + ezlopi_service_modes_start(5000); } return ret; @@ -149,10 +148,10 @@ int ezlopi_core_modes_set_switch_to_delay(uint32_t switch_to_delay) if (sg_current_house_mode) { ret = 1; - ezlopi_service_modes_stop(); + ezlopi_service_modes_stop(5000); sg_current_house_mode->switch_to_delay_sec = switch_to_delay; ezlopi_core_modes_store_to_nvs(); - ezlopi_service_modes_start(); + ezlopi_service_modes_start(5000); } return ret; } @@ -163,36 +162,36 @@ int ezlopi_core_modes_set_alarm_delay(uint32_t alarm_to_delay) if (sg_current_house_mode) { ret = 1; - ezlopi_service_modes_stop(); + ezlopi_service_modes_stop(5000); sg_current_house_mode->alarm_delay_sec = alarm_to_delay; ezlopi_core_modes_store_to_nvs(); - ezlopi_service_modes_start(); + ezlopi_service_modes_start(5000); } return ret; } -int ezlopi_core_modes_set_notifications(cJSON* cj_params) +int ezlopi_core_modes_set_notifications(cJSON *cj_params) { int ret = 0; if (cj_params) { - ezlopi_service_modes_stop(); + ezlopi_service_modes_stop(5000); - ezlopi_service_modes_start(); + ezlopi_service_modes_start(5000); } return ret; } -int ezlopi_core_modes_add_alarm_off(uint8_t mode_id, cJSON* device_id) +int ezlopi_core_modes_add_alarm_off(uint8_t mode_id, cJSON *device_id) { int ret = 0; if ((EZLOPI_HOUSE_MODE_REF_ID_NONE < mode_id) && (EZLOPI_HOUSE_MODE_REF_ID_MAX > mode_id) && device_id) { - ezlopi_service_modes_stop(); - s_house_modes_t* targe_house_mode = ezlopi_core_modes_get_house_mode_by_id(mode_id); + ezlopi_service_modes_stop(5000); + s_house_modes_t *targe_house_mode = ezlopi_core_modes_get_house_mode_by_id(mode_id); if (targe_house_mode) { - cJSON* element_to_check = NULL; + cJSON *element_to_check = NULL; bool add_to_array = true; cJSON_ArrayForEach(element_to_check, targe_house_mode->cj_alarms_off_devices) { @@ -216,21 +215,21 @@ int ezlopi_core_modes_add_alarm_off(uint8_t mode_id, cJSON* device_id) } } } - ezlopi_service_modes_start(); + ezlopi_service_modes_start(5000); } return ret; } -int ezlopi_core_modes_remove_alarm_off(uint32_t mode_id, cJSON* device_id) +int ezlopi_core_modes_remove_alarm_off(uint32_t mode_id, cJSON *device_id) { int ret = 0; if ((EZLOPI_HOUSE_MODE_REF_ID_NONE < mode_id) && (EZLOPI_HOUSE_MODE_REF_ID_MAX > mode_id) && device_id) { - ezlopi_service_modes_stop(); - s_house_modes_t* targe_house_mode = ezlopi_core_modes_get_house_mode_by_id(mode_id); + ezlopi_service_modes_stop(5000); + s_house_modes_t *targe_house_mode = ezlopi_core_modes_get_house_mode_by_id(mode_id); if (targe_house_mode) { - cJSON* element_to_check = NULL; + cJSON *element_to_check = NULL; int array_index = 0; cJSON_ArrayForEach(element_to_check, targe_house_mode->cj_alarms_off_devices) { @@ -248,7 +247,7 @@ int ezlopi_core_modes_remove_alarm_off(uint32_t mode_id, cJSON* device_id) TRACE_D("Error!! when removing alarm_off"); } } - ezlopi_service_modes_start(); + ezlopi_service_modes_start(5000); } return ret; } @@ -258,8 +257,8 @@ int ezlopi_core_modes_set_protect(uint32_t mode_id, bool protect_state) int ret = 0; if (sg_custom_modes) { - ezlopi_service_modes_stop(); - s_house_modes_t* house_mode = NULL; /*0,1,2,3*/ + ezlopi_service_modes_stop(5000); + s_house_modes_t *house_mode = NULL; /*0,1,2,3*/ if (NULL != (house_mode = ezlopi_core_modes_get_house_mode_by_id(mode_id))) { house_mode->protect = protect_state; @@ -271,19 +270,18 @@ int ezlopi_core_modes_set_protect(uint32_t mode_id, bool protect_state) ret = 0; } } - ezlopi_service_modes_start(); + ezlopi_service_modes_start(5000); } return ret; } - int ezlopi_core_modes_set_entry_delay(uint32_t normal_sec, uint32_t short_sec, uint32_t extended_sec, uint32_t instant_sec) { int ret = 0; if (sg_custom_modes) { - ezlopi_service_modes_stop(); - s_ezlopi_modes_t* curr_mode = ezlopi_core_modes_get_custom_modes(); + ezlopi_service_modes_stop(5000); + s_ezlopi_modes_t *curr_mode = ezlopi_core_modes_get_custom_modes(); if (curr_mode) { curr_mode->entry_delay.normal_delay_sec = normal_sec; @@ -298,7 +296,7 @@ int ezlopi_core_modes_set_entry_delay(uint32_t normal_sec, uint32_t short_sec, u TRACE_E("Error!! , failed to set new entry_dalay"); } } - ezlopi_service_modes_start(); + ezlopi_service_modes_start(5000); } return ret; @@ -309,8 +307,8 @@ int ezlopi_core_modes_reset_entry_delay(void) int ret = 0; if (sg_custom_modes) { - ezlopi_service_modes_stop(); - s_ezlopi_modes_t * curr_mode = ezlopi_core_modes_get_custom_modes(); + ezlopi_service_modes_stop(5000); + s_ezlopi_modes_t *curr_mode = ezlopi_core_modes_get_custom_modes(); if (curr_mode) { curr_mode->entry_delay.normal_delay_sec = 30; @@ -325,21 +323,20 @@ int ezlopi_core_modes_reset_entry_delay(void) TRACE_E("Error!! , failed to set new entry_dalay"); } } - ezlopi_service_modes_start(); + ezlopi_service_modes_start(5000); } return ret; } - int ezlopi_core_modes_store_to_nvs(void) { int ret = 0; - cJSON* cj_modes = cJSON_CreateObject(__FUNCTION__); + cJSON *cj_modes = cJSON_CreateObject(__FUNCTION__); if (cj_modes) { ezlopi_core_modes_cjson_get_modes(cj_modes); - char* modes_str = cJSON_PrintBuffered(__FUNCTION__, cj_modes, 4096, false); + char *modes_str = cJSON_PrintBuffered(__FUNCTION__, cj_modes, 4096, false); TRACE_D("length of 'modes_str': %d", strlen(modes_str)); cJSON_Delete(__FUNCTION__, cj_modes); @@ -357,11 +354,11 @@ int ezlopi_core_modes_store_to_nvs(void) void ezlopi_core_modes_init(void) { uint32_t _is_custom_mode_ok = 0; - char* custom_modes_str = ezlopi_nvs_read_modes(); + char *custom_modes_str = ezlopi_nvs_read_modes(); if (custom_modes_str) { - cJSON* cj_custom_modes = cJSON_Parse(__FUNCTION__, custom_modes_str); + cJSON *cj_custom_modes = cJSON_Parse(__FUNCTION__, custom_modes_str); ezlopi_free(__FUNCTION__, custom_modes_str); CJSON_TRACE("cj_custom-modes", cj_custom_modes); diff --git a/ezlopi-services/ezlopi-service-ble/ezlopi_service_ble_provisioning.c b/ezlopi-services/ezlopi-service-ble/ezlopi_service_ble_provisioning.c index 9d291b09..5a446b44 100644 --- a/ezlopi-services/ezlopi-service-ble/ezlopi_service_ble_provisioning.c +++ b/ezlopi-services/ezlopi-service-ble/ezlopi_service_ble_provisioning.c @@ -33,21 +33,21 @@ #define CJ_GET_STRING(name) cJSON_GetStringValue(cJSON_GetObjectItem(__FUNCTION__, root, name)) #define CJ_GET_NUMBER(name) cJSON_GetNumberValue(cJSON_GetObjectItem(__FUNCTION__, root, name)) -static s_gatt_service_t* g_provisioning_service; -static s_linked_buffer_t* g_provisioning_linked_buffer = NULL; +static s_gatt_service_t *g_provisioning_service; +static s_linked_buffer_t *g_provisioning_linked_buffer = NULL; #ifdef EZPI_SERV_BLE_ENABLE_READ_PROV -static char* __provisioning_info_jsonify(void); -static char* __provisioning_info_base64(void); -static void __provisioning_info_read_func(esp_gatt_value_t* value, esp_ble_gatts_cb_param_t* param); +static char *__provisioning_info_jsonify(void); +static char *__provisioning_info_base64(void); +static void __provisioning_info_read_func(esp_gatt_value_t *value, esp_ble_gatts_cb_param_t *param); #endif // EZPI_SERV_BLE_ENABLE_READ_PROV #ifdef EZPI_SERV_BLE_ENABLE_STAT_PROV -static void __provisioning_status_read_func(esp_gatt_value_t* value, esp_ble_gatts_cb_param_t* param); +static void __provisioning_status_read_func(esp_gatt_value_t *value, esp_ble_gatts_cb_param_t *param); #endif // EZPI_SERV_BLE_ENABLE_STAT_PROV -static void __provisioning_info_write_func(esp_gatt_value_t* value, esp_ble_gatts_cb_param_t* param); -static char* __base64_decode_provisioning_info(uint32_t total_size); +static void __provisioning_info_write_func(esp_gatt_value_t *value, esp_ble_gatts_cb_param_t *param); +static char *__base64_decode_provisioning_info(uint32_t total_size); void ezlopi_ble_service_provisioning_init(void) { @@ -62,15 +62,15 @@ void ezlopi_ble_service_provisioning_init(void) uuid.uuid.uuid16 = BLE_PROVISIONING_CHAR_UUID; uuid.len = ESP_UUID_LEN_16; -#ifdef EZPI_SERV_BLE_ENABLE_READ_PROV +#ifdef EZPI_SERV_BLE_ENABLE_READ_PROV permission = ESP_GATT_PERM_WRITE | ESP_GATT_PERM_READ; properties = ESP_GATT_CHAR_PROP_BIT_WRITE | ESP_GATT_CHAR_PROP_BIT_READ | ESP_GATT_CHAR_PROP_BIT_NOTIFY | ESP_GATT_CHAR_PROP_BIT_INDICATE; ezlopi_ble_gatt_add_characteristic(g_provisioning_service, &uuid, permission, properties, __provisioning_info_read_func, __provisioning_info_write_func, NULL); // reliable-write is not implemented for now -#else // EZPI_SERV_BLE_ENABLE_READ_PROV +#else // EZPI_SERV_BLE_ENABLE_READ_PROV permission = ESP_GATT_PERM_WRITE; properties = ESP_GATT_CHAR_PROP_BIT_WRITE; ezlopi_ble_gatt_add_characteristic(g_provisioning_service, &uuid, permission, properties, NULL, __provisioning_info_write_func, NULL); // reliable-write is not implemented for now -#endif // EZPI_SERV_BLE_ENABLE_READ_PROV +#endif // EZPI_SERV_BLE_ENABLE_READ_PROV #ifdef EZPI_SERV_BLE_ENABLE_STAT_PROV uuid.uuid.uuid16 = BLE_PROVISIONING_STATUS_CHAR_UUID; @@ -82,10 +82,10 @@ void ezlopi_ble_service_provisioning_init(void) } #ifdef EZPI_SERV_BLE_ENABLE_STAT_PROV -static char* __provisioning_status_jsonify(void) +static char *__provisioning_status_jsonify(void) { - char* prov_status_jstr = NULL; - cJSON* root = cJSON_CreateObject(__FUNCTION__); + char *prov_status_jstr = NULL; + cJSON *root = cJSON_CreateObject(__FUNCTION__); if (root) { uint32_t prov_stat = ezlopi_factory_info_v3_get_provisioning_status(); @@ -113,11 +113,11 @@ static char* __provisioning_status_jsonify(void) return prov_status_jstr; } -static void __provisioning_status_read_func(esp_gatt_value_t* value, esp_ble_gatts_cb_param_t* param) +static void __provisioning_status_read_func(esp_gatt_value_t *value, esp_ble_gatts_cb_param_t *param) { if (value) { - static char* prov_status_jstr; + static char *prov_status_jstr; if (NULL == prov_status_jstr) { prov_status_jstr = __provisioning_status_jsonify(); @@ -131,7 +131,7 @@ static void __provisioning_status_read_func(esp_gatt_value_t* value, esp_ble_gat if ((0 != total_data_len) && (total_data_len > param->read.offset)) { - strncpy((char*)value->value, prov_status_jstr + param->read.offset, copy_size); + strncpy((char *)value->value, prov_status_jstr + param->read.offset, copy_size); value->len = copy_size; } else @@ -161,7 +161,7 @@ static void __provisioning_status_read_func(esp_gatt_value_t* value, esp_ble_gat #endif // EZPI_SERV_BLE_ENABLE_READ_PROV -static void __provisioning_info_write_func(esp_gatt_value_t* value, esp_ble_gatts_cb_param_t* param) +static void __provisioning_info_write_func(esp_gatt_value_t *value, esp_ble_gatts_cb_param_t *param) { // TRACE_D("Write function called!"); @@ -180,7 +180,7 @@ static void __provisioning_info_write_func(esp_gatt_value_t* value, esp_ble_gatt { if ((NULL != param->write.value) && (param->write.len > 0)) { - cJSON* root = cJSON_ParseWithLength(__FUNCTION__, (const char*)param->write.value, param->write.len); + cJSON *root = cJSON_ParseWithLength(__FUNCTION__, (const char *)param->write.value, param->write.len); if (root) { uint32_t len = CJ_GET_NUMBER(ezlopi_len_str); @@ -195,11 +195,10 @@ static void __provisioning_info_write_func(esp_gatt_value_t* value, esp_ble_gatt { if (((sequence - 1) * 400 + len) >= tot_len) { - char* decoded_data = __base64_decode_provisioning_info(tot_len); // uncommente f + char *decoded_data = __base64_decode_provisioning_info(tot_len); // uncommente f if (decoded_data) { - cJSON* cj_config = cJSON_Parse(__FUNCTION__, decoded_data); - ezlopi_core_buffer_release(); + cJSON *cj_config = cJSON_ParseWithRef(__FUNCTION__, decoded_data); if (cj_config) { @@ -208,7 +207,7 @@ static void __provisioning_info_write_func(esp_gatt_value_t* value, esp_ble_gatt if (BLE_AUTH_SUCCESS == ezlopi_ble_auth_check_user_id(user_id)) { - s_basic_factory_info_t* ezlopi_config_basic = ezlopi_malloc(__FUNCTION__, sizeof(s_basic_factory_info_t)); + s_basic_factory_info_t *ezlopi_config_basic = ezlopi_malloc(__FUNCTION__, sizeof(s_basic_factory_info_t)); if (ezlopi_config_basic) { memset(ezlopi_config_basic, 0, sizeof(s_basic_factory_info_t)); @@ -237,7 +236,6 @@ static void __provisioning_info_write_func(esp_gatt_value_t* value, esp_ble_gatt memset(provision_toke, 0, EZLOPI_FINFO_LEN_PROVISIONING_TOKEN); // memset(device_type, 0, sizeof(device_type)); - CJSON_GET_VALUE_DOUBLE(cj_config, ezlopi_serial_str, ezlopi_config_basic->id); CJSON_GET_VALUE_DOUBLE(cj_config, ezlopi_version_str, ezlopi_config_basic->config_version); @@ -253,7 +251,6 @@ static void __provisioning_info_write_func(esp_gatt_value_t* value, esp_ble_gatt CJSON_GET_VALUE_STRING_BY_COPY(cj_config, ezlopi_provision_token_str, provision_toke); // CJSON_GET_VALUE_STRING_BY_COPY(cj_config, ezlopi_device_type_ezlopi_str, device_type); - ezlopi_config_basic->device_name = device_name; ezlopi_config_basic->manufacturer = manufacturer; ezlopi_config_basic->brand = brand; @@ -266,7 +263,6 @@ static void __provisioning_info_write_func(esp_gatt_value_t* value, esp_ble_gatt ezlopi_config_basic->provision_token = provision_toke; ezlopi_config_basic->device_type = NULL; - ezlopi_factory_info_v3_set_basic(ezlopi_config_basic); uint32_t version_no = ezlopi_nvs_config_info_version_number_get() + 1; ezlopi_nvs_config_info_version_number_set(version_no); @@ -282,13 +278,12 @@ static void __provisioning_info_write_func(esp_gatt_value_t* value, esp_ble_gatt ezlopi_factory_info_v3_set_ca_cert(cJSON_GetObjectItem(__FUNCTION__, cj_config, ezlopi_signing_ca_certificate_str)); ezlopi_factory_info_v3_set_ssl_shared_key(cJSON_GetObjectItem(__FUNCTION__, cj_config, ezlopi_ssl_shared_key_str)); ezlopi_factory_info_v3_set_ssl_private_key(cJSON_GetObjectItem(__FUNCTION__, cj_config, ezlopi_ssl_private_key_str)); - } else { TRACE_E("User verification failed!"); - char* curr_user_id = ezlopi_nvs_read_user_id_str(); + char *curr_user_id = ezlopi_nvs_read_user_id_str(); if (curr_user_id) { TRACE_D("current user: %s", curr_user_id); @@ -299,7 +294,8 @@ static void __provisioning_info_write_func(esp_gatt_value_t* value, esp_ble_gatt cJSON_Delete(__FUNCTION__, cj_config); } - // ezlopi_free(__FUNCTION__, decoded_data); + ezlopi_free(__FUNCTION__, decoded_data); + decoded_data = NULL; } ezlopi_ble_buffer_free_buffer(g_provisioning_linked_buffer); @@ -312,12 +308,12 @@ static void __provisioning_info_write_func(esp_gatt_value_t* value, esp_ble_gatt } #ifdef EZPI_SERV_BLE_ENABLE_READ_PROV -static void __provisioning_info_read_func(esp_gatt_value_t* value, esp_ble_gatts_cb_param_t* param) +static void __provisioning_info_read_func(esp_gatt_value_t *value, esp_ble_gatts_cb_param_t *param) { // TRACE_D("Read function called!"); static const uint32_t _data_size = 400; - static char* g_provisioning_info_base64; + static char *g_provisioning_info_base64; static uint32_t g_provisioning_sequence_no; static time_t g_provisioning_last_read_time; static uint32_t g_provisioning_number_of_sequence; @@ -355,7 +351,7 @@ static void __provisioning_info_read_func(esp_gatt_value_t* value, esp_ble_gatts uint32_t copy_size = total_data_len - (g_provisioning_sequence_no * _data_size); copy_size = (copy_size > _data_size) ? _data_size : copy_size; - cJSON* cj_response = cJSON_CreateObject(__FUNCTION__); + cJSON *cj_response = cJSON_CreateObject(__FUNCTION__); if (cj_response) { char data_buffer[_data_size + 4]; @@ -379,9 +375,9 @@ static void __provisioning_info_read_func(esp_gatt_value_t* value, esp_ble_gatts if ((0 != total_data_len) && (total_data_len >= ((g_provisioning_sequence_no * _data_size) + copy_size))) { value->len = strlen(json_to_str_buffer); - strncpy((char*)value->value, json_to_str_buffer, value->len + 1); + strncpy((char *)value->value, json_to_str_buffer, value->len + 1); - TRACE_I("data: %s", (char*)value->value); + TRACE_I("data: %s", (char *)value->value); g_provisioning_sequence_no += 1; status = 0; @@ -451,25 +447,25 @@ static void __provisioning_info_read_func(esp_gatt_value_t* value, esp_ble_gatts #endif // EZPI_SERV_BLE_ENABLE_READ_PROV -static char* __base64_decode_provisioning_info(uint32_t total_size) +static char *__base64_decode_provisioning_info(uint32_t total_size) { - char* decoded_config_json = NULL; - char* base64_buffer = ezlopi_malloc(__FUNCTION__, total_size + 1); + char *decoded_config_json = NULL; + char *base64_buffer = ezlopi_malloc(__FUNCTION__, total_size + 1); TRACE_W("tatal data length: %d", total_size); if (base64_buffer) { uint32_t pos = 0; - s_linked_buffer_t* tmp_prov_buffer = g_provisioning_linked_buffer; + s_linked_buffer_t *tmp_prov_buffer = g_provisioning_linked_buffer; while (tmp_prov_buffer) { - cJSON* root = cJSON_ParseWithLength(__FUNCTION__, (const char*)tmp_prov_buffer->buffer, tmp_prov_buffer->len); + cJSON *root = cJSON_ParseWithLength(__FUNCTION__, (const char *)tmp_prov_buffer->buffer, tmp_prov_buffer->len); if (root) { uint32_t len = CJ_GET_NUMBER(ezlopi_len_str); - char* data = CJ_GET_STRING(ezlopi_data_str); + char *data = CJ_GET_STRING(ezlopi_data_str); if (data) { memcpy(base64_buffer + pos, data, len); @@ -491,19 +487,18 @@ static char* __base64_decode_provisioning_info(uint32_t total_size) TRACE_D("base64_buffer: %s", base64_buffer); - // decoded_config_json = ezlopi_malloc(__FUNCTION__, total_size); uint32_t buffer_len = 0; - decoded_config_json = ezlopi_core_buffer_acquire(&buffer_len, 5000); + decoded_config_json = ezlopi_malloc(__FUNCTION__, total_size); + // decoded_config_json = ezlopi_core_buffer_acquire(__FUNCTION__, &buffer_len, 5000); if (decoded_config_json) { - if (buffer_len >= total_size) + if (buffer_len >= total_size) { size_t o_len = 0; bzero(decoded_config_json, total_size); - mbedtls_base64_decode((uint8_t*)decoded_config_json, (size_t)total_size, &o_len, (uint8_t*)base64_buffer, strlen(base64_buffer)); + mbedtls_base64_decode((uint8_t *)decoded_config_json, (size_t)total_size, &o_len, (uint8_t *)base64_buffer, strlen(base64_buffer)); TRACE_D("Decoded data: %s", decoded_config_json); - } else { @@ -522,24 +517,24 @@ static char* __base64_decode_provisioning_info(uint32_t total_size) } #ifdef EZPI_SERV_BLE_ENABLE_READ_PROV -static char* __provisioning_info_jsonify(void) +static char *__provisioning_info_jsonify(void) { - char* str_json_prov_info = NULL; + char *str_json_prov_info = NULL; - cJSON* cj_prov_info = cJSON_CreateObject(__FUNCTION__); + cJSON *cj_prov_info = cJSON_CreateObject(__FUNCTION__); if (cj_prov_info) { char tmp_buffer[32]; - char* device_name = ezlopi_factory_info_v3_get_name(); - char* brand = ezlopi_factory_info_v3_get_brand(); - char* manufacturer_name = ezlopi_factory_info_v3_get_manufacturer(); - char* model_number = ezlopi_factory_info_v3_get_model(); - char* uuid = ezlopi_factory_info_v3_get_device_uuid(); - char* uuid_provisioning = ezlopi_factory_info_v3_get_provisioning_uuid(); - char* cloud_server = ezlopi_factory_info_v3_get_cloud_server(); - char* ssl_private_key = ezlopi_factory_info_v3_get_ssl_private_key(); - char* ssl_shared_key = ezlopi_factory_info_v3_get_ssl_shared_key(); - char* ca_cert = ezlopi_factory_info_v3_get_ca_certificate(); + char *device_name = ezlopi_factory_info_v3_get_name(); + char *brand = ezlopi_factory_info_v3_get_brand(); + char *manufacturer_name = ezlopi_factory_info_v3_get_manufacturer(); + char *model_number = ezlopi_factory_info_v3_get_model(); + char *uuid = ezlopi_factory_info_v3_get_device_uuid(); + char *uuid_provisioning = ezlopi_factory_info_v3_get_provisioning_uuid(); + char *cloud_server = ezlopi_factory_info_v3_get_cloud_server(); + char *ssl_private_key = ezlopi_factory_info_v3_get_ssl_private_key(); + char *ssl_shared_key = ezlopi_factory_info_v3_get_ssl_shared_key(); + char *ca_cert = ezlopi_factory_info_v3_get_ca_certificate(); snprintf(tmp_buffer, sizeof(tmp_buffer), "%08x", ezlopi_nvs_config_info_version_number_get()); cJSON_AddStringToObject(__FUNCTION__, cj_prov_info, ezlopi_config_id_str, tmp_buffer); @@ -575,11 +570,10 @@ static char* __provisioning_info_jsonify(void) return str_json_prov_info; } - -static char* __provisioning_info_base64(void) +static char *__provisioning_info_base64(void) { - char* base64_data = NULL; - char* str_provisioning_data = __provisioning_info_jsonify(); + char *base64_data = NULL; + char *str_provisioning_data = __provisioning_info_jsonify(); if (str_provisioning_data) { @@ -591,8 +585,8 @@ static char* __provisioning_info_base64(void) uint32_t out_put_len = 0; TRACE_D("str_provisioning_data[len: %d]: %s", strlen(str_provisioning_data), str_provisioning_data); - int ret = mbedtls_base64_encode((unsigned char*)base64_data, base64_data_len, &out_put_len, - (const unsigned char*)str_provisioning_data, strlen(str_provisioning_data)); + int ret = mbedtls_base64_encode((unsigned char *)base64_data, base64_data_len, &out_put_len, + (const unsigned char *)str_provisioning_data, strlen(str_provisioning_data)); if (0 == out_put_len) { diff --git a/ezlopi-services/ezlopi-service-modes/ezlopi_service_modes.c b/ezlopi-services/ezlopi-service-modes/ezlopi_service_modes.c index 415e7b38..3f703201 100644 --- a/ezlopi-services/ezlopi-service-modes/ezlopi_service_modes.c +++ b/ezlopi-services/ezlopi-service-modes/ezlopi_service_modes.c @@ -13,14 +13,109 @@ #include "ezlopi_core_modes_cjson.h" #include "ezlopi_core_cjson_macros.h" +#include "ezlopi_service_loop.h" #include "ezlopi_service_modes.h" // #include "ezlopi_service_webprov.h" #if defined(CONFIG_EZPI_SERV_ENABLE_MODES) -static TaskHandle_t sg_process_handle = NULL; +static SemaphoreHandle_t sg_modes_loop_smphr = NULL; + +static void __modes_loop(void *pv); +// static void __modes_service(void *pv); + +bool ezlopi_service_modes_stop(uint32_t wait_ms) +{ + bool ret = false; + uint32_t start_tick = xTaskGetTickCount() / portTICK_PERIOD_MS; + + if (sg_modes_loop_smphr && (xSemaphoreTake(sg_modes_loop_smphr, wait_ms / portTICK_RATE_MS))) + { + ezlopi_service_loop_remove(__modes_loop); + xSemaphoreGive(sg_modes_loop_smphr); + TRACE_W("removed modes-loop"); + ret = true; + } + + return ret; +} + +bool ezlopi_service_modes_start(uint32_t wait_ms) +{ + bool ret = false; + + if (ezlopi_core_modes_get_custom_modes() && xSemaphoreTake(sg_modes_loop_smphr, wait_ms / portTICK_RATE_MS)) + { + ret = true; + xSemaphoreGive(sg_modes_loop_smphr); + ezlopi_service_loop_add("modes-loop", __modes_loop, 1000, NULL); + TRACE_I("added modes-loop"); + } + + return ret; +} + +void ezlopi_service_modes_init(void) +{ + sg_modes_loop_smphr = xSemaphoreCreateBinary(); + xSemaphoreGive(sg_modes_loop_smphr); + ezlopi_service_modes_start(5000); +} + +static void __modes_loop(void *arg) +{ + if (pdTRUE == xSemaphoreTake(sg_modes_loop_smphr, 1000 / portTICK_PERIOD_MS)) + { + s_ezlopi_modes_t *ez_mode = ezlopi_core_modes_get_custom_modes(); + + if (ez_mode) + { + if (ez_mode->switch_to_mode_id) + { + if (ez_mode->time_is_left_to_switch_sec) + { + ez_mode->time_is_left_to_switch_sec--; + TRACE_D("time_is_left_to_switch_sec: %u", ez_mode->time_is_left_to_switch_sec); + } + else + { + s_house_modes_t *new_house_mode = ezlopi_core_modes_get_house_mode_by_id(ez_mode->switch_to_mode_id); -static void __modes_service(void* pv); + if (new_house_mode) + { + TRACE_I("switching-to-mode: %s (id: %u)", new_house_mode->name, new_house_mode->_id); + + ez_mode->current_mode_id = ez_mode->switch_to_mode_id; + ez_mode->switch_to_mode_id = 0; + + ezlopi_core_modes_set_current_house_mode(new_house_mode); + + if (new_house_mode->cj_bypass_devices) + { + cJSON_Delete(__FUNCTION__, new_house_mode->cj_bypass_devices); + new_house_mode->cj_bypass_devices = NULL; + } + + ezlopi_core_modes_store_to_nvs(); + + cJSON *cj_update = ezlopi_core_modes_cjson_changed(); + CJSON_TRACE("----------------- broadcasting - cj_update", cj_update); + + if (0 == ezlopi_core_broadcast_add_to_queue(cj_update)) + { + cJSON_Delete(__FUNCTION__, cj_update); + } + } + } + } + } + + xSemaphoreGive(sg_modes_loop_smphr); + } +} + +#if 0 +static TaskHandle_t sg_process_handle = NULL; int ezlopi_service_modes_stop(void) { @@ -35,7 +130,7 @@ int ezlopi_service_modes_stop(void) return 1; } -int ezlopi_service_modes_start(void) +int ezlopi_service_modes_start(5000void) { int ret = 0; @@ -50,16 +145,11 @@ int ezlopi_service_modes_start(void) return ret; } -void ezlopi_service_modes_init(void) -{ - ezlopi_service_modes_start(); -} - -static void __modes_service(void* pv) +static void __modes_service(void *pv) { while (1) { - s_ezlopi_modes_t* ez_mode = ezlopi_core_modes_get_custom_modes(); + s_ezlopi_modes_t *ez_mode = ezlopi_core_modes_get_custom_modes(); if (ez_mode) { if (ez_mode->switch_to_mode_id) @@ -71,7 +161,7 @@ static void __modes_service(void* pv) } else { - s_house_modes_t* new_house_mode = ezlopi_core_modes_get_house_mode_by_id(ez_mode->switch_to_mode_id); + s_house_modes_t *new_house_mode = ezlopi_core_modes_get_house_mode_by_id(ez_mode->switch_to_mode_id); if (new_house_mode) { @@ -90,7 +180,7 @@ static void __modes_service(void* pv) ezlopi_core_modes_store_to_nvs(); - cJSON* cj_update = ezlopi_core_modes_cjson_changed(); + cJSON *cj_update = ezlopi_core_modes_cjson_changed(); CJSON_TRACE("----------------- broadcasting - cj_update", cj_update); if (0 == ezlopi_core_broadcast_add_to_queue(cj_update)) @@ -107,4 +197,6 @@ static void __modes_service(void* pv) ezlopi_core_process_set_is_deleted(ENUM_EZLOPI_SERVICE_MODES_TASK); vTaskDelete(NULL); } +#endif + #endif // CONFIG_EZPI_SERV_ENABLE_MODES diff --git a/ezlopi-services/ezlopi-service-modes/ezlopi_service_modes.h b/ezlopi-services/ezlopi-service-modes/ezlopi_service_modes.h index c40128ba..b16c1bf7 100644 --- a/ezlopi-services/ezlopi-service-modes/ezlopi_service_modes.h +++ b/ezlopi-services/ezlopi-service-modes/ezlopi_service_modes.h @@ -3,7 +3,7 @@ void ezlopi_service_modes_init(void); -int ezlopi_service_modes_stop(void); -int ezlopi_service_modes_start(void); +bool ezlopi_service_modes_stop(uint32_t wait_ms); +bool ezlopi_service_modes_start(uint32_t wait_ms); #endif // __EZLOPI_SERVICE_MODES_H__ diff --git a/ezlopi-services/ezlopi-service-webprov/ezlopi_service_webprov.c b/ezlopi-services/ezlopi-service-webprov/ezlopi_service_webprov.c index b73ac677..d81633b8 100644 --- a/ezlopi-services/ezlopi-service-webprov/ezlopi_service_webprov.c +++ b/ezlopi-services/ezlopi-service-webprov/ezlopi_service_webprov.c @@ -2,7 +2,6 @@ #include "../../build/config/sdkconfig.h" #include "EZLOPI_USER_CONFIG.h" - #include #include #include @@ -30,7 +29,7 @@ #include "ezlopi_service_webprov.h" -#ifndef EZPI_CORE_WSS_USE_WSC_LIB +#if (1 == EZPI_CORE_WSS_USE_WSC_LIB) #include "ezlopi_core_wsc.h" #endif // EZPI_CORE_WSS_USE_WSC_LIB @@ -40,30 +39,29 @@ #include "ezlopi_test_prov.h" #endif - #if defined(CONFIG_EZPI_WEBSOCKET_CLIENT) static uint32_t message_counter = 0; static xTaskHandle _task_handle = NULL; #if (1 == EZPI_CORE_WSS_USE_WSC_LIB) -static s_ssl_websocket_t * __wsc_ssl = NULL; +static s_ssl_websocket_t *__wsc_ssl = NULL; #endif // EZPI_CORE_WSS_USE_WSC_LIB static QueueHandle_t _wss_message_queue = NULL; static TaskHandle_t __web_socket_initialize_handler = NULL; -static int __provision_update(char* arg); +static int __provision_update(char *arg); -static void __provision_check(void* pv); -static void __fetch_wss_endpoint(void* pv); +static void __provision_check(void *pv); +static void __fetch_wss_endpoint(void *pv); static void __connection_upcall(bool connected); -static void __message_upcall(const char* payload, uint32_t len); -static void __message_process(const char * payload, uint32_t len); +static void __message_upcall(const char *payload, uint32_t len); +static void __message_process(const char *payload, uint32_t len); -static int __send_str_data_to_nma_websocket(char* str_data); -static int __send_cjson_data_to_nma_websocket(cJSON* cj_data); +static int __send_str_data_to_nma_websocket(char *str_data); +static int __send_cjson_data_to_nma_websocket(cJSON *cj_data); uint32_t ezlopi_service_web_provisioning_get_message_count(void) { @@ -121,12 +119,12 @@ static void __connection_upcall(bool connected) } } -static void __fetch_wss_endpoint(void* pv) +static void __fetch_wss_endpoint(void *pv) { - char* cloud_server = ezlopi_factory_info_v3_get_cloud_server(); - char* ca_certificate = ezlopi_factory_info_v3_get_ca_certificate(); - char* ssl_shared_key = ezlopi_factory_info_v3_get_ssl_shared_key(); - char* ssl_private_key = ezlopi_factory_info_v3_get_ssl_private_key(); + char *cloud_server = ezlopi_factory_info_v3_get_cloud_server(); + char *ca_certificate = ezlopi_factory_info_v3_get_ca_certificate(); + char *ssl_shared_key = ezlopi_factory_info_v3_get_ssl_shared_key(); + char *ssl_private_key = ezlopi_factory_info_v3_get_ssl_private_key(); ezlopi_wait_for_wifi_to_connect(portMAX_DELAY); vTaskDelay(2); @@ -141,7 +139,7 @@ static void __fetch_wss_endpoint(void* pv) snprintf(http_request, sizeof(http_request), "%s?json=true", cloud_server); TRACE_D("http_request: %s", http_request); - s_ezlopi_http_data_t * ws_endpoint = ezlopi_http_get_request(http_request, ssl_private_key, ssl_shared_key, ca_certificate); + s_ezlopi_http_data_t *ws_endpoint = ezlopi_http_get_request(http_request, ssl_private_key, ssl_shared_key, ca_certificate); // s_ezlopi_http_data_t * ws_endpoint = ezlopi_http_get_request(http_request, NULL, NULL, NULL); if (ws_endpoint) @@ -149,17 +147,17 @@ static void __fetch_wss_endpoint(void* pv) if (ws_endpoint->response) { TRACE_D("ws_endpoint: %s", ws_endpoint->response); // {"uri": "wss://endpoint:port"} - cJSON* root = cJSON_Parse(__FUNCTION__, ws_endpoint->response); + cJSON *root = cJSON_Parse(__FUNCTION__, ws_endpoint->response); if (root) { - cJSON* cjson_uri = cJSON_GetObjectItem(__FUNCTION__, root, "uri"); + cJSON *cjson_uri = cJSON_GetObjectItem(__FUNCTION__, root, "uri"); if (cjson_uri) { TRACE_D("uri: %s", cjson_uri->valuestring ? cjson_uri->valuestring : "NULL"); ezlopi_core_broadcast_method_add(__send_str_data_to_nma_websocket, "nma-websocket", 4); #if (1 == EZPI_CORE_WSS_USE_WSC_LIB) __wsc_ssl = ezlopi_core_wsc_init(cjson_uri, __message_upcall, __connection_upcall); -#else // EZPI_CORE_WSS_USE_WSC_LIB +#else // EZPI_CORE_WSS_USE_WSC_LIB ezlopi_websocket_client_init(cjson_uri, __message_upcall, __connection_upcall); #endif // EZPI_CORE_WSS_USE_WSC_LIB task_complete = 1; @@ -178,7 +176,7 @@ static void __fetch_wss_endpoint(void* pv) { while (_wss_message_queue) { - char * payload = NULL; + char *payload = NULL; xQueueReceive(_wss_message_queue, &payload, 100 / portTICK_RATE_MS); if (payload) @@ -200,11 +198,11 @@ static void __fetch_wss_endpoint(void* pv) vTaskDelete(NULL); } -static void __message_process(const char * payload, uint32_t len) +static void __message_process(const char *payload, uint32_t len) { if (payload && len) { - cJSON* cj_response = ezlopi_core_api_consume(__FUNCTION__, payload, len); + cJSON *cj_response = ezlopi_core_api_consume(__FUNCTION__, payload, len); if (cj_response) { cJSON_AddNumberToObject(__FUNCTION__, cj_response, ezlopi_msg_id_str, message_counter); @@ -217,19 +215,18 @@ static void __message_process(const char * payload, uint32_t len) TRACE_W("no response!"); } } - } -static void __message_upcall(const char* payload, uint32_t len) +static void __message_upcall(const char *payload, uint32_t len) { if (_wss_message_queue) { - char * payload_copy = ezlopi_malloc(__FUNCTION__, len + 1); + char *payload_copy = ezlopi_malloc(__FUNCTION__, len + 1); if (payload_copy) { if (pdTRUE == xQueueIsQueueFullFromISR(_wss_message_queue)) { - char * stale_data = NULL; + char *stale_data = NULL; int ret = xQueueReceive(_wss_message_queue, &stale_data, 5); if (pdTRUE == ret && stale_data) { @@ -252,18 +249,17 @@ static void __message_upcall(const char* payload, uint32_t len) } } -static int __send_cjson_data_to_nma_websocket(cJSON* cj_data) +static int __send_cjson_data_to_nma_websocket(cJSON *cj_data) { int ret = 0; if (cj_data) { uint32_t buffer_len = 0; - char* data_buffer = ezlopi_core_buffer_acquire(&buffer_len, 5000); + char *data_buffer = ezlopi_core_buffer_acquire(__FUNCTION__, &buffer_len, 5000); if (data_buffer && buffer_len) { - TRACE_I("-----------------------------> buffer acquired!"); memset(data_buffer, 0, buffer_len); if (true == cJSON_PrintPreallocated(__FUNCTION__, cj_data, data_buffer, buffer_len, false)) @@ -276,25 +272,20 @@ static int __send_cjson_data_to_nma_websocket(cJSON* cj_data) TRACE_E("FAILED!"); } - ezlopi_core_buffer_release(); - TRACE_I("-----------------------------> buffer released!"); - } - else - { - TRACE_E("-----------------------------> buffer acquired failed!"); + ezlopi_core_buffer_release(__FUNCTION__); } } return ret; } -static int __send_str_data_to_nma_websocket(char* str_data) +static int __send_str_data_to_nma_websocket(char *str_data) { int ret = 0; #if (1 == EZPI_CORE_WSS_USE_WSC_LIB) if (str_data && ezlopi_core_wsc_is_connected(__wsc_ssl)) -#else // EZPI_CORE_WSS_USE_WSC_LIB +#else // EZPI_CORE_WSS_USE_WSC_LIB if (str_data && ezlopi_websocket_client_is_connected()) #endif // EZPI_CORE_WSS_USE_WSC_LIB { @@ -303,7 +294,7 @@ static int __send_str_data_to_nma_websocket(char* str_data) { #if (1 == EZPI_CORE_WSS_USE_WSC_LIB) if (ezlopi_core_wsc_send(__wsc_ssl, str_data, strlen(str_data)) > 0) -#else // EZPI_CORE_WSS_USE_WSC_LIB +#else // EZPI_CORE_WSS_USE_WSC_LIB if (ezlopi_websocket_client_send(str_data, strlen(str_data))) #endif // EZPI_CORE_WSS_USE_WSC_LIB { @@ -328,25 +319,25 @@ static int __send_str_data_to_nma_websocket(char* str_data) return ret; } -static void __provision_check(void* pv) +static void __provision_check(void *pv) { uint8_t flag_break_loop = 0; static uint8_t retry_count = 0; static uint8_t retry_count_failure = 0; #if (1 == TEST_PROV) - char* ca_certificate = test_ca_cert; + char *ca_certificate = test_ca_cert; char *ssl_private_key = test_ssl_pvt_key; char *ssl_shared_key = test_ssl_shared_key; - char* provision_token = test_prov_token; + char *provision_token = test_prov_token; // char* provisioning_server = ezlopi_factory_info_v3_get_provisioning_server(); uint16_t config_version = test_version_num; #else char *ssl_private_key = ezlopi_factory_info_v3_get_ssl_private_key(); char *ssl_shared_key = ezlopi_factory_info_v3_get_ssl_shared_key(); - char* ca_certificate = ezlopi_factory_info_v3_get_ca_certificate(); - char* provision_token = ezlopi_factory_info_get_v3_provision_token(); + char *ca_certificate = ezlopi_factory_info_v3_get_ca_certificate(); + char *provision_token = ezlopi_factory_info_get_v3_provision_token(); // char* provisioning_server = ezlopi_factory_info_v3_get_provisioning_server(); uint16_t config_version = ezlopi_factory_info_v3_get_config_version(); #endif @@ -363,7 +354,7 @@ static void __provision_check(void* pv) #endif ezlopi_wait_for_wifi_to_connect(portMAX_DELAY); - s_ezlopi_http_data_t* response = ezlopi_http_get_request(http_request_location, NULL, NULL, NULL); + s_ezlopi_http_data_t *response = ezlopi_http_get_request(http_request_location, NULL, NULL, NULL); // s_ezlopi_http_data_t* response = ezlopi_http_get_request(http_request_location, ssl_private_key, ssl_shared_key, ca_certificate); if (NULL != response) @@ -447,15 +438,15 @@ static void __provision_check(void* pv) vTaskDelete(NULL); } -static int __provision_update(char* arg) +static int __provision_update(char *arg) { int ret = 0; - cJSON* cj_root_prov_data = cJSON_Parse(__FUNCTION__, arg); + cJSON *cj_root_prov_data = cJSON_Parse(__FUNCTION__, arg); if (NULL != cj_root_prov_data) { - cJSON * cj_root_data = cJSON_GetObjectItem(__FUNCTION__, cj_root_prov_data, ezlopi_data_str); - cJSON * cj_error_code = cJSON_GetObjectItem(__FUNCTION__, cj_root_prov_data, "error_code"); + cJSON *cj_root_data = cJSON_GetObjectItem(__FUNCTION__, cj_root_prov_data, ezlopi_data_str); + cJSON *cj_error_code = cJSON_GetObjectItem(__FUNCTION__, cj_root_prov_data, "error_code"); if (NULL != cj_root_data) { @@ -521,25 +512,25 @@ static int __provision_update(char* arg) TRACE_E("Error updating basic config"); } - cJSON * cj_ssl_private_key = cJSON_GetObjectItem(__FUNCTION__, cj_root_data, ezlopi_ssl_private_key_str); + cJSON *cj_ssl_private_key = cJSON_GetObjectItem(__FUNCTION__, cj_root_data, ezlopi_ssl_private_key_str); if (cj_ssl_private_key && cj_ssl_private_key->valuestring && cj_ssl_private_key->str_value_len) { ezlopi_factory_info_v3_set_ssl_private_key(cj_ssl_private_key); } - cJSON * cj_ssl_public_key = cJSON_GetObjectItem(__FUNCTION__, cj_root_data, ezlopi_ssl_public_key_str); + cJSON *cj_ssl_public_key = cJSON_GetObjectItem(__FUNCTION__, cj_root_data, ezlopi_ssl_public_key_str); if (cj_ssl_public_key && cj_ssl_public_key->valuestring && cj_ssl_public_key->str_value_len) { ezlopi_factory_info_v3_set_ssl_public_key(cj_ssl_public_key); } - cJSON * cj_ssl_shared_key = cJSON_GetObjectItem(__FUNCTION__, cj_root_data, ezlopi_ssl_shared_key_str); + cJSON *cj_ssl_shared_key = cJSON_GetObjectItem(__FUNCTION__, cj_root_data, ezlopi_ssl_shared_key_str); if (cj_ssl_shared_key && cj_ssl_shared_key->valuestring && cj_ssl_shared_key->str_value_len) { ezlopi_factory_info_v3_set_ssl_shared_key(cj_ssl_shared_key); } - cJSON * cj_ca_certificate = cJSON_GetObjectItem(__FUNCTION__, cj_root_data, ezlopi_signing_ca_certificate_str); + cJSON *cj_ca_certificate = cJSON_GetObjectItem(__FUNCTION__, cj_root_data, ezlopi_signing_ca_certificate_str); if (cj_ca_certificate && cj_ca_certificate->valuestring && cj_ca_certificate->str_value_len) { ezlopi_factory_info_v3_set_ca_cert(cj_ca_certificate); @@ -566,4 +557,3 @@ static int __provision_update(char* arg) return ret; } #endif // CONFIG_EZPI_WEBSOCKET_CLIENT - diff --git a/ezlopi-services/ezlopi-service-ws-server/ezlopi_service_ws_server.c b/ezlopi-services/ezlopi-service-ws-server/ezlopi_service_ws_server.c index 1cb0d9c0..beb3acf3 100644 --- a/ezlopi-services/ezlopi-service-ws-server/ezlopi_service_ws_server.c +++ b/ezlopi-services/ezlopi-service-ws-server/ezlopi_service_ws_server.c @@ -7,11 +7,9 @@ CONDITIONS OF ANY KIND, either express or implied. */ - #include "../../build/config/sdkconfig.h" - -#if defined (CONFIG_ETH_USE_ESP32_EMAC) +#if defined(CONFIG_ETH_USE_ESP32_EMAC) #include "esp_eth.h" #endif @@ -42,7 +40,6 @@ #include "EZLOPI_USER_CONFIG.h" - typedef struct s_async_resp_arg { int fd; @@ -54,18 +51,18 @@ static httpd_handle_t __ws_handle = NULL; static SemaphoreHandle_t __send_lock = NULL; static volatile e_ws_status_t __ws_status = WS_STATUS_STOPPED; -///////// Static Functions Definations +///////// Static Functions Definations static void __stop_server(void); static void __start_server(void); -static void __wifi_connection_event(esp_event_base_t event, int32_t event_id, void* arg); +static void __wifi_connection_event(esp_event_base_t event, int32_t event_id, void *arg); -static void __ws_async_send(void* arg); -static esp_err_t __trigger_async_send(httpd_req_t* req); -static int __respond_cjson(httpd_req_t* req, cJSON* cj_response); -static int __ws_server_send(l_ws_server_client_conn_t* client, char* data, uint32_t len); +static void __ws_async_send(void *arg); +static esp_err_t __trigger_async_send(httpd_req_t *req); +static int __respond_cjson(httpd_req_t *req, cJSON *cj_response); +static int __ws_server_send(l_ws_server_client_conn_t *client, char *data, uint32_t len); -static esp_err_t __msg_handler(httpd_req_t* req); -static int __ws_server_broadcast(char* data); +static esp_err_t __msg_handler(httpd_req_t *req); +static int __ws_server_broadcast(char *data); e_ws_status_t ezlopi_service_ws_server_status(void) { @@ -117,8 +114,8 @@ void ezlopi_service_ws_server_stop(void) } } -///////// Static Functions Definations -static int __ws_server_broadcast(char* data) +///////// Static Functions Definations +static int __ws_server_broadcast(char *data) { int ret = 0; if (__send_lock && pdTRUE == xSemaphoreTake(__send_lock, 0)) @@ -148,9 +145,9 @@ static int __ws_server_broadcast(char* data) return ret; } -static void __message_upcall(httpd_req_t* req, const char* payload, uint32_t payload_len) +static void __message_upcall(httpd_req_t *req, const char *payload, uint32_t payload_len) { - cJSON* cj_response = ezlopi_core_api_consume(__FUNCTION__, payload, payload_len); + cJSON *cj_response = ezlopi_core_api_consume(__FUNCTION__, payload, payload_len); if (cj_response) { cJSON_AddNumberToObject(__FUNCTION__, cj_response, ezlopi_msg_id_str, __message_counter); @@ -159,11 +156,11 @@ static void __message_upcall(httpd_req_t* req, const char* payload, uint32_t pay } } -static void __ws_async_send(void* arg) +static void __ws_async_send(void *arg) { #if 1 // def CONFIG_EZPI_LOCAL_WEBSOCKET_SERVER - static const char* data = "Async data"; - s_async_resp_arg_t* resp_arg = (s_async_resp_arg_t*)arg; + static const char *data = "Async data"; + s_async_resp_arg_t *resp_arg = (s_async_resp_arg_t *)arg; if (resp_arg) { @@ -173,7 +170,7 @@ static void __ws_async_send(void* arg) memset(&ws_pkt, 0, sizeof(httpd_ws_frame_t)); ws_pkt.len = strlen(data); - ws_pkt.payload = (uint8_t*)data; + ws_pkt.payload = (uint8_t *)data; ws_pkt.type = HTTPD_WS_TYPE_TEXT; httpd_ws_send_frame_async(resp_arg->hd, resp_arg->fd, &ws_pkt); @@ -184,14 +181,14 @@ static void __ws_async_send(void* arg) #endif // CONFIG_EZPI_LOCAL_WEBSOCKET_SERVER } -static esp_err_t __trigger_async_send(httpd_req_t* req) +static esp_err_t __trigger_async_send(httpd_req_t *req) { esp_err_t ret = ESP_OK; - s_async_resp_arg_t* resp_arg = ezlopi_malloc(__FUNCTION__, sizeof(s_async_resp_arg_t)); + s_async_resp_arg_t *resp_arg = ezlopi_malloc(__FUNCTION__, sizeof(s_async_resp_arg_t)); if (resp_arg) { - #warning "resp_arg needs to find out wether 'resp_arg' is freed or not"; +#warning "resp_arg needs to find out wether 'resp_arg' is freed or not"; resp_arg->hd = req->handle; resp_arg->fd = httpd_req_to_sockfd(req); @@ -201,10 +198,10 @@ static esp_err_t __trigger_async_send(httpd_req_t* req) return ret; } -static esp_err_t __msg_handler(httpd_req_t* req) +static esp_err_t __msg_handler(httpd_req_t *req) { esp_err_t ret = ESP_FAIL; -#if 1 //def CONFIG_EZPI_LOCAL_WEBSOCKET_SERVER +#if 1 // def CONFIG_EZPI_LOCAL_WEBSOCKET_SERVER if (__send_lock && (pdTRUE == xSemaphoreTake(__send_lock, 5000 / portTICK_RATE_MS))) { @@ -213,12 +210,12 @@ static esp_err_t __msg_handler(httpd_req_t* req) if (req->method == HTTP_GET) { TRACE_I("Handshake done, the new connection was opened, id: %p", req); - ezlopi_service_ws_server_clients_add((void*)req->handle, httpd_req_to_sockfd(req)); + ezlopi_service_ws_server_clients_add((void *)req->handle, httpd_req_to_sockfd(req)); ret = ESP_OK; } else { - uint8_t* buf = NULL; + uint8_t *buf = NULL; httpd_ws_frame_t ws_pkt; memset(&ws_pkt, 0, sizeof(httpd_ws_frame_t)); @@ -249,14 +246,14 @@ static esp_err_t __msg_handler(httpd_req_t* req) { TRACE_D("Packet type: %d", ws_pkt.type); - if ((HTTPD_WS_TYPE_TEXT == ws_pkt.type) && (0 == strcmp((char*)ws_pkt.payload, "Trigger async"))) + if ((HTTPD_WS_TYPE_TEXT == ws_pkt.type) && (0 == strcmp((char *)ws_pkt.payload, "Trigger async"))) { TRACE_E("ASYNC"); ret = __trigger_async_send(req); } else if (HTTPD_WS_TYPE_TEXT == ws_pkt.type) { - __message_upcall(req, (char*)ws_pkt.payload, (uint32_t)ws_pkt.len); + __message_upcall(req, (char *)ws_pkt.payload, (uint32_t)ws_pkt.len); } else if (HTTPD_WS_TYPE_CLOSE == ws_pkt.type) { @@ -307,7 +304,7 @@ static esp_err_t __msg_handler(httpd_req_t* req) static void __start_server(void) { -#if 1//def CONFIG_EZPI_LOCAL_WEBSOCKET_SERVER +#if 1 // def CONFIG_EZPI_LOCAL_WEBSOCKET_SERVER __ws_status = WS_STATUS_STARTED; static const httpd_uri_t ws = { @@ -355,18 +352,17 @@ static void __stop_server(void) } } -static int __respond_cjson(httpd_req_t* req, cJSON* cj_response) +static int __respond_cjson(httpd_req_t *req, cJSON *cj_response) { int ret = 0; #ifdef CONFIG_EZPI_LOCAL_WEBSOCKET_SERVER if (req && cj_response) { uint32_t buffer_len = 0; - char* data_buffer = ezlopi_core_buffer_acquire(&buffer_len, 5000); + char *data_buffer = ezlopi_core_buffer_acquire(__FUNCTION__, &buffer_len, 5000); if (data_buffer && buffer_len) { - TRACE_I("WSL-----------------------------> buffer acquired!"); memset(data_buffer, 0, buffer_len); if (cJSON_PrintPreallocated(__FUNCTION__, cj_response, data_buffer, buffer_len, false)) @@ -375,7 +371,7 @@ static int __respond_cjson(httpd_req_t* req, cJSON* cj_response) .final = false, .fragmented = false, .len = strlen(data_buffer), - .payload = (uint8_t*)data_buffer, + .payload = (uint8_t *)data_buffer, .type = HTTPD_WS_TYPE_TEXT, }; @@ -392,19 +388,14 @@ static int __respond_cjson(httpd_req_t* req, cJSON* cj_response) } } - ezlopi_core_buffer_release(); - TRACE_I("WSL: -----------------------------> buffer released!"); - } - else - { - TRACE_E("WSL: -----------------------------> buffer acquired failed!"); + ezlopi_core_buffer_release(__FUNCTION__); } } #endif // CONFIG_EZPI_LOCAL_WEBSOCKET_SERVER return ret; } -static int __ws_server_send(l_ws_server_client_conn_t* client, char* data, uint32_t len) +static int __ws_server_send(l_ws_server_client_conn_t *client, char *data, uint32_t len) { int ret = 0; #ifdef CONFIG_EZPI_LOCAL_WEBSOCKET_SERVER @@ -414,7 +405,7 @@ static int __ws_server_send(l_ws_server_client_conn_t* client, char* data, uint3 memset(&frm_pkt, 0, sizeof(httpd_ws_frame_t)); frm_pkt.len = strlen(data); - frm_pkt.payload = (uint8_t*)data; + frm_pkt.payload = (uint8_t *)data; frm_pkt.type = HTTPD_WS_TYPE_TEXT; // TRACE_D("client-handle: %p", client->http_handle); @@ -447,7 +438,7 @@ static int __ws_server_send(l_ws_server_client_conn_t* client, char* data, uint3 return ret; } -static void __wifi_connection_event(esp_event_base_t event_base, int32_t event_id, void* arg) +static void __wifi_connection_event(esp_event_base_t event_base, int32_t event_id, void *arg) { TRACE_D("event-base: %d, event-id: %d", (uint32_t)event_base, event_id); @@ -480,4 +471,3 @@ void ezlpi_service_ws_server_dummy(void) } ///////// Global Functions Definations - diff --git a/flash_ez_config.sh b/flash_ez_config.sh new file mode 100644 index 00000000..030110fd --- /dev/null +++ b/flash_ez_config.sh @@ -0,0 +1 @@ +esptool.py -p /dev/ttyUSB0 write_flash 0x19000 ./ezlopi_config.bin \ No newline at end of file diff --git a/sdkconfig copy b/sdkconfig copy new file mode 100644 index 00000000..52d9080f --- /dev/null +++ b/sdkconfig copy @@ -0,0 +1,1881 @@ +# +# Automatically generated file. DO NOT EDIT. +# Espressif IoT Development Framework (ESP-IDF) Project Configuration +# +CONFIG_IDF_CMAKE=y +CONFIG_IDF_TARGET_ARCH_XTENSA=y +CONFIG_IDF_TARGET="esp32" +CONFIG_IDF_TARGET_ESP32=y +CONFIG_IDF_FIRMWARE_CHIP_ID=0x0000 + +# +# SDK tool configuration +# +CONFIG_SDK_TOOLPREFIX="xtensa-esp32s3-elf-" +# CONFIG_SDK_TOOLCHAIN_SUPPORTS_TIME_WIDE_64_BITS is not set +# end of SDK tool configuration + +# +# Build type +# +CONFIG_APP_BUILD_TYPE_APP_2NDBOOT=y +# CONFIG_APP_BUILD_TYPE_ELF_RAM is not set +CONFIG_APP_BUILD_GENERATE_BINARIES=y +CONFIG_APP_BUILD_BOOTLOADER=y +CONFIG_APP_BUILD_USE_FLASH_SECTIONS=y +# end of Build type + +# +# Application manager +# +CONFIG_APP_COMPILE_TIME_DATE=y +# CONFIG_APP_EXCLUDE_PROJECT_VER_VAR is not set +# CONFIG_APP_EXCLUDE_PROJECT_NAME_VAR is not set +# CONFIG_APP_PROJECT_VER_FROM_CONFIG is not set +CONFIG_APP_RETRIEVE_LEN_ELF_SHA=16 +# end of Application manager + +# +# Bootloader config +# +CONFIG_BOOTLOADER_OFFSET_IN_FLASH=0x1000 +# CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE is not set +CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_DEBUG=y +# CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_PERF is not set +# CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_NONE is not set +CONFIG_BOOTLOADER_LOG_LEVEL_NONE=y +# CONFIG_BOOTLOADER_LOG_LEVEL_ERROR is not set +# CONFIG_BOOTLOADER_LOG_LEVEL_WARN is not set +# CONFIG_BOOTLOADER_LOG_LEVEL_INFO is not set +# CONFIG_BOOTLOADER_LOG_LEVEL_DEBUG is not set +# CONFIG_BOOTLOADER_LOG_LEVEL_VERBOSE is not set +CONFIG_BOOTLOADER_LOG_LEVEL=0 + +# +# Serial Flash Configurations +# +# CONFIG_BOOTLOADER_FLASH_DC_AWARE is not set +CONFIG_BOOTLOADER_FLASH_XMC_SUPPORT=y +# end of Serial Flash Configurations + +# CONFIG_BOOTLOADER_VDDSDIO_BOOST_1_8V is not set +CONFIG_BOOTLOADER_VDDSDIO_BOOST_1_9V=y +# CONFIG_BOOTLOADER_FACTORY_RESET is not set +# CONFIG_BOOTLOADER_APP_TEST is not set +CONFIG_BOOTLOADER_REGION_PROTECTION_ENABLE=y +CONFIG_BOOTLOADER_WDT_ENABLE=y +# CONFIG_BOOTLOADER_WDT_DISABLE_IN_USER_CODE is not set +CONFIG_BOOTLOADER_WDT_TIME_MS=9000 +# CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE is not set +# CONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP is not set +# CONFIG_BOOTLOADER_SKIP_VALIDATE_ON_POWER_ON is not set +# CONFIG_BOOTLOADER_SKIP_VALIDATE_ALWAYS is not set +CONFIG_BOOTLOADER_RESERVE_RTC_SIZE=0 +# CONFIG_BOOTLOADER_CUSTOM_RESERVE_RTC is not set +# end of Bootloader config + +# +# Security features +# +# CONFIG_SECURE_SIGNED_APPS_NO_SECURE_BOOT is not set +# CONFIG_SECURE_BOOT is not set +# CONFIG_SECURE_FLASH_ENC_ENABLED is not set +# end of Security features + +# +# Serial flasher config +# +CONFIG_ESPTOOLPY_BAUD_OTHER_VAL=115200 +# CONFIG_ESPTOOLPY_NO_STUB is not set +# CONFIG_ESPTOOLPY_FLASHMODE_QIO is not set +# CONFIG_ESPTOOLPY_FLASHMODE_QOUT is not set +CONFIG_ESPTOOLPY_FLASHMODE_DIO=y +# CONFIG_ESPTOOLPY_FLASHMODE_DOUT is not set +CONFIG_ESPTOOLPY_FLASH_SAMPLE_MODE_STR=y +CONFIG_ESPTOOLPY_FLASHMODE="dio" +# CONFIG_ESPTOOLPY_FLASHFREQ_80M is not set +CONFIG_ESPTOOLPY_FLASHFREQ_40M=y +# CONFIG_ESPTOOLPY_FLASHFREQ_26M is not set +# CONFIG_ESPTOOLPY_FLASHFREQ_20M is not set +CONFIG_ESPTOOLPY_FLASHFREQ="40m" +# CONFIG_ESPTOOLPY_FLASHSIZE_1MB is not set +# CONFIG_ESPTOOLPY_FLASHSIZE_2MB is not set +CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y +# CONFIG_ESPTOOLPY_FLASHSIZE_8MB is not set +# CONFIG_ESPTOOLPY_FLASHSIZE_16MB is not set +# CONFIG_ESPTOOLPY_FLASHSIZE_32MB is not set +# CONFIG_ESPTOOLPY_FLASHSIZE_64MB is not set +# CONFIG_ESPTOOLPY_FLASHSIZE_128MB is not set +CONFIG_ESPTOOLPY_FLASHSIZE="4MB" +CONFIG_ESPTOOLPY_FLASHSIZE_DETECT=y +CONFIG_ESPTOOLPY_BEFORE_RESET=y +# CONFIG_ESPTOOLPY_BEFORE_NORESET is not set +CONFIG_ESPTOOLPY_BEFORE="default_reset" +CONFIG_ESPTOOLPY_AFTER_RESET=y +# CONFIG_ESPTOOLPY_AFTER_NORESET is not set +CONFIG_ESPTOOLPY_AFTER="hard_reset" +# CONFIG_ESPTOOLPY_MONITOR_BAUD_CONSOLE is not set +# CONFIG_ESPTOOLPY_MONITOR_BAUD_9600B is not set +# CONFIG_ESPTOOLPY_MONITOR_BAUD_57600B is not set +CONFIG_ESPTOOLPY_MONITOR_BAUD_115200B=y +# CONFIG_ESPTOOLPY_MONITOR_BAUD_230400B is not set +# CONFIG_ESPTOOLPY_MONITOR_BAUD_921600B is not set +# CONFIG_ESPTOOLPY_MONITOR_BAUD_2MB is not set +# CONFIG_ESPTOOLPY_MONITOR_BAUD_OTHER is not set +CONFIG_ESPTOOLPY_MONITOR_BAUD_OTHER_VAL=115200 +CONFIG_ESPTOOLPY_MONITOR_BAUD=115200 +# end of Serial flasher config + +# +# Partition Table +# +# CONFIG_PARTITION_TABLE_SINGLE_APP is not set +# CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE is not set +# CONFIG_PARTITION_TABLE_TWO_OTA is not set +CONFIG_PARTITION_TABLE_CUSTOM=y +CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="ezlopi_partitions_v3_1_4_181_4mb.csv" +CONFIG_PARTITION_TABLE_FILENAME="ezlopi_partitions_v3_1_4_181_4mb.csv" +CONFIG_PARTITION_TABLE_OFFSET=0x8000 +CONFIG_PARTITION_TABLE_MD5=y +# end of Partition Table + +# +# EzloPi User Config +# +# CONFIG_EZPI_HEAP_ENABLE is not set +# CONFIG_EZPI_DEV_TYPE_TEST is not set +CONFIG_EZPI_UTIL_TRACE_EN=y +CONFIG_EZPI_BLE_ENABLE=y +CONFIG_EZPI_BLE_ENALBE_PAIRING=y +# CONFIG_EZPI_BLE_ENALBE_PASSKEY is not set +CONFIG_EZPI_ENABLE_WIFI=y +CONFIG_EZPI_ENABLE_OTA=y +CONFIG_EZPI_SERV_MDNS_EN=y +CONFIG_EZPI_ENABLE_PING=y +CONFIG_EZPI_ENABLE_UART_PROVISIONING=y +CONFIG_EZPI_LOCAL_WEBSOCKET_SERVER=y +CONFIG_EZPI_WEBSOCKET_CLIENT=y +CONFIG_EZPI_CORE_STATIC_BUFFER_SIZE=10240 +CONFIG_EZPI_SERV_ENABLE_MESHBOTS=y +CONFIG_EZPI_SERV_ENABLE_MODES=y +CONFIG_EZPI_ENABLE_LED_INDICATOR=y + +# +# EzloPi mDNS config +# +CONFIG_EZPI_MDNS_ENABLE_EXTRA_SERVICES=y +# CONFIG_EZPI_MDNS_ENABLE_MANUFACTURER_SERVICE is not set +# CONFIG_EZPI_MDNS_ENABLE_BRAND_SERVICE is not set +# CONFIG_EZPI_MDNS_ENABLE_MODEL_SERVICE is not set +# CONFIG_EZPI_MDNS_ENABLE_NAME_SERVICE is not set +# end of EzloPi mDNS config +# end of EzloPi User Config + +# +# Compiler options +# +# CONFIG_COMPILER_OPTIMIZATION_DEFAULT is not set +CONFIG_COMPILER_OPTIMIZATION_SIZE=y +# CONFIG_COMPILER_OPTIMIZATION_PERF is not set +# CONFIG_COMPILER_OPTIMIZATION_NONE is not set +CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_ENABLE=y +# CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT is not set +# CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE is not set +CONFIG_COMPILER_OPTIMIZATION_ASSERTION_LEVEL=2 +# CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT is not set +CONFIG_COMPILER_HIDE_PATHS_MACROS=y +# CONFIG_COMPILER_CXX_EXCEPTIONS is not set +# CONFIG_COMPILER_CXX_RTTI is not set +CONFIG_COMPILER_STACK_CHECK_MODE_NONE=y +# CONFIG_COMPILER_STACK_CHECK_MODE_NORM is not set +# CONFIG_COMPILER_STACK_CHECK_MODE_STRONG is not set +# CONFIG_COMPILER_STACK_CHECK_MODE_ALL is not set +# CONFIG_COMPILER_WARN_WRITE_STRINGS is not set +# CONFIG_COMPILER_DISABLE_GCC8_WARNINGS is not set +# CONFIG_COMPILER_DUMP_RTL_FILES is not set +# end of Compiler options + +# +# Component config +# + +# +# Application Level Tracing +# +# CONFIG_APPTRACE_DEST_JTAG is not set +CONFIG_APPTRACE_DEST_NONE=y +CONFIG_APPTRACE_LOCK_ENABLE=y +# end of Application Level Tracing + +# +# Bluetooth +# +CONFIG_BT_ENABLED=y + +# +# Bluetooth controller +# +CONFIG_BTDM_CTRL_MODE_BLE_ONLY=y +# CONFIG_BTDM_CTRL_MODE_BR_EDR_ONLY is not set +# CONFIG_BTDM_CTRL_MODE_BTDM is not set +CONFIG_BTDM_CTRL_BLE_MAX_CONN=3 +CONFIG_BTDM_CTRL_BR_EDR_SCO_DATA_PATH_EFF=0 +CONFIG_BTDM_CTRL_PCM_ROLE_EFF=0 +CONFIG_BTDM_CTRL_PCM_POLAR_EFF=0 +CONFIG_BTDM_CTRL_BLE_MAX_CONN_EFF=3 +CONFIG_BTDM_CTRL_BR_EDR_MAX_ACL_CONN_EFF=0 +CONFIG_BTDM_CTRL_BR_EDR_MAX_SYNC_CONN_EFF=0 +CONFIG_BTDM_CTRL_PINNED_TO_CORE_0=y +# CONFIG_BTDM_CTRL_PINNED_TO_CORE_1 is not set +CONFIG_BTDM_CTRL_PINNED_TO_CORE=0 +CONFIG_BTDM_CTRL_HCI_MODE_VHCI=y +# CONFIG_BTDM_CTRL_HCI_MODE_UART_H4 is not set + +# +# MODEM SLEEP Options +# +CONFIG_BTDM_CTRL_MODEM_SLEEP=y +CONFIG_BTDM_CTRL_MODEM_SLEEP_MODE_ORIG=y +# CONFIG_BTDM_CTRL_MODEM_SLEEP_MODE_EVED is not set +CONFIG_BTDM_CTRL_LPCLK_SEL_MAIN_XTAL=y +# end of MODEM SLEEP Options + +CONFIG_BTDM_BLE_DEFAULT_SCA_250PPM=y +CONFIG_BTDM_BLE_SLEEP_CLOCK_ACCURACY_INDEX_EFF=1 +CONFIG_BTDM_BLE_SCAN_DUPL=y +CONFIG_BTDM_SCAN_DUPL_TYPE_DEVICE=y +# CONFIG_BTDM_SCAN_DUPL_TYPE_DATA is not set +# CONFIG_BTDM_SCAN_DUPL_TYPE_DATA_DEVICE is not set +CONFIG_BTDM_SCAN_DUPL_TYPE=0 +CONFIG_BTDM_SCAN_DUPL_CACHE_SIZE=100 +CONFIG_BTDM_SCAN_DUPL_CACHE_REFRESH_PERIOD=0 +# CONFIG_BTDM_BLE_MESH_SCAN_DUPL_EN is not set +CONFIG_BTDM_CTRL_FULL_SCAN_SUPPORTED=y +CONFIG_BTDM_BLE_ADV_REPORT_FLOW_CTRL_SUPP=y +CONFIG_BTDM_BLE_ADV_REPORT_FLOW_CTRL_NUM=100 +CONFIG_BTDM_BLE_ADV_REPORT_DISCARD_THRSHOLD=20 +CONFIG_BTDM_RESERVE_DRAM=0xdb5c +CONFIG_BTDM_CTRL_HLI=y +# end of Bluetooth controller + +CONFIG_BT_BLUEDROID_ENABLED=y +# CONFIG_BT_NIMBLE_ENABLED is not set +# CONFIG_BT_CONTROLLER_ONLY is not set + +# +# Bluedroid Options +# +CONFIG_BT_BTC_TASK_STACK_SIZE=4096 +CONFIG_BT_BLUEDROID_PINNED_TO_CORE_0=y +# CONFIG_BT_BLUEDROID_PINNED_TO_CORE_1 is not set +CONFIG_BT_BLUEDROID_PINNED_TO_CORE=0 +CONFIG_BT_BTU_TASK_STACK_SIZE=4096 +# CONFIG_BT_BLUEDROID_MEM_DEBUG is not set +# CONFIG_BT_CLASSIC_ENABLED is not set +CONFIG_BT_BLE_ENABLED=y +CONFIG_BT_GATTS_ENABLE=y +# CONFIG_BT_GATTS_PPCP_CHAR_GAP is not set +# CONFIG_BT_BLE_BLUFI_ENABLE is not set +CONFIG_BT_GATT_MAX_SR_PROFILES=8 +CONFIG_BT_GATT_MAX_SR_ATTRIBUTES=100 +# CONFIG_BT_GATTS_SEND_SERVICE_CHANGE_MANUAL is not set +CONFIG_BT_GATTS_SEND_SERVICE_CHANGE_AUTO=y +CONFIG_BT_GATTS_SEND_SERVICE_CHANGE_MODE=0 +CONFIG_BT_GATTS_ROBUST_CACHING_ENABLED=y +# CONFIG_BT_GATTS_DEVICE_NAME_WRITABLE is not set +# CONFIG_BT_GATTS_APPEARANCE_WRITABLE is not set +CONFIG_BT_GATTC_ENABLE=y +CONFIG_BT_GATTC_MAX_CACHE_CHAR=40 +CONFIG_BT_GATTC_NOTIF_REG_MAX=5 +# CONFIG_BT_GATTC_CACHE_NVS_FLASH is not set +CONFIG_BT_GATTC_CONNECT_RETRY_COUNT=3 +CONFIG_BT_BLE_SMP_ENABLE=y +# CONFIG_BT_SMP_SLAVE_CON_PARAMS_UPD_ENABLE is not set +# CONFIG_BT_STACK_NO_LOG is not set + +# +# BT DEBUG LOG LEVEL +# +# CONFIG_BT_LOG_HCI_TRACE_LEVEL_NONE is not set +# CONFIG_BT_LOG_HCI_TRACE_LEVEL_ERROR is not set +CONFIG_BT_LOG_HCI_TRACE_LEVEL_WARNING=y +# CONFIG_BT_LOG_HCI_TRACE_LEVEL_API is not set +# CONFIG_BT_LOG_HCI_TRACE_LEVEL_EVENT is not set +# CONFIG_BT_LOG_HCI_TRACE_LEVEL_DEBUG is not set +# CONFIG_BT_LOG_HCI_TRACE_LEVEL_VERBOSE is not set +CONFIG_BT_LOG_HCI_TRACE_LEVEL=2 +# CONFIG_BT_LOG_BTM_TRACE_LEVEL_NONE is not set +# CONFIG_BT_LOG_BTM_TRACE_LEVEL_ERROR is not set +CONFIG_BT_LOG_BTM_TRACE_LEVEL_WARNING=y +# CONFIG_BT_LOG_BTM_TRACE_LEVEL_API is not set +# CONFIG_BT_LOG_BTM_TRACE_LEVEL_EVENT is not set +# CONFIG_BT_LOG_BTM_TRACE_LEVEL_DEBUG is not set +# CONFIG_BT_LOG_BTM_TRACE_LEVEL_VERBOSE is not set +CONFIG_BT_LOG_BTM_TRACE_LEVEL=2 +# CONFIG_BT_LOG_L2CAP_TRACE_LEVEL_NONE is not set +# CONFIG_BT_LOG_L2CAP_TRACE_LEVEL_ERROR is not set +CONFIG_BT_LOG_L2CAP_TRACE_LEVEL_WARNING=y +# CONFIG_BT_LOG_L2CAP_TRACE_LEVEL_API is not set +# CONFIG_BT_LOG_L2CAP_TRACE_LEVEL_EVENT is not set +# CONFIG_BT_LOG_L2CAP_TRACE_LEVEL_DEBUG is not set +# CONFIG_BT_LOG_L2CAP_TRACE_LEVEL_VERBOSE is not set +CONFIG_BT_LOG_L2CAP_TRACE_LEVEL=2 +# CONFIG_BT_LOG_RFCOMM_TRACE_LEVEL_NONE is not set +# CONFIG_BT_LOG_RFCOMM_TRACE_LEVEL_ERROR is not set +CONFIG_BT_LOG_RFCOMM_TRACE_LEVEL_WARNING=y +# CONFIG_BT_LOG_RFCOMM_TRACE_LEVEL_API is not set +# CONFIG_BT_LOG_RFCOMM_TRACE_LEVEL_EVENT is not set +# CONFIG_BT_LOG_RFCOMM_TRACE_LEVEL_DEBUG is not set +# CONFIG_BT_LOG_RFCOMM_TRACE_LEVEL_VERBOSE is not set +CONFIG_BT_LOG_RFCOMM_TRACE_LEVEL=2 +# CONFIG_BT_LOG_SDP_TRACE_LEVEL_NONE is not set +# CONFIG_BT_LOG_SDP_TRACE_LEVEL_ERROR is not set +CONFIG_BT_LOG_SDP_TRACE_LEVEL_WARNING=y +# CONFIG_BT_LOG_SDP_TRACE_LEVEL_API is not set +# CONFIG_BT_LOG_SDP_TRACE_LEVEL_EVENT is not set +# CONFIG_BT_LOG_SDP_TRACE_LEVEL_DEBUG is not set +# CONFIG_BT_LOG_SDP_TRACE_LEVEL_VERBOSE is not set +CONFIG_BT_LOG_SDP_TRACE_LEVEL=2 +# CONFIG_BT_LOG_GAP_TRACE_LEVEL_NONE is not set +# CONFIG_BT_LOG_GAP_TRACE_LEVEL_ERROR is not set +CONFIG_BT_LOG_GAP_TRACE_LEVEL_WARNING=y +# CONFIG_BT_LOG_GAP_TRACE_LEVEL_API is not set +# CONFIG_BT_LOG_GAP_TRACE_LEVEL_EVENT is not set +# CONFIG_BT_LOG_GAP_TRACE_LEVEL_DEBUG is not set +# CONFIG_BT_LOG_GAP_TRACE_LEVEL_VERBOSE is not set +CONFIG_BT_LOG_GAP_TRACE_LEVEL=2 +# CONFIG_BT_LOG_BNEP_TRACE_LEVEL_NONE is not set +# CONFIG_BT_LOG_BNEP_TRACE_LEVEL_ERROR is not set +CONFIG_BT_LOG_BNEP_TRACE_LEVEL_WARNING=y +# CONFIG_BT_LOG_BNEP_TRACE_LEVEL_API is not set +# CONFIG_BT_LOG_BNEP_TRACE_LEVEL_EVENT is not set +# CONFIG_BT_LOG_BNEP_TRACE_LEVEL_DEBUG is not set +# CONFIG_BT_LOG_BNEP_TRACE_LEVEL_VERBOSE is not set +CONFIG_BT_LOG_BNEP_TRACE_LEVEL=2 +# CONFIG_BT_LOG_PAN_TRACE_LEVEL_NONE is not set +# CONFIG_BT_LOG_PAN_TRACE_LEVEL_ERROR is not set +CONFIG_BT_LOG_PAN_TRACE_LEVEL_WARNING=y +# CONFIG_BT_LOG_PAN_TRACE_LEVEL_API is not set +# CONFIG_BT_LOG_PAN_TRACE_LEVEL_EVENT is not set +# CONFIG_BT_LOG_PAN_TRACE_LEVEL_DEBUG is not set +# CONFIG_BT_LOG_PAN_TRACE_LEVEL_VERBOSE is not set +CONFIG_BT_LOG_PAN_TRACE_LEVEL=2 +# CONFIG_BT_LOG_A2D_TRACE_LEVEL_NONE is not set +# CONFIG_BT_LOG_A2D_TRACE_LEVEL_ERROR is not set +CONFIG_BT_LOG_A2D_TRACE_LEVEL_WARNING=y +# CONFIG_BT_LOG_A2D_TRACE_LEVEL_API is not set +# CONFIG_BT_LOG_A2D_TRACE_LEVEL_EVENT is not set +# CONFIG_BT_LOG_A2D_TRACE_LEVEL_DEBUG is not set +# CONFIG_BT_LOG_A2D_TRACE_LEVEL_VERBOSE is not set +CONFIG_BT_LOG_A2D_TRACE_LEVEL=2 +# CONFIG_BT_LOG_AVDT_TRACE_LEVEL_NONE is not set +# CONFIG_BT_LOG_AVDT_TRACE_LEVEL_ERROR is not set +CONFIG_BT_LOG_AVDT_TRACE_LEVEL_WARNING=y +# CONFIG_BT_LOG_AVDT_TRACE_LEVEL_API is not set +# CONFIG_BT_LOG_AVDT_TRACE_LEVEL_EVENT is not set +# CONFIG_BT_LOG_AVDT_TRACE_LEVEL_DEBUG is not set +# CONFIG_BT_LOG_AVDT_TRACE_LEVEL_VERBOSE is not set +CONFIG_BT_LOG_AVDT_TRACE_LEVEL=2 +# CONFIG_BT_LOG_AVCT_TRACE_LEVEL_NONE is not set +# CONFIG_BT_LOG_AVCT_TRACE_LEVEL_ERROR is not set +CONFIG_BT_LOG_AVCT_TRACE_LEVEL_WARNING=y +# CONFIG_BT_LOG_AVCT_TRACE_LEVEL_API is not set +# CONFIG_BT_LOG_AVCT_TRACE_LEVEL_EVENT is not set +# CONFIG_BT_LOG_AVCT_TRACE_LEVEL_DEBUG is not set +# CONFIG_BT_LOG_AVCT_TRACE_LEVEL_VERBOSE is not set +CONFIG_BT_LOG_AVCT_TRACE_LEVEL=2 +# CONFIG_BT_LOG_AVRC_TRACE_LEVEL_NONE is not set +# CONFIG_BT_LOG_AVRC_TRACE_LEVEL_ERROR is not set +CONFIG_BT_LOG_AVRC_TRACE_LEVEL_WARNING=y +# CONFIG_BT_LOG_AVRC_TRACE_LEVEL_API is not set +# CONFIG_BT_LOG_AVRC_TRACE_LEVEL_EVENT is not set +# CONFIG_BT_LOG_AVRC_TRACE_LEVEL_DEBUG is not set +# CONFIG_BT_LOG_AVRC_TRACE_LEVEL_VERBOSE is not set +CONFIG_BT_LOG_AVRC_TRACE_LEVEL=2 +# CONFIG_BT_LOG_MCA_TRACE_LEVEL_NONE is not set +# CONFIG_BT_LOG_MCA_TRACE_LEVEL_ERROR is not set +CONFIG_BT_LOG_MCA_TRACE_LEVEL_WARNING=y +# CONFIG_BT_LOG_MCA_TRACE_LEVEL_API is not set +# CONFIG_BT_LOG_MCA_TRACE_LEVEL_EVENT is not set +# CONFIG_BT_LOG_MCA_TRACE_LEVEL_DEBUG is not set +# CONFIG_BT_LOG_MCA_TRACE_LEVEL_VERBOSE is not set +CONFIG_BT_LOG_MCA_TRACE_LEVEL=2 +# CONFIG_BT_LOG_HID_TRACE_LEVEL_NONE is not set +# CONFIG_BT_LOG_HID_TRACE_LEVEL_ERROR is not set +CONFIG_BT_LOG_HID_TRACE_LEVEL_WARNING=y +# CONFIG_BT_LOG_HID_TRACE_LEVEL_API is not set +# CONFIG_BT_LOG_HID_TRACE_LEVEL_EVENT is not set +# CONFIG_BT_LOG_HID_TRACE_LEVEL_DEBUG is not set +# CONFIG_BT_LOG_HID_TRACE_LEVEL_VERBOSE is not set +CONFIG_BT_LOG_HID_TRACE_LEVEL=2 +# CONFIG_BT_LOG_APPL_TRACE_LEVEL_NONE is not set +# CONFIG_BT_LOG_APPL_TRACE_LEVEL_ERROR is not set +CONFIG_BT_LOG_APPL_TRACE_LEVEL_WARNING=y +# CONFIG_BT_LOG_APPL_TRACE_LEVEL_API is not set +# CONFIG_BT_LOG_APPL_TRACE_LEVEL_EVENT is not set +# CONFIG_BT_LOG_APPL_TRACE_LEVEL_DEBUG is not set +# CONFIG_BT_LOG_APPL_TRACE_LEVEL_VERBOSE is not set +CONFIG_BT_LOG_APPL_TRACE_LEVEL=2 +# CONFIG_BT_LOG_GATT_TRACE_LEVEL_NONE is not set +# CONFIG_BT_LOG_GATT_TRACE_LEVEL_ERROR is not set +CONFIG_BT_LOG_GATT_TRACE_LEVEL_WARNING=y +# CONFIG_BT_LOG_GATT_TRACE_LEVEL_API is not set +# CONFIG_BT_LOG_GATT_TRACE_LEVEL_EVENT is not set +# CONFIG_BT_LOG_GATT_TRACE_LEVEL_DEBUG is not set +# CONFIG_BT_LOG_GATT_TRACE_LEVEL_VERBOSE is not set +CONFIG_BT_LOG_GATT_TRACE_LEVEL=2 +# CONFIG_BT_LOG_SMP_TRACE_LEVEL_NONE is not set +# CONFIG_BT_LOG_SMP_TRACE_LEVEL_ERROR is not set +CONFIG_BT_LOG_SMP_TRACE_LEVEL_WARNING=y +# CONFIG_BT_LOG_SMP_TRACE_LEVEL_API is not set +# CONFIG_BT_LOG_SMP_TRACE_LEVEL_EVENT is not set +# CONFIG_BT_LOG_SMP_TRACE_LEVEL_DEBUG is not set +# CONFIG_BT_LOG_SMP_TRACE_LEVEL_VERBOSE is not set +CONFIG_BT_LOG_SMP_TRACE_LEVEL=2 +# CONFIG_BT_LOG_BTIF_TRACE_LEVEL_NONE is not set +# CONFIG_BT_LOG_BTIF_TRACE_LEVEL_ERROR is not set +CONFIG_BT_LOG_BTIF_TRACE_LEVEL_WARNING=y +# CONFIG_BT_LOG_BTIF_TRACE_LEVEL_API is not set +# CONFIG_BT_LOG_BTIF_TRACE_LEVEL_EVENT is not set +# CONFIG_BT_LOG_BTIF_TRACE_LEVEL_DEBUG is not set +# CONFIG_BT_LOG_BTIF_TRACE_LEVEL_VERBOSE is not set +CONFIG_BT_LOG_BTIF_TRACE_LEVEL=2 +# CONFIG_BT_LOG_BTC_TRACE_LEVEL_NONE is not set +# CONFIG_BT_LOG_BTC_TRACE_LEVEL_ERROR is not set +CONFIG_BT_LOG_BTC_TRACE_LEVEL_WARNING=y +# CONFIG_BT_LOG_BTC_TRACE_LEVEL_API is not set +# CONFIG_BT_LOG_BTC_TRACE_LEVEL_EVENT is not set +# CONFIG_BT_LOG_BTC_TRACE_LEVEL_DEBUG is not set +# CONFIG_BT_LOG_BTC_TRACE_LEVEL_VERBOSE is not set +CONFIG_BT_LOG_BTC_TRACE_LEVEL=2 +# CONFIG_BT_LOG_OSI_TRACE_LEVEL_NONE is not set +# CONFIG_BT_LOG_OSI_TRACE_LEVEL_ERROR is not set +CONFIG_BT_LOG_OSI_TRACE_LEVEL_WARNING=y +# CONFIG_BT_LOG_OSI_TRACE_LEVEL_API is not set +# CONFIG_BT_LOG_OSI_TRACE_LEVEL_EVENT is not set +# CONFIG_BT_LOG_OSI_TRACE_LEVEL_DEBUG is not set +# CONFIG_BT_LOG_OSI_TRACE_LEVEL_VERBOSE is not set +CONFIG_BT_LOG_OSI_TRACE_LEVEL=2 +# CONFIG_BT_LOG_BLUFI_TRACE_LEVEL_NONE is not set +# CONFIG_BT_LOG_BLUFI_TRACE_LEVEL_ERROR is not set +CONFIG_BT_LOG_BLUFI_TRACE_LEVEL_WARNING=y +# CONFIG_BT_LOG_BLUFI_TRACE_LEVEL_API is not set +# CONFIG_BT_LOG_BLUFI_TRACE_LEVEL_EVENT is not set +# CONFIG_BT_LOG_BLUFI_TRACE_LEVEL_DEBUG is not set +# CONFIG_BT_LOG_BLUFI_TRACE_LEVEL_VERBOSE is not set +CONFIG_BT_LOG_BLUFI_TRACE_LEVEL=2 +# end of BT DEBUG LOG LEVEL + +CONFIG_BT_ACL_CONNECTIONS=4 +CONFIG_BT_MULTI_CONNECTION_ENBALE=y +CONFIG_BT_ALLOCATION_FROM_SPIRAM_FIRST=y +CONFIG_BT_BLE_DYNAMIC_ENV_MEMORY=y +# CONFIG_BT_BLE_HOST_QUEUE_CONG_CHECK is not set +CONFIG_BT_SMP_ENABLE=y +CONFIG_BT_SMP_MAX_BONDS=15 +# CONFIG_BT_BLE_ACT_SCAN_REP_ADV_SCAN is not set +CONFIG_BT_BLE_ESTAB_LINK_CONN_TOUT=30 +CONFIG_BT_MAX_DEVICE_NAME_LEN=32 +# CONFIG_BT_BLE_RPA_SUPPORTED is not set +CONFIG_BT_BLE_RPA_TIMEOUT=900 +# CONFIG_BT_BLE_HIGH_DUTY_ADV_INTERVAL is not set +# end of Bluedroid Options +# end of Bluetooth + +# CONFIG_BLE_MESH is not set +CONFIG_COAP_LOG_DEFAULT_LEVEL=0 + +# +# Driver configurations +# + +# +# ADC configuration +# +# CONFIG_ADC_FORCE_XPD_FSM is not set +CONFIG_ADC_DISABLE_DAC=y +# end of ADC configuration + +# +# MCPWM configuration +# +# CONFIG_MCPWM_ISR_IN_IRAM is not set +# end of MCPWM configuration + +# +# SPI configuration +# +# CONFIG_SPI_MASTER_IN_IRAM is not set +CONFIG_SPI_MASTER_ISR_IN_IRAM=y +# CONFIG_SPI_SLAVE_IN_IRAM is not set +# CONFIG_SPI_SLAVE_ISR_IN_IRAM is not set +# end of SPI configuration + +# +# TWAI configuration +# +CONFIG_TWAI_ISR_IN_IRAM=y +# CONFIG_TWAI_ERRATA_FIX_BUS_OFF_REC is not set +# CONFIG_TWAI_ERRATA_FIX_TX_INTR_LOST is not set +# CONFIG_TWAI_ERRATA_FIX_RX_FRAME_INVALID is not set +# CONFIG_TWAI_ERRATA_FIX_RX_FIFO_CORRUPT is not set +# CONFIG_TWAI_ERRATA_FIX_LISTEN_ONLY_DOM is not set +# end of TWAI configuration + +# +# UART configuration +# +CONFIG_UART_ISR_IN_IRAM=y +# end of UART configuration + +# +# RTCIO configuration +# +# CONFIG_RTCIO_SUPPORT_RTC_GPIO_DESC is not set +# end of RTCIO configuration + +# +# GPIO Configuration +# +# CONFIG_GPIO_ESP32_SUPPORT_SWITCH_SLP_PULL is not set +# end of GPIO Configuration + +# +# GDMA Configuration +# +# CONFIG_GDMA_CTRL_FUNC_IN_IRAM is not set +# CONFIG_GDMA_ISR_IRAM_SAFE is not set +# end of GDMA Configuration +# end of Driver configurations + +# +# eFuse Bit Manager +# +# CONFIG_EFUSE_CUSTOM_TABLE is not set +# CONFIG_EFUSE_VIRTUAL is not set +# CONFIG_EFUSE_CODE_SCHEME_COMPAT_NONE is not set +CONFIG_EFUSE_CODE_SCHEME_COMPAT_3_4=y +# CONFIG_EFUSE_CODE_SCHEME_COMPAT_REPEAT is not set +CONFIG_EFUSE_MAX_BLK_LEN=192 +# end of eFuse Bit Manager + +# +# ESP-TLS +# +CONFIG_ESP_TLS_USING_MBEDTLS=y +# CONFIG_ESP_TLS_USE_SECURE_ELEMENT is not set +# CONFIG_ESP_TLS_CLIENT_SESSION_TICKETS is not set +# CONFIG_ESP_TLS_SERVER is not set +# CONFIG_ESP_TLS_PSK_VERIFICATION is not set +CONFIG_ESP_TLS_INSECURE=y +CONFIG_ESP_TLS_SKIP_SERVER_CERT_VERIFY=y +# end of ESP-TLS + +# +# ESP32-specific +# +CONFIG_ESP32_REV_MIN_0=y +# CONFIG_ESP32_REV_MIN_1 is not set +# CONFIG_ESP32_REV_MIN_1_1 is not set +# CONFIG_ESP32_REV_MIN_2 is not set +# CONFIG_ESP32_REV_MIN_3 is not set +# CONFIG_ESP32_REV_MIN_3_1 is not set +CONFIG_ESP32_REV_MIN=0 +CONFIG_ESP32_REV_MIN_FULL=0 +CONFIG_ESP_REV_MIN_FULL=0 +CONFIG_ESP32_REV_MAX_FULL_STR_OPT=y +CONFIG_ESP32_REV_MAX_FULL=399 +CONFIG_ESP_REV_MAX_FULL=399 +CONFIG_ESP32_DPORT_WORKAROUND=y +# CONFIG_ESP32_DEFAULT_CPU_FREQ_80 is not set +# CONFIG_ESP32_DEFAULT_CPU_FREQ_160 is not set +CONFIG_ESP32_DEFAULT_CPU_FREQ_240=y +CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ=240 +# CONFIG_ESP32_SPIRAM_SUPPORT is not set +# CONFIG_ESP32_TRAX is not set +CONFIG_ESP32_TRACEMEM_RESERVE_DRAM=0x0 +# CONFIG_ESP32_ULP_COPROC_ENABLED is not set +CONFIG_ESP32_ULP_COPROC_RESERVE_MEM=0 +# CONFIG_ESP32_DEBUG_OCDAWARE is not set +CONFIG_ESP32_BROWNOUT_DET=y +CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_0=y +# CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_1 is not set +# CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_2 is not set +# CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_3 is not set +# CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_4 is not set +# CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_5 is not set +# CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_6 is not set +# CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_7 is not set +CONFIG_ESP32_BROWNOUT_DET_LVL=0 +CONFIG_ESP32_TIME_SYSCALL_USE_RTC_FRC1=y +# CONFIG_ESP32_TIME_SYSCALL_USE_RTC is not set +# CONFIG_ESP32_TIME_SYSCALL_USE_FRC1 is not set +# CONFIG_ESP32_TIME_SYSCALL_USE_NONE is not set +CONFIG_ESP32_RTC_CLK_SRC_INT_RC=y +# CONFIG_ESP32_RTC_CLK_SRC_EXT_CRYS is not set +# CONFIG_ESP32_RTC_CLK_SRC_EXT_OSC is not set +# CONFIG_ESP32_RTC_CLK_SRC_INT_8MD256 is not set +CONFIG_ESP32_RTC_CLK_CAL_CYCLES=1024 +CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY=2000 +CONFIG_ESP32_XTAL_FREQ_40=y +# CONFIG_ESP32_XTAL_FREQ_26 is not set +# CONFIG_ESP32_XTAL_FREQ_AUTO is not set +CONFIG_ESP32_XTAL_FREQ=40 +# CONFIG_ESP32_DISABLE_BASIC_ROM_CONSOLE is not set +# CONFIG_ESP32_COMPATIBLE_PRE_V2_1_BOOTLOADERS is not set +# CONFIG_ESP32_COMPATIBLE_PRE_V3_1_BOOTLOADERS is not set +# CONFIG_ESP32_USE_FIXED_STATIC_RAM_SIZE is not set +CONFIG_ESP32_DPORT_DIS_INTERRUPT_LVL=5 +# end of ESP32-specific + +# +# ADC-Calibration +# +CONFIG_ADC_CAL_EFUSE_TP_ENABLE=y +CONFIG_ADC_CAL_EFUSE_VREF_ENABLE=y +CONFIG_ADC_CAL_LUT_ENABLE=y +# end of ADC-Calibration + +# +# Common ESP-related +# +CONFIG_ESP_ERR_TO_NAME_LOOKUP=y +# end of Common ESP-related + +# +# Ethernet +# +# CONFIG_ETH_USE_ESP32_EMAC is not set +# CONFIG_ETH_USE_SPI_ETHERNET is not set +# CONFIG_ETH_USE_OPENETH is not set +# end of Ethernet + +# +# Event Loop Library +# +# CONFIG_ESP_EVENT_LOOP_PROFILING is not set +CONFIG_ESP_EVENT_POST_FROM_ISR=y +# CONFIG_ESP_EVENT_POST_FROM_IRAM_ISR is not set +# end of Event Loop Library + +# +# GDB Stub +# +# end of GDB Stub + +# +# ESP HTTP client +# +CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS=y +# CONFIG_ESP_HTTP_CLIENT_ENABLE_BASIC_AUTH is not set +# CONFIG_ESP_HTTP_CLIENT_ENABLE_DIGEST_AUTH is not set +# end of ESP HTTP client + +# +# HTTP Server +# +CONFIG_HTTPD_MAX_REQ_HDR_LEN=512 +CONFIG_HTTPD_MAX_URI_LEN=512 +CONFIG_HTTPD_ERR_RESP_NO_DELAY=y +CONFIG_HTTPD_PURGE_BUF_LEN=32 +# CONFIG_HTTPD_LOG_PURGE_DATA is not set +CONFIG_HTTPD_WS_SUPPORT=y +# end of HTTP Server + +# +# ESP HTTPS OTA +# +# CONFIG_OTA_ALLOW_HTTP is not set +# end of ESP HTTPS OTA + +# +# ESP HTTPS server +# +# CONFIG_ESP_HTTPS_SERVER_ENABLE is not set +# end of ESP HTTPS server + +# +# Hardware Settings +# + +# +# MAC Config +# +CONFIG_ESP_MAC_ADDR_UNIVERSE_WIFI_STA=y +CONFIG_ESP_MAC_ADDR_UNIVERSE_BT=y +CONFIG_ESP32_UNIVERSAL_MAC_ADDRESSES_TWO=y +# CONFIG_ESP32_UNIVERSAL_MAC_ADDRESSES_FOUR is not set +CONFIG_ESP32_UNIVERSAL_MAC_ADDRESSES=2 +# CONFIG_ESP_MAC_IGNORE_MAC_CRC_ERROR is not set +# end of MAC Config + +# +# Sleep Config +# +# CONFIG_ESP_SLEEP_POWER_DOWN_FLASH is not set +CONFIG_ESP_SLEEP_RTC_BUS_ISO_WORKAROUND=y +# CONFIG_ESP_SLEEP_GPIO_RESET_WORKAROUND is not set +# CONFIG_ESP_SLEEP_FLASH_LEAKAGE_WORKAROUND is not set +# CONFIG_ESP_SLEEP_GPIO_ENABLE_INTERNAL_RESISTORS is not set +# end of Sleep Config + +# +# RTC Clock Config +# +# end of RTC Clock Config +# end of Hardware Settings + +# +# IPC (Inter-Processor Call) +# +CONFIG_ESP_IPC_TASK_STACK_SIZE=1536 +CONFIG_ESP_IPC_USES_CALLERS_PRIORITY=y +CONFIG_ESP_IPC_ISR_ENABLE=y +# end of IPC (Inter-Processor Call) + +# +# LCD and Touch Panel +# + +# +# LCD Touch Drivers are maintained in the IDF Component Registry +# + +# +# LCD Peripheral Configuration +# +CONFIG_LCD_PANEL_IO_FORMAT_BUF_SIZE=32 +# end of LCD Peripheral Configuration +# end of LCD and Touch Panel + +# +# ESP NETIF Adapter +# +CONFIG_ESP_NETIF_IP_LOST_TIMER_INTERVAL=120 +CONFIG_ESP_NETIF_TCPIP_LWIP=y +# CONFIG_ESP_NETIF_LOOPBACK is not set +CONFIG_ESP_NETIF_TCPIP_ADAPTER_COMPATIBLE_LAYER=y +# end of ESP NETIF Adapter + +# +# PHY +# +CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE=y +# CONFIG_ESP_PHY_INIT_DATA_IN_PARTITION is not set +CONFIG_ESP_PHY_MAX_WIFI_TX_POWER=20 +CONFIG_ESP_PHY_MAX_TX_POWER=20 +CONFIG_ESP_PHY_REDUCE_TX_POWER=y +CONFIG_ESP_PHY_RF_CAL_PARTIAL=y +# CONFIG_ESP_PHY_RF_CAL_NONE is not set +# CONFIG_ESP_PHY_RF_CAL_FULL is not set +CONFIG_ESP_PHY_CALIBRATION_MODE=0 +# end of PHY + +# +# Power Management +# +# CONFIG_PM_ENABLE is not set +# end of Power Management + +# +# ESP Ringbuf +# +# CONFIG_RINGBUF_PLACE_FUNCTIONS_INTO_FLASH is not set +# CONFIG_RINGBUF_PLACE_ISR_FUNCTIONS_INTO_FLASH is not set +# end of ESP Ringbuf + +# +# ESP System Settings +# +# CONFIG_ESP_SYSTEM_PANIC_PRINT_HALT is not set +CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y +# CONFIG_ESP_SYSTEM_PANIC_SILENT_REBOOT is not set +# CONFIG_ESP_SYSTEM_PANIC_GDBSTUB is not set +# CONFIG_ESP_SYSTEM_GDBSTUB_RUNTIME is not set + +# +# Memory protection +# +# end of Memory protection + +CONFIG_ESP_SYSTEM_EVENT_QUEUE_SIZE=32 +CONFIG_ESP_SYSTEM_EVENT_TASK_STACK_SIZE=3072 +CONFIG_ESP_MAIN_TASK_STACK_SIZE=3584 +CONFIG_ESP_MAIN_TASK_AFFINITY_CPU0=y +# CONFIG_ESP_MAIN_TASK_AFFINITY_CPU1 is not set +# CONFIG_ESP_MAIN_TASK_AFFINITY_NO_AFFINITY is not set +CONFIG_ESP_MAIN_TASK_AFFINITY=0x0 +CONFIG_ESP_MINIMAL_SHARED_STACK_SIZE=2048 +CONFIG_ESP_CONSOLE_UART_DEFAULT=y +# CONFIG_ESP_CONSOLE_UART_CUSTOM is not set +# CONFIG_ESP_CONSOLE_NONE is not set +CONFIG_ESP_CONSOLE_UART=y +CONFIG_ESP_CONSOLE_MULTIPLE_UART=y +CONFIG_ESP_CONSOLE_UART_NUM=0 +CONFIG_ESP_CONSOLE_UART_BAUDRATE=115200 +CONFIG_ESP_INT_WDT=y +CONFIG_ESP_INT_WDT_TIMEOUT_MS=300 +CONFIG_ESP_INT_WDT_CHECK_CPU1=y +CONFIG_ESP_TASK_WDT=y +# CONFIG_ESP_TASK_WDT_PANIC is not set +CONFIG_ESP_TASK_WDT_TIMEOUT_S=5 +CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU0=y +CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU1=y +# CONFIG_ESP_PANIC_HANDLER_IRAM is not set +# CONFIG_ESP_DEBUG_STUBS_ENABLE is not set +CONFIG_ESP_SYSTEM_CHECK_INT_LEVEL_5=y +# end of ESP System Settings + +# +# High resolution timer (esp_timer) +# +# CONFIG_ESP_TIMER_PROFILING is not set +CONFIG_ESP_TIME_FUNCS_USE_RTC_TIMER=y +CONFIG_ESP_TIME_FUNCS_USE_ESP_TIMER=y +CONFIG_ESP_TIMER_TASK_STACK_SIZE=3584 +CONFIG_ESP_TIMER_INTERRUPT_LEVEL=1 +# CONFIG_ESP_TIMER_SUPPORTS_ISR_DISPATCH_METHOD is not set +# CONFIG_ESP_TIMER_IMPL_FRC2 is not set +CONFIG_ESP_TIMER_IMPL_TG0_LAC=y +# end of High resolution timer (esp_timer) + +# +# Wi-Fi +# +CONFIG_ESP32_WIFI_ENABLED=y +CONFIG_ESP32_WIFI_SW_COEXIST_ENABLE=y +CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM=4 +CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM=8 +# CONFIG_ESP32_WIFI_STATIC_TX_BUFFER is not set +CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER=y +CONFIG_ESP32_WIFI_TX_BUFFER_TYPE=1 +CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM=12 +# CONFIG_ESP_WIFI_STATIC_RX_MGMT_BUFFER is not set +CONFIG_ESP_WIFI_DYNAMIC_RX_MGMT_BUFFER=y +CONFIG_ESP_WIFI_DYNAMIC_RX_MGMT_BUF=1 +CONFIG_ESP_WIFI_RX_MGMT_BUF_NUM_DEF=5 +# CONFIG_ESP32_WIFI_CSI_ENABLED is not set +# CONFIG_ESP32_WIFI_AMPDU_TX_ENABLED is not set +CONFIG_ESP32_WIFI_AMPDU_RX_ENABLED=y +CONFIG_ESP32_WIFI_RX_BA_WIN=6 +CONFIG_ESP32_WIFI_NVS_ENABLED=y +CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_0=y +# CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_1 is not set +CONFIG_ESP32_WIFI_SOFTAP_BEACON_MAX_LEN=752 +CONFIG_ESP32_WIFI_MGMT_SBUF_NUM=32 +# CONFIG_ESP32_WIFI_IRAM_OPT is not set +# CONFIG_ESP32_WIFI_RX_IRAM_OPT is not set +# CONFIG_ESP32_WIFI_ENABLE_WPA3_SAE is not set +# CONFIG_ESP_WIFI_SLP_IRAM_OPT is not set +# CONFIG_ESP_WIFI_STA_DISCONNECTED_PM_ENABLE is not set +# CONFIG_ESP_WIFI_GMAC_SUPPORT is not set +# CONFIG_ESP_WIFI_SOFTAP_SUPPORT is not set +# CONFIG_ESP_WIFI_SLP_BEACON_LOST_OPT is not set +CONFIG_ESP_WIFI_ESPNOW_MAX_ENCRYPT_NUM=7 +# end of Wi-Fi + +# +# Core dump +# +# CONFIG_ESP_COREDUMP_ENABLE_TO_FLASH is not set +# CONFIG_ESP_COREDUMP_ENABLE_TO_UART is not set +CONFIG_ESP_COREDUMP_ENABLE_TO_NONE=y +# end of Core dump + +# +# FAT Filesystem support +# +# CONFIG_FATFS_CODEPAGE_DYNAMIC is not set +CONFIG_FATFS_CODEPAGE_437=y +# CONFIG_FATFS_CODEPAGE_720 is not set +# CONFIG_FATFS_CODEPAGE_737 is not set +# CONFIG_FATFS_CODEPAGE_771 is not set +# CONFIG_FATFS_CODEPAGE_775 is not set +# CONFIG_FATFS_CODEPAGE_850 is not set +# CONFIG_FATFS_CODEPAGE_852 is not set +# CONFIG_FATFS_CODEPAGE_855 is not set +# CONFIG_FATFS_CODEPAGE_857 is not set +# CONFIG_FATFS_CODEPAGE_860 is not set +# CONFIG_FATFS_CODEPAGE_861 is not set +# CONFIG_FATFS_CODEPAGE_862 is not set +# CONFIG_FATFS_CODEPAGE_863 is not set +# CONFIG_FATFS_CODEPAGE_864 is not set +# CONFIG_FATFS_CODEPAGE_865 is not set +# CONFIG_FATFS_CODEPAGE_866 is not set +# CONFIG_FATFS_CODEPAGE_869 is not set +# CONFIG_FATFS_CODEPAGE_932 is not set +# CONFIG_FATFS_CODEPAGE_936 is not set +# CONFIG_FATFS_CODEPAGE_949 is not set +# CONFIG_FATFS_CODEPAGE_950 is not set +CONFIG_FATFS_CODEPAGE=437 +CONFIG_FATFS_LFN_NONE=y +# CONFIG_FATFS_LFN_HEAP is not set +# CONFIG_FATFS_LFN_STACK is not set +CONFIG_FATFS_FS_LOCK=0 +CONFIG_FATFS_TIMEOUT_MS=10000 +CONFIG_FATFS_PER_FILE_CACHE=y +# CONFIG_FATFS_USE_FASTSEEK is not set +# end of FAT Filesystem support + +# +# FreeRTOS +# +# CONFIG_FREERTOS_UNICORE is not set +CONFIG_FREERTOS_NO_AFFINITY=0x7FFFFFFF +CONFIG_FREERTOS_TICK_SUPPORT_CORETIMER=y +CONFIG_FREERTOS_CORETIMER_0=y +# CONFIG_FREERTOS_CORETIMER_1 is not set +CONFIG_FREERTOS_SYSTICK_USES_CCOUNT=y +CONFIG_FREERTOS_HZ=1000 +CONFIG_FREERTOS_ASSERT_ON_UNTESTED_FUNCTION=y +# CONFIG_FREERTOS_CHECK_STACKOVERFLOW_NONE is not set +# CONFIG_FREERTOS_CHECK_STACKOVERFLOW_PTRVAL is not set +CONFIG_FREERTOS_CHECK_STACKOVERFLOW_CANARY=y +# CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK is not set +CONFIG_FREERTOS_INTERRUPT_BACKTRACE=y +CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1 +CONFIG_FREERTOS_ASSERT_FAIL_ABORT=y +# CONFIG_FREERTOS_ASSERT_FAIL_PRINT_CONTINUE is not set +# CONFIG_FREERTOS_ASSERT_DISABLE is not set +CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=2048 +CONFIG_FREERTOS_ISR_STACKSIZE=1536 +# CONFIG_FREERTOS_LEGACY_HOOKS is not set +CONFIG_FREERTOS_MAX_TASK_NAME_LEN=16 +CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION=y +# CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP is not set +CONFIG_FREERTOS_TIMER_TASK_PRIORITY=1 +CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=2048 +CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10 +CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0 +# CONFIG_FREERTOS_USE_TRACE_FACILITY is not set +# CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS is not set +# CONFIG_FREERTOS_CHECK_MUTEX_GIVEN_BY_OWNER is not set +# CONFIG_FREERTOS_CHECK_PORT_CRITICAL_COMPLIANCE is not set +# CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH is not set +# CONFIG_FREERTOS_FPU_IN_ISR is not set +# CONFIG_FREERTOS_ENABLE_TASK_SNAPSHOT is not set +# end of FreeRTOS + +# +# Hardware Abstraction Layer (HAL) and Low Level (LL) +# +CONFIG_HAL_ASSERTION_EQUALS_SYSTEM=y +# CONFIG_HAL_ASSERTION_DISABLE is not set +# CONFIG_HAL_ASSERTION_SILIENT is not set +# CONFIG_HAL_ASSERTION_ENABLE is not set +CONFIG_HAL_DEFAULT_ASSERTION_LEVEL=2 +# end of Hardware Abstraction Layer (HAL) and Low Level (LL) + +# +# Heap memory debugging +# +CONFIG_HEAP_POISONING_DISABLED=y +# CONFIG_HEAP_POISONING_LIGHT is not set +# CONFIG_HEAP_POISONING_COMPREHENSIVE is not set +CONFIG_HEAP_TRACING_OFF=y +# CONFIG_HEAP_TRACING_STANDALONE is not set +# CONFIG_HEAP_TRACING_TOHOST is not set +# CONFIG_HEAP_ABORT_WHEN_ALLOCATION_FAILS is not set +# end of Heap memory debugging + +# +# jsmn +# +# CONFIG_JSMN_PARENT_LINKS is not set +# CONFIG_JSMN_STRICT is not set +# end of jsmn + +# +# libsodium +# +# end of libsodium + +# +# Log output +# +CONFIG_LOG_DEFAULT_LEVEL_NONE=y +# CONFIG_LOG_DEFAULT_LEVEL_ERROR is not set +# CONFIG_LOG_DEFAULT_LEVEL_WARN is not set +# CONFIG_LOG_DEFAULT_LEVEL_INFO is not set +# CONFIG_LOG_DEFAULT_LEVEL_DEBUG is not set +# CONFIG_LOG_DEFAULT_LEVEL_VERBOSE is not set +CONFIG_LOG_DEFAULT_LEVEL=0 +CONFIG_LOG_MAXIMUM_EQUALS_DEFAULT=y +# CONFIG_LOG_MAXIMUM_LEVEL_ERROR is not set +# CONFIG_LOG_MAXIMUM_LEVEL_WARN is not set +# CONFIG_LOG_MAXIMUM_LEVEL_INFO is not set +# CONFIG_LOG_MAXIMUM_LEVEL_DEBUG is not set +# CONFIG_LOG_MAXIMUM_LEVEL_VERBOSE is not set +CONFIG_LOG_MAXIMUM_LEVEL=0 +CONFIG_LOG_COLORS=y +CONFIG_LOG_TIMESTAMP_SOURCE_RTOS=y +# CONFIG_LOG_TIMESTAMP_SOURCE_SYSTEM is not set +# end of Log output + +# +# LWIP +# +CONFIG_LWIP_LOCAL_HOSTNAME="EzloPi" +# CONFIG_LWIP_NETIF_API is not set +CONFIG_LWIP_TCPIP_TASK_PRIO=18 +# CONFIG_LWIP_TCPIP_CORE_LOCKING is not set +# CONFIG_LWIP_CHECK_THREAD_SAFETY is not set +# CONFIG_LWIP_DNS_SUPPORT_MDNS_QUERIES is not set +# CONFIG_LWIP_L2_TO_L3_COPY is not set +# CONFIG_LWIP_IRAM_OPTIMIZATION is not set +CONFIG_LWIP_TIMERS_ONDEMAND=y +CONFIG_LWIP_MAX_SOCKETS=10 +# CONFIG_LWIP_USE_ONLY_LWIP_SELECT is not set +# CONFIG_LWIP_SO_LINGER is not set +CONFIG_LWIP_SO_REUSE=y +CONFIG_LWIP_SO_REUSE_RXTOALL=y +# CONFIG_LWIP_SO_RCVBUF is not set +# CONFIG_LWIP_NETBUF_RECVINFO is not set +CONFIG_LWIP_IP_DEFAULT_TTL=64 +CONFIG_LWIP_IP4_FRAG=y +# CONFIG_LWIP_IP4_REASSEMBLY is not set +# CONFIG_LWIP_IP_FORWARD is not set +# CONFIG_LWIP_STATS is not set +# CONFIG_LWIP_ETHARP_TRUST_IP_MAC is not set +CONFIG_LWIP_ESP_GRATUITOUS_ARP=y +CONFIG_LWIP_GARP_TMR_INTERVAL=60 +CONFIG_LWIP_TCPIP_RECVMBOX_SIZE=16 +CONFIG_LWIP_DHCP_DOES_ARP_CHECK=y +# CONFIG_LWIP_DHCP_DISABLE_CLIENT_ID is not set +CONFIG_LWIP_DHCP_DISABLE_VENDOR_CLASS_ID=y +# CONFIG_LWIP_DHCP_RESTORE_LAST_IP is not set +CONFIG_LWIP_DHCP_OPTIONS_LEN=68 +CONFIG_LWIP_DHCP_COARSE_TIMER_SECS=1 + +# +# DHCP server +# +CONFIG_LWIP_DHCPS=y +CONFIG_LWIP_DHCPS_LEASE_UNIT=60 +CONFIG_LWIP_DHCPS_MAX_STATION_NUM=8 +# end of DHCP server + +# CONFIG_LWIP_AUTOIP is not set +# CONFIG_LWIP_IPV6 is not set +# CONFIG_LWIP_NETIF_STATUS_CALLBACK is not set +CONFIG_LWIP_NETIF_LOOPBACK=y +CONFIG_LWIP_LOOPBACK_MAX_PBUFS=8 + +# +# TCP +# +CONFIG_LWIP_MAX_ACTIVE_TCP=16 +CONFIG_LWIP_MAX_LISTENING_TCP=16 +CONFIG_LWIP_TCP_HIGH_SPEED_RETRANSMISSION=y +CONFIG_LWIP_TCP_MAXRTX=12 +CONFIG_LWIP_TCP_SYNMAXRTX=12 +CONFIG_LWIP_TCP_MSS=1440 +CONFIG_LWIP_TCP_TMR_INTERVAL=250 +CONFIG_LWIP_TCP_MSL=60000 +CONFIG_LWIP_TCP_FIN_WAIT_TIMEOUT=20000 +CONFIG_LWIP_TCP_SND_BUF_DEFAULT=4096 +CONFIG_LWIP_TCP_WND_DEFAULT=4096 +CONFIG_LWIP_TCP_RECVMBOX_SIZE=6 +CONFIG_LWIP_TCP_QUEUE_OOSEQ=y +CONFIG_LWIP_TCP_OOSEQ_TIMEOUT=6 +CONFIG_LWIP_TCP_OOSEQ_MAX_PBUFS=4 +# CONFIG_LWIP_TCP_SACK_OUT is not set +CONFIG_LWIP_TCP_KEEP_CONNECTION_WHEN_IP_CHANGES=y +CONFIG_LWIP_TCP_OVERSIZE_MSS=y +# CONFIG_LWIP_TCP_OVERSIZE_QUARTER_MSS is not set +# CONFIG_LWIP_TCP_OVERSIZE_DISABLE is not set +CONFIG_LWIP_TCP_RTO_TIME=1500 +# end of TCP + +# +# UDP +# +CONFIG_LWIP_MAX_UDP_PCBS=12 +CONFIG_LWIP_UDP_RECVMBOX_SIZE=6 +# end of UDP + +# +# Checksums +# +# CONFIG_LWIP_CHECKSUM_CHECK_IP is not set +# CONFIG_LWIP_CHECKSUM_CHECK_UDP is not set +# CONFIG_LWIP_CHECKSUM_CHECK_ICMP is not set +# end of Checksums + +CONFIG_LWIP_TCPIP_TASK_STACK_SIZE=3072 +CONFIG_LWIP_TCPIP_TASK_AFFINITY_NO_AFFINITY=y +# CONFIG_LWIP_TCPIP_TASK_AFFINITY_CPU0 is not set +# CONFIG_LWIP_TCPIP_TASK_AFFINITY_CPU1 is not set +CONFIG_LWIP_TCPIP_TASK_AFFINITY=0x7FFFFFFF +# CONFIG_LWIP_PPP_SUPPORT is not set +# CONFIG_LWIP_SLIP_SUPPORT is not set + +# +# ICMP +# +CONFIG_LWIP_ICMP=y +CONFIG_LWIP_MULTICAST_PING=y +CONFIG_LWIP_BROADCAST_PING=y +# end of ICMP + +# +# LWIP RAW API +# +CONFIG_LWIP_MAX_RAW_PCBS=16 +# end of LWIP RAW API + +# +# SNTP +# +CONFIG_LWIP_SNTP_MAX_SERVERS=1 +# CONFIG_LWIP_DHCP_GET_NTP_SRV is not set +CONFIG_LWIP_SNTP_UPDATE_DELAY=3600000 +# end of SNTP + +# +# DNS +# +CONFIG_LWIP_DNS_MAX_SERVERS=3 +# CONFIG_LWIP_FALLBACK_DNS_SERVER_SUPPORT is not set +# end of DNS + +CONFIG_LWIP_ESP_LWIP_ASSERT=y + +# +# Hooks +# +# CONFIG_LWIP_HOOK_TCP_ISN_NONE is not set +CONFIG_LWIP_HOOK_TCP_ISN_DEFAULT=y +# CONFIG_LWIP_HOOK_TCP_ISN_CUSTOM is not set +CONFIG_LWIP_HOOK_NETCONN_EXT_RESOLVE_NONE=y +# CONFIG_LWIP_HOOK_NETCONN_EXT_RESOLVE_DEFAULT is not set +# CONFIG_LWIP_HOOK_NETCONN_EXT_RESOLVE_CUSTOM is not set +# end of Hooks + +# CONFIG_LWIP_DEBUG is not set +# end of LWIP + +# +# mbedTLS +# +CONFIG_MBEDTLS_INTERNAL_MEM_ALLOC=y +# CONFIG_MBEDTLS_DEFAULT_MEM_ALLOC is not set +# CONFIG_MBEDTLS_CUSTOM_MEM_ALLOC is not set +CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN=y +CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=4096 +CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=2048 +CONFIG_MBEDTLS_DYNAMIC_BUFFER=y +CONFIG_MBEDTLS_DYNAMIC_FREE_PEER_CERT=y +CONFIG_MBEDTLS_DYNAMIC_FREE_CONFIG_DATA=y +CONFIG_MBEDTLS_DYNAMIC_FREE_CA_CERT=y +# CONFIG_MBEDTLS_DEBUG is not set + +# +# mbedTLS v2.28.x related +# +# CONFIG_MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH is not set +# CONFIG_MBEDTLS_ECDH_LEGACY_CONTEXT is not set +# CONFIG_MBEDTLS_X509_TRUSTED_CERT_CALLBACK is not set +# CONFIG_MBEDTLS_SSL_CONTEXT_SERIALIZATION is not set +# end of mbedTLS v2.28.x related + +# +# Certificate Bundle +# +CONFIG_MBEDTLS_CERTIFICATE_BUNDLE=y +# CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_FULL is not set +CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_CMN=y +# CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_NONE is not set +# CONFIG_MBEDTLS_CUSTOM_CERTIFICATE_BUNDLE is not set +CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_MAX_CERTS=100 +# end of Certificate Bundle + +CONFIG_MBEDTLS_ECP_RESTARTABLE=y +CONFIG_MBEDTLS_CMAC_C=y +CONFIG_MBEDTLS_HARDWARE_AES=y +CONFIG_MBEDTLS_HARDWARE_MPI=y +CONFIG_MBEDTLS_HARDWARE_SHA=y +CONFIG_MBEDTLS_ROM_MD5=y +# CONFIG_MBEDTLS_ATCA_HW_ECDSA_SIGN is not set +# CONFIG_MBEDTLS_ATCA_HW_ECDSA_VERIFY is not set +CONFIG_MBEDTLS_HAVE_TIME=y +# CONFIG_MBEDTLS_HAVE_TIME_DATE is not set +CONFIG_MBEDTLS_ECDSA_DETERMINISTIC=y +CONFIG_MBEDTLS_SHA512_C=y +# CONFIG_MBEDTLS_TLS_SERVER_AND_CLIENT is not set +# CONFIG_MBEDTLS_TLS_SERVER_ONLY is not set +CONFIG_MBEDTLS_TLS_CLIENT_ONLY=y +# CONFIG_MBEDTLS_TLS_DISABLED is not set +CONFIG_MBEDTLS_TLS_CLIENT=y +CONFIG_MBEDTLS_TLS_ENABLED=y + +# +# TLS Key Exchange Methods +# +# CONFIG_MBEDTLS_PSK_MODES is not set +CONFIG_MBEDTLS_KEY_EXCHANGE_RSA=y +CONFIG_MBEDTLS_KEY_EXCHANGE_DHE_RSA=y +CONFIG_MBEDTLS_KEY_EXCHANGE_ELLIPTIC_CURVE=y +CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_RSA=y +CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA=y +CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA=y +CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_RSA=y +# end of TLS Key Exchange Methods + +CONFIG_MBEDTLS_SSL_RENEGOTIATION=y +# CONFIG_MBEDTLS_SSL_PROTO_SSL3 is not set +CONFIG_MBEDTLS_SSL_PROTO_TLS1=y +CONFIG_MBEDTLS_SSL_PROTO_TLS1_1=y +CONFIG_MBEDTLS_SSL_PROTO_TLS1_2=y +# CONFIG_MBEDTLS_SSL_PROTO_GMTSSL1_1 is not set +# CONFIG_MBEDTLS_SSL_PROTO_DTLS is not set +CONFIG_MBEDTLS_SSL_ALPN=y +CONFIG_MBEDTLS_CLIENT_SSL_SESSION_TICKETS=y +CONFIG_MBEDTLS_X509_CHECK_KEY_USAGE=y +CONFIG_MBEDTLS_X509_CHECK_EXTENDED_KEY_USAGE=y +CONFIG_MBEDTLS_SERVER_SSL_SESSION_TICKETS=y + +# +# Symmetric Ciphers +# +CONFIG_MBEDTLS_AES_C=y +# CONFIG_MBEDTLS_CAMELLIA_C is not set +# CONFIG_MBEDTLS_DES_C is not set +CONFIG_MBEDTLS_RC4_DISABLED=y +# CONFIG_MBEDTLS_RC4_ENABLED_NO_DEFAULT is not set +# CONFIG_MBEDTLS_RC4_ENABLED is not set +# CONFIG_MBEDTLS_BLOWFISH_C is not set +# CONFIG_MBEDTLS_XTEA_C is not set +CONFIG_MBEDTLS_CCM_C=y +CONFIG_MBEDTLS_GCM_C=y +# CONFIG_MBEDTLS_NIST_KW_C is not set +# end of Symmetric Ciphers + +# CONFIG_MBEDTLS_RIPEMD160_C is not set + +# +# Certificates +# +CONFIG_MBEDTLS_PEM_PARSE_C=y +CONFIG_MBEDTLS_PEM_WRITE_C=y +CONFIG_MBEDTLS_X509_CRL_PARSE_C=y +CONFIG_MBEDTLS_X509_CSR_PARSE_C=y +# end of Certificates + +CONFIG_MBEDTLS_ECP_C=y +CONFIG_MBEDTLS_ECDH_C=y +CONFIG_MBEDTLS_ECDSA_C=y +# CONFIG_MBEDTLS_ECJPAKE_C is not set +CONFIG_MBEDTLS_ECP_DP_SECP192R1_ENABLED=y +CONFIG_MBEDTLS_ECP_DP_SECP224R1_ENABLED=y +CONFIG_MBEDTLS_ECP_DP_SECP256R1_ENABLED=y +CONFIG_MBEDTLS_ECP_DP_SECP384R1_ENABLED=y +CONFIG_MBEDTLS_ECP_DP_SECP521R1_ENABLED=y +CONFIG_MBEDTLS_ECP_DP_SECP192K1_ENABLED=y +CONFIG_MBEDTLS_ECP_DP_SECP224K1_ENABLED=y +CONFIG_MBEDTLS_ECP_DP_SECP256K1_ENABLED=y +CONFIG_MBEDTLS_ECP_DP_BP256R1_ENABLED=y +CONFIG_MBEDTLS_ECP_DP_BP384R1_ENABLED=y +CONFIG_MBEDTLS_ECP_DP_BP512R1_ENABLED=y +CONFIG_MBEDTLS_ECP_DP_CURVE25519_ENABLED=y +CONFIG_MBEDTLS_ECP_NIST_OPTIM=y +# CONFIG_MBEDTLS_POLY1305_C is not set +# CONFIG_MBEDTLS_CHACHA20_C is not set +# CONFIG_MBEDTLS_HKDF_C is not set +# CONFIG_MBEDTLS_THREADING_C is not set +# CONFIG_MBEDTLS_LARGE_KEY_SOFTWARE_MPI is not set +# CONFIG_MBEDTLS_SECURITY_RISKS is not set +# end of mbedTLS + +# +# mDNS +# +CONFIG_MDNS_MAX_SERVICES=4 +CONFIG_MDNS_TASK_PRIORITY=1 +CONFIG_MDNS_TASK_STACK_SIZE=3072 +# CONFIG_MDNS_TASK_AFFINITY_NO_AFFINITY is not set +CONFIG_MDNS_TASK_AFFINITY_CPU0=y +# CONFIG_MDNS_TASK_AFFINITY_CPU1 is not set +CONFIG_MDNS_TASK_AFFINITY=0x0 +CONFIG_MDNS_SERVICE_ADD_TIMEOUT_MS=2000 +# CONFIG_MDNS_STRICT_MODE is not set +CONFIG_MDNS_TIMER_PERIOD_MS=100 +# CONFIG_MDNS_NETWORKING_SOCKET is not set +CONFIG_MDNS_MULTIPLE_INSTANCE=y +# end of mDNS + +# +# ESP-MQTT Configurations +# +# CONFIG_MQTT_PROTOCOL_311 is not set +# CONFIG_MQTT_TRANSPORT_SSL is not set +# CONFIG_MQTT_TRANSPORT_WEBSOCKET is not set +# CONFIG_MQTT_MSG_ID_INCREMENTAL is not set +# CONFIG_MQTT_SKIP_PUBLISH_IF_DISCONNECTED is not set +# CONFIG_MQTT_REPORT_DELETED_MESSAGES is not set +# CONFIG_MQTT_USE_CUSTOM_CONFIG is not set +# CONFIG_MQTT_TASK_CORE_SELECTION_ENABLED is not set +# CONFIG_MQTT_CUSTOM_OUTBOX is not set +# end of ESP-MQTT Configurations + +# +# Newlib +# +# CONFIG_NEWLIB_STDOUT_LINE_ENDING_CRLF is not set +CONFIG_NEWLIB_STDOUT_LINE_ENDING_LF=y +# CONFIG_NEWLIB_STDOUT_LINE_ENDING_CR is not set +# CONFIG_NEWLIB_STDIN_LINE_ENDING_CRLF is not set +# CONFIG_NEWLIB_STDIN_LINE_ENDING_LF is not set +CONFIG_NEWLIB_STDIN_LINE_ENDING_CR=y +# CONFIG_NEWLIB_NANO_FORMAT is not set +# end of Newlib + +# +# NVS +# +# CONFIG_NVS_ASSERT_ERROR_CHECK is not set +# end of NVS + +# +# OpenSSL +# +# CONFIG_OPENSSL_DEBUG is not set +# CONFIG_OPENSSL_ERROR_STACK is not set +# CONFIG_OPENSSL_ASSERT_DO_NOTHING is not set +CONFIG_OPENSSL_ASSERT_EXIT=y +# end of OpenSSL + +# +# OpenThread +# +# CONFIG_OPENTHREAD_ENABLED is not set +# end of OpenThread + +# +# PThreads +# +CONFIG_PTHREAD_TASK_PRIO_DEFAULT=5 +CONFIG_PTHREAD_TASK_STACK_SIZE_DEFAULT=3072 +CONFIG_PTHREAD_STACK_MIN=768 +CONFIG_PTHREAD_DEFAULT_CORE_NO_AFFINITY=y +# CONFIG_PTHREAD_DEFAULT_CORE_0 is not set +# CONFIG_PTHREAD_DEFAULT_CORE_1 is not set +CONFIG_PTHREAD_TASK_CORE_DEFAULT=-1 +CONFIG_PTHREAD_TASK_NAME_DEFAULT="pthread" +# end of PThreads + +# +# Main Flash configuration +# + +# +# Optional and Experimental Features (READ DOCS FIRST) +# + +# +# Features here require specific hardware (READ DOCS FIRST!) +# +# end of Optional and Experimental Features (READ DOCS FIRST) +# end of Main Flash configuration + +# +# SPI Flash driver +# +# CONFIG_SPI_FLASH_VERIFY_WRITE is not set +# CONFIG_SPI_FLASH_ENABLE_COUNTERS is not set +CONFIG_SPI_FLASH_ROM_DRIVER_PATCH=y +CONFIG_SPI_FLASH_DANGEROUS_WRITE_ABORTS=y +# CONFIG_SPI_FLASH_DANGEROUS_WRITE_FAILS is not set +# CONFIG_SPI_FLASH_DANGEROUS_WRITE_ALLOWED is not set +# CONFIG_SPI_FLASH_USE_LEGACY_IMPL is not set +# CONFIG_SPI_FLASH_SHARE_SPI1_BUS is not set +# CONFIG_SPI_FLASH_BYPASS_BLOCK_ERASE is not set +CONFIG_SPI_FLASH_YIELD_DURING_ERASE=y +CONFIG_SPI_FLASH_ERASE_YIELD_DURATION_MS=20 +CONFIG_SPI_FLASH_ERASE_YIELD_TICKS=1 +CONFIG_SPI_FLASH_WRITE_CHUNK_SIZE=8192 +# CONFIG_SPI_FLASH_SIZE_OVERRIDE is not set +# CONFIG_SPI_FLASH_CHECK_ERASE_TIMEOUT_DISABLED is not set +# CONFIG_SPI_FLASH_OVERRIDE_CHIP_DRIVER_LIST is not set + +# +# Auto-detect flash chips +# +CONFIG_SPI_FLASH_SUPPORT_ISSI_CHIP=y +CONFIG_SPI_FLASH_SUPPORT_MXIC_CHIP=y +CONFIG_SPI_FLASH_SUPPORT_GD_CHIP=y +CONFIG_SPI_FLASH_SUPPORT_WINBOND_CHIP=y +CONFIG_SPI_FLASH_SUPPORT_BOYA_CHIP=y +CONFIG_SPI_FLASH_SUPPORT_TH_CHIP=y +# end of Auto-detect flash chips + +CONFIG_SPI_FLASH_ENABLE_ENCRYPTED_READ_WRITE=y +# end of SPI Flash driver + +# +# SPIFFS Configuration +# +CONFIG_SPIFFS_MAX_PARTITIONS=3 + +# +# SPIFFS Cache Configuration +# +# CONFIG_SPIFFS_CACHE is not set +# end of SPIFFS Cache Configuration + +# CONFIG_SPIFFS_PAGE_CHECK is not set +CONFIG_SPIFFS_GC_MAX_RUNS=10 +# CONFIG_SPIFFS_GC_STATS is not set +CONFIG_SPIFFS_PAGE_SIZE=256 +CONFIG_SPIFFS_OBJ_NAME_LEN=32 +# CONFIG_SPIFFS_FOLLOW_SYMLINKS is not set +# CONFIG_SPIFFS_USE_MAGIC is not set +CONFIG_SPIFFS_META_LENGTH=4 +# CONFIG_SPIFFS_USE_MTIME is not set + +# +# Debug Configuration +# +# CONFIG_SPIFFS_DBG is not set +# CONFIG_SPIFFS_API_DBG is not set +# CONFIG_SPIFFS_GC_DBG is not set +# CONFIG_SPIFFS_CHECK_DBG is not set +# CONFIG_SPIFFS_TEST_VISUALISATION is not set +# end of Debug Configuration +# end of SPIFFS Configuration + +# +# TCP Transport +# + +# +# Websocket +# +CONFIG_WS_TRANSPORT=y +CONFIG_WS_BUFFER_SIZE=1024 +# end of Websocket +# end of TCP Transport + +# +# Unity unit testing library +# +CONFIG_UNITY_ENABLE_FLOAT=y +CONFIG_UNITY_ENABLE_DOUBLE=y +# CONFIG_UNITY_ENABLE_64BIT is not set +# CONFIG_UNITY_ENABLE_COLOR is not set +CONFIG_UNITY_ENABLE_IDF_TEST_RUNNER=y +# CONFIG_UNITY_ENABLE_FIXTURE is not set +# CONFIG_UNITY_ENABLE_BACKTRACE_ON_FAIL is not set +# end of Unity unit testing library + +# +# Root Hub configuration +# +# end of Root Hub configuration + +# +# Virtual file system +# +# CONFIG_VFS_SUPPORT_IO is not set +# end of Virtual file system + +# +# Wear Levelling +# +# CONFIG_WL_SECTOR_SIZE_512 is not set +CONFIG_WL_SECTOR_SIZE_4096=y +CONFIG_WL_SECTOR_SIZE=4096 +# end of Wear Levelling + +# +# Wi-Fi Provisioning Manager +# +CONFIG_WIFI_PROV_SCAN_MAX_ENTRIES=16 +CONFIG_WIFI_PROV_AUTOSTOP_TIMEOUT=30 +CONFIG_WIFI_PROV_BLE_BONDING=y +CONFIG_WIFI_PROV_BLE_FORCE_ENCRYPTION=y +# CONFIG_WIFI_PROV_KEEP_BLE_ON_AFTER_PROV is not set +# end of Wi-Fi Provisioning Manager + +# +# Supplicant +# +CONFIG_WPA_MBEDTLS_CRYPTO=y +# CONFIG_WPA_WAPI_PSK is not set +# CONFIG_WPA_SUITE_B_192 is not set +# CONFIG_WPA_DEBUG_PRINT is not set +# CONFIG_WPA_TESTING_OPTIONS is not set +# CONFIG_WPA_WPS_STRICT is not set +# CONFIG_WPA_11KV_SUPPORT is not set +# CONFIG_WPA_MBO_SUPPORT is not set +# CONFIG_WPA_DPP_SUPPORT is not set +# end of Supplicant + +# +# LED strip +# +CONFIG_LED_STRIP_FLUSH_TIMEOUT=1000 +CONFIG_LED_STRIP_PAUSE_LENGTH=50 +# end of LED strip + +# +# Lua +# +CONFIG_LUA_MAXSTACK=4000 +CONFIG_LUA_ROOT="/lua" +# CONFIG_LUA_COMPAT_5_3 is not set +# end of Lua +# end of Component config + +# +# Compatibility options +# +# CONFIG_LEGACY_INCLUDE_COMMON_HEADERS is not set +# end of Compatibility options + +# Deprecated options for backward compatibility +CONFIG_TOOLPREFIX="xtensa-esp32s3-elf-" +CONFIG_LOG_BOOTLOADER_LEVEL_NONE=y +# CONFIG_LOG_BOOTLOADER_LEVEL_ERROR is not set +# CONFIG_LOG_BOOTLOADER_LEVEL_WARN is not set +# CONFIG_LOG_BOOTLOADER_LEVEL_INFO is not set +# CONFIG_LOG_BOOTLOADER_LEVEL_DEBUG is not set +# CONFIG_LOG_BOOTLOADER_LEVEL_VERBOSE is not set +CONFIG_LOG_BOOTLOADER_LEVEL=0 +# CONFIG_APP_ROLLBACK_ENABLE is not set +# CONFIG_FLASH_ENCRYPTION_ENABLED is not set +# CONFIG_FLASHMODE_QIO is not set +# CONFIG_FLASHMODE_QOUT is not set +CONFIG_FLASHMODE_DIO=y +# CONFIG_FLASHMODE_DOUT is not set +# CONFIG_MONITOR_BAUD_9600B is not set +# CONFIG_MONITOR_BAUD_57600B is not set +CONFIG_MONITOR_BAUD_115200B=y +# CONFIG_MONITOR_BAUD_230400B is not set +# CONFIG_MONITOR_BAUD_921600B is not set +# CONFIG_MONITOR_BAUD_2MB is not set +# CONFIG_MONITOR_BAUD_OTHER is not set +CONFIG_MONITOR_BAUD_OTHER_VAL=115200 +CONFIG_MONITOR_BAUD=115200 +# CONFIG_COMPILER_OPTIMIZATION_LEVEL_DEBUG is not set +CONFIG_COMPILER_OPTIMIZATION_LEVEL_RELEASE=y +CONFIG_OPTIMIZATION_ASSERTIONS_ENABLED=y +# CONFIG_OPTIMIZATION_ASSERTIONS_SILENT is not set +# CONFIG_OPTIMIZATION_ASSERTIONS_DISABLED is not set +CONFIG_OPTIMIZATION_ASSERTION_LEVEL=2 +# CONFIG_CXX_EXCEPTIONS is not set +CONFIG_STACK_CHECK_NONE=y +# CONFIG_STACK_CHECK_NORM is not set +# CONFIG_STACK_CHECK_STRONG is not set +# CONFIG_STACK_CHECK_ALL is not set +# CONFIG_WARN_WRITE_STRINGS is not set +# CONFIG_DISABLE_GCC8_WARNINGS is not set +# CONFIG_ESP32_APPTRACE_DEST_TRAX is not set +CONFIG_ESP32_APPTRACE_DEST_NONE=y +CONFIG_ESP32_APPTRACE_LOCK_ENABLE=y +CONFIG_BTDM_CONTROLLER_MODE_BLE_ONLY=y +# CONFIG_BTDM_CONTROLLER_MODE_BR_EDR_ONLY is not set +# CONFIG_BTDM_CONTROLLER_MODE_BTDM is not set +CONFIG_BTDM_CONTROLLER_BLE_MAX_CONN=3 +CONFIG_BTDM_CONTROLLER_BLE_MAX_CONN_EFF=3 +CONFIG_BTDM_CONTROLLER_BR_EDR_MAX_ACL_CONN_EFF=0 +CONFIG_BTDM_CONTROLLER_BR_EDR_MAX_SYNC_CONN_EFF=0 +CONFIG_BTDM_CONTROLLER_PINNED_TO_CORE=0 +CONFIG_BTDM_CONTROLLER_HCI_MODE_VHCI=y +# CONFIG_BTDM_CONTROLLER_HCI_MODE_UART_H4 is not set +CONFIG_BTDM_CONTROLLER_MODEM_SLEEP=y +CONFIG_BLE_SCAN_DUPLICATE=y +CONFIG_SCAN_DUPLICATE_BY_DEVICE_ADDR=y +# CONFIG_SCAN_DUPLICATE_BY_ADV_DATA is not set +# CONFIG_SCAN_DUPLICATE_BY_ADV_DATA_AND_DEVICE_ADDR is not set +CONFIG_SCAN_DUPLICATE_TYPE=0 +CONFIG_DUPLICATE_SCAN_CACHE_SIZE=100 +# CONFIG_BLE_MESH_SCAN_DUPLICATE_EN is not set +CONFIG_BTDM_CONTROLLER_FULL_SCAN_SUPPORTED=y +CONFIG_BLE_ADV_REPORT_FLOW_CONTROL_SUPPORTED=y +CONFIG_BLE_ADV_REPORT_FLOW_CONTROL_NUM=100 +CONFIG_BLE_ADV_REPORT_DISCARD_THRSHOLD=20 +CONFIG_BLUEDROID_ENABLED=y +# CONFIG_NIMBLE_ENABLED is not set +CONFIG_BTC_TASK_STACK_SIZE=4096 +CONFIG_BLUEDROID_PINNED_TO_CORE_0=y +# CONFIG_BLUEDROID_PINNED_TO_CORE_1 is not set +CONFIG_BLUEDROID_PINNED_TO_CORE=0 +CONFIG_BTU_TASK_STACK_SIZE=4096 +# CONFIG_BLUEDROID_MEM_DEBUG is not set +# CONFIG_CLASSIC_BT_ENABLED is not set +CONFIG_GATTS_ENABLE=y +# CONFIG_GATTS_SEND_SERVICE_CHANGE_MANUAL is not set +CONFIG_GATTS_SEND_SERVICE_CHANGE_AUTO=y +CONFIG_GATTS_SEND_SERVICE_CHANGE_MODE=0 +CONFIG_GATTC_ENABLE=y +# CONFIG_GATTC_CACHE_NVS_FLASH is not set +CONFIG_BLE_SMP_ENABLE=y +# CONFIG_SMP_SLAVE_CON_PARAMS_UPD_ENABLE is not set +# CONFIG_HCI_TRACE_LEVEL_NONE is not set +# CONFIG_HCI_TRACE_LEVEL_ERROR is not set +CONFIG_HCI_TRACE_LEVEL_WARNING=y +# CONFIG_HCI_TRACE_LEVEL_API is not set +# CONFIG_HCI_TRACE_LEVEL_EVENT is not set +# CONFIG_HCI_TRACE_LEVEL_DEBUG is not set +# CONFIG_HCI_TRACE_LEVEL_VERBOSE is not set +CONFIG_HCI_INITIAL_TRACE_LEVEL=2 +# CONFIG_BTM_TRACE_LEVEL_NONE is not set +# CONFIG_BTM_TRACE_LEVEL_ERROR is not set +CONFIG_BTM_TRACE_LEVEL_WARNING=y +# CONFIG_BTM_TRACE_LEVEL_API is not set +# CONFIG_BTM_TRACE_LEVEL_EVENT is not set +# CONFIG_BTM_TRACE_LEVEL_DEBUG is not set +# CONFIG_BTM_TRACE_LEVEL_VERBOSE is not set +CONFIG_BTM_INITIAL_TRACE_LEVEL=2 +# CONFIG_L2CAP_TRACE_LEVEL_NONE is not set +# CONFIG_L2CAP_TRACE_LEVEL_ERROR is not set +CONFIG_L2CAP_TRACE_LEVEL_WARNING=y +# CONFIG_L2CAP_TRACE_LEVEL_API is not set +# CONFIG_L2CAP_TRACE_LEVEL_EVENT is not set +# CONFIG_L2CAP_TRACE_LEVEL_DEBUG is not set +# CONFIG_L2CAP_TRACE_LEVEL_VERBOSE is not set +CONFIG_L2CAP_INITIAL_TRACE_LEVEL=2 +# CONFIG_RFCOMM_TRACE_LEVEL_NONE is not set +# CONFIG_RFCOMM_TRACE_LEVEL_ERROR is not set +CONFIG_RFCOMM_TRACE_LEVEL_WARNING=y +# CONFIG_RFCOMM_TRACE_LEVEL_API is not set +# CONFIG_RFCOMM_TRACE_LEVEL_EVENT is not set +# CONFIG_RFCOMM_TRACE_LEVEL_DEBUG is not set +# CONFIG_RFCOMM_TRACE_LEVEL_VERBOSE is not set +CONFIG_RFCOMM_INITIAL_TRACE_LEVEL=2 +# CONFIG_SDP_TRACE_LEVEL_NONE is not set +# CONFIG_SDP_TRACE_LEVEL_ERROR is not set +CONFIG_SDP_TRACE_LEVEL_WARNING=y +# CONFIG_SDP_TRACE_LEVEL_API is not set +# CONFIG_SDP_TRACE_LEVEL_EVENT is not set +# CONFIG_SDP_TRACE_LEVEL_DEBUG is not set +# CONFIG_SDP_TRACE_LEVEL_VERBOSE is not set +CONFIG_BTH_LOG_SDP_INITIAL_TRACE_LEVEL=2 +# CONFIG_GAP_TRACE_LEVEL_NONE is not set +# CONFIG_GAP_TRACE_LEVEL_ERROR is not set +CONFIG_GAP_TRACE_LEVEL_WARNING=y +# CONFIG_GAP_TRACE_LEVEL_API is not set +# CONFIG_GAP_TRACE_LEVEL_EVENT is not set +# CONFIG_GAP_TRACE_LEVEL_DEBUG is not set +# CONFIG_GAP_TRACE_LEVEL_VERBOSE is not set +CONFIG_GAP_INITIAL_TRACE_LEVEL=2 +CONFIG_BNEP_INITIAL_TRACE_LEVEL=2 +# CONFIG_PAN_TRACE_LEVEL_NONE is not set +# CONFIG_PAN_TRACE_LEVEL_ERROR is not set +CONFIG_PAN_TRACE_LEVEL_WARNING=y +# CONFIG_PAN_TRACE_LEVEL_API is not set +# CONFIG_PAN_TRACE_LEVEL_EVENT is not set +# CONFIG_PAN_TRACE_LEVEL_DEBUG is not set +# CONFIG_PAN_TRACE_LEVEL_VERBOSE is not set +CONFIG_PAN_INITIAL_TRACE_LEVEL=2 +# CONFIG_A2D_TRACE_LEVEL_NONE is not set +# CONFIG_A2D_TRACE_LEVEL_ERROR is not set +CONFIG_A2D_TRACE_LEVEL_WARNING=y +# CONFIG_A2D_TRACE_LEVEL_API is not set +# CONFIG_A2D_TRACE_LEVEL_EVENT is not set +# CONFIG_A2D_TRACE_LEVEL_DEBUG is not set +# CONFIG_A2D_TRACE_LEVEL_VERBOSE is not set +CONFIG_A2D_INITIAL_TRACE_LEVEL=2 +# CONFIG_AVDT_TRACE_LEVEL_NONE is not set +# CONFIG_AVDT_TRACE_LEVEL_ERROR is not set +CONFIG_AVDT_TRACE_LEVEL_WARNING=y +# CONFIG_AVDT_TRACE_LEVEL_API is not set +# CONFIG_AVDT_TRACE_LEVEL_EVENT is not set +# CONFIG_AVDT_TRACE_LEVEL_DEBUG is not set +# CONFIG_AVDT_TRACE_LEVEL_VERBOSE is not set +CONFIG_AVDT_INITIAL_TRACE_LEVEL=2 +# CONFIG_AVCT_TRACE_LEVEL_NONE is not set +# CONFIG_AVCT_TRACE_LEVEL_ERROR is not set +CONFIG_AVCT_TRACE_LEVEL_WARNING=y +# CONFIG_AVCT_TRACE_LEVEL_API is not set +# CONFIG_AVCT_TRACE_LEVEL_EVENT is not set +# CONFIG_AVCT_TRACE_LEVEL_DEBUG is not set +# CONFIG_AVCT_TRACE_LEVEL_VERBOSE is not set +CONFIG_AVCT_INITIAL_TRACE_LEVEL=2 +# CONFIG_AVRC_TRACE_LEVEL_NONE is not set +# CONFIG_AVRC_TRACE_LEVEL_ERROR is not set +CONFIG_AVRC_TRACE_LEVEL_WARNING=y +# CONFIG_AVRC_TRACE_LEVEL_API is not set +# CONFIG_AVRC_TRACE_LEVEL_EVENT is not set +# CONFIG_AVRC_TRACE_LEVEL_DEBUG is not set +# CONFIG_AVRC_TRACE_LEVEL_VERBOSE is not set +CONFIG_AVRC_INITIAL_TRACE_LEVEL=2 +# CONFIG_MCA_TRACE_LEVEL_NONE is not set +# CONFIG_MCA_TRACE_LEVEL_ERROR is not set +CONFIG_MCA_TRACE_LEVEL_WARNING=y +# CONFIG_MCA_TRACE_LEVEL_API is not set +# CONFIG_MCA_TRACE_LEVEL_EVENT is not set +# CONFIG_MCA_TRACE_LEVEL_DEBUG is not set +# CONFIG_MCA_TRACE_LEVEL_VERBOSE is not set +CONFIG_MCA_INITIAL_TRACE_LEVEL=2 +# CONFIG_HID_TRACE_LEVEL_NONE is not set +# CONFIG_HID_TRACE_LEVEL_ERROR is not set +CONFIG_HID_TRACE_LEVEL_WARNING=y +# CONFIG_HID_TRACE_LEVEL_API is not set +# CONFIG_HID_TRACE_LEVEL_EVENT is not set +# CONFIG_HID_TRACE_LEVEL_DEBUG is not set +# CONFIG_HID_TRACE_LEVEL_VERBOSE is not set +CONFIG_HID_INITIAL_TRACE_LEVEL=2 +# CONFIG_APPL_TRACE_LEVEL_NONE is not set +# CONFIG_APPL_TRACE_LEVEL_ERROR is not set +CONFIG_APPL_TRACE_LEVEL_WARNING=y +# CONFIG_APPL_TRACE_LEVEL_API is not set +# CONFIG_APPL_TRACE_LEVEL_EVENT is not set +# CONFIG_APPL_TRACE_LEVEL_DEBUG is not set +# CONFIG_APPL_TRACE_LEVEL_VERBOSE is not set +CONFIG_APPL_INITIAL_TRACE_LEVEL=2 +# CONFIG_GATT_TRACE_LEVEL_NONE is not set +# CONFIG_GATT_TRACE_LEVEL_ERROR is not set +CONFIG_GATT_TRACE_LEVEL_WARNING=y +# CONFIG_GATT_TRACE_LEVEL_API is not set +# CONFIG_GATT_TRACE_LEVEL_EVENT is not set +# CONFIG_GATT_TRACE_LEVEL_DEBUG is not set +# CONFIG_GATT_TRACE_LEVEL_VERBOSE is not set +CONFIG_GATT_INITIAL_TRACE_LEVEL=2 +# CONFIG_SMP_TRACE_LEVEL_NONE is not set +# CONFIG_SMP_TRACE_LEVEL_ERROR is not set +CONFIG_SMP_TRACE_LEVEL_WARNING=y +# CONFIG_SMP_TRACE_LEVEL_API is not set +# CONFIG_SMP_TRACE_LEVEL_EVENT is not set +# CONFIG_SMP_TRACE_LEVEL_DEBUG is not set +# CONFIG_SMP_TRACE_LEVEL_VERBOSE is not set +CONFIG_SMP_INITIAL_TRACE_LEVEL=2 +# CONFIG_BTIF_TRACE_LEVEL_NONE is not set +# CONFIG_BTIF_TRACE_LEVEL_ERROR is not set +CONFIG_BTIF_TRACE_LEVEL_WARNING=y +# CONFIG_BTIF_TRACE_LEVEL_API is not set +# CONFIG_BTIF_TRACE_LEVEL_EVENT is not set +# CONFIG_BTIF_TRACE_LEVEL_DEBUG is not set +# CONFIG_BTIF_TRACE_LEVEL_VERBOSE is not set +CONFIG_BTIF_INITIAL_TRACE_LEVEL=2 +# CONFIG_BTC_TRACE_LEVEL_NONE is not set +# CONFIG_BTC_TRACE_LEVEL_ERROR is not set +CONFIG_BTC_TRACE_LEVEL_WARNING=y +# CONFIG_BTC_TRACE_LEVEL_API is not set +# CONFIG_BTC_TRACE_LEVEL_EVENT is not set +# CONFIG_BTC_TRACE_LEVEL_DEBUG is not set +# CONFIG_BTC_TRACE_LEVEL_VERBOSE is not set +CONFIG_BTC_INITIAL_TRACE_LEVEL=2 +# CONFIG_OSI_TRACE_LEVEL_NONE is not set +# CONFIG_OSI_TRACE_LEVEL_ERROR is not set +CONFIG_OSI_TRACE_LEVEL_WARNING=y +# CONFIG_OSI_TRACE_LEVEL_API is not set +# CONFIG_OSI_TRACE_LEVEL_EVENT is not set +# CONFIG_OSI_TRACE_LEVEL_DEBUG is not set +# CONFIG_OSI_TRACE_LEVEL_VERBOSE is not set +CONFIG_OSI_INITIAL_TRACE_LEVEL=2 +# CONFIG_BLUFI_TRACE_LEVEL_NONE is not set +# CONFIG_BLUFI_TRACE_LEVEL_ERROR is not set +CONFIG_BLUFI_TRACE_LEVEL_WARNING=y +# CONFIG_BLUFI_TRACE_LEVEL_API is not set +# CONFIG_BLUFI_TRACE_LEVEL_EVENT is not set +# CONFIG_BLUFI_TRACE_LEVEL_DEBUG is not set +# CONFIG_BLUFI_TRACE_LEVEL_VERBOSE is not set +CONFIG_BLUFI_INITIAL_TRACE_LEVEL=2 +# CONFIG_BLE_HOST_QUEUE_CONGESTION_CHECK is not set +CONFIG_SMP_ENABLE=y +# CONFIG_BLE_ACTIVE_SCAN_REPORT_ADV_SCAN_RSP_INDIVIDUALLY is not set +CONFIG_BLE_ESTABLISH_LINK_CONNECTION_TIMEOUT=30 +CONFIG_ADC2_DISABLE_DAC=y +# CONFIG_SPIRAM_SUPPORT is not set +CONFIG_TRACEMEM_RESERVE_DRAM=0x0 +# CONFIG_ULP_COPROC_ENABLED is not set +CONFIG_ULP_COPROC_RESERVE_MEM=0 +CONFIG_BROWNOUT_DET=y +CONFIG_BROWNOUT_DET_LVL_SEL_0=y +# CONFIG_BROWNOUT_DET_LVL_SEL_1 is not set +# CONFIG_BROWNOUT_DET_LVL_SEL_2 is not set +# CONFIG_BROWNOUT_DET_LVL_SEL_3 is not set +# CONFIG_BROWNOUT_DET_LVL_SEL_4 is not set +# CONFIG_BROWNOUT_DET_LVL_SEL_5 is not set +# CONFIG_BROWNOUT_DET_LVL_SEL_6 is not set +# CONFIG_BROWNOUT_DET_LVL_SEL_7 is not set +CONFIG_BROWNOUT_DET_LVL=0 +CONFIG_ESP32_RTC_CLOCK_SOURCE_INTERNAL_RC=y +# CONFIG_ESP32_RTC_CLOCK_SOURCE_EXTERNAL_CRYSTAL is not set +# CONFIG_ESP32_RTC_CLOCK_SOURCE_EXTERNAL_OSC is not set +# CONFIG_ESP32_RTC_CLOCK_SOURCE_INTERNAL_8MD256 is not set +# CONFIG_DISABLE_BASIC_ROM_CONSOLE is not set +# CONFIG_COMPATIBLE_PRE_V2_1_BOOTLOADERS is not set +# CONFIG_EVENT_LOOP_PROFILING is not set +CONFIG_POST_EVENTS_FROM_ISR=y +# CONFIG_POST_EVENTS_FROM_IRAM_ISR is not set +CONFIG_TWO_UNIVERSAL_MAC_ADDRESS=y +# CONFIG_FOUR_UNIVERSAL_MAC_ADDRESS is not set +CONFIG_NUMBER_OF_UNIVERSAL_MAC_ADDRESS=2 +# CONFIG_ESP_SYSTEM_PD_FLASH is not set +# CONFIG_ESP32C3_LIGHTSLEEP_GPIO_RESET_WORKAROUND is not set +CONFIG_IPC_TASK_STACK_SIZE=1536 +CONFIG_ESP32_PHY_CALIBRATION_AND_DATA_STORAGE=y +# CONFIG_ESP32_PHY_INIT_DATA_IN_PARTITION is not set +CONFIG_ESP32_PHY_MAX_WIFI_TX_POWER=20 +CONFIG_ESP32_PHY_MAX_TX_POWER=20 +CONFIG_ESP32_REDUCE_PHY_TX_POWER=y +# CONFIG_ESP32S2_PANIC_PRINT_HALT is not set +CONFIG_ESP32S2_PANIC_PRINT_REBOOT=y +# CONFIG_ESP32S2_PANIC_SILENT_REBOOT is not set +# CONFIG_ESP32S2_PANIC_GDBSTUB is not set +CONFIG_SYSTEM_EVENT_QUEUE_SIZE=32 +CONFIG_SYSTEM_EVENT_TASK_STACK_SIZE=3072 +CONFIG_MAIN_TASK_STACK_SIZE=3584 +CONFIG_CONSOLE_UART_DEFAULT=y +# CONFIG_CONSOLE_UART_CUSTOM is not set +# CONFIG_ESP_CONSOLE_UART_NONE is not set +CONFIG_CONSOLE_UART=y +CONFIG_CONSOLE_UART_NUM=0 +CONFIG_CONSOLE_UART_BAUDRATE=115200 +CONFIG_INT_WDT=y +CONFIG_INT_WDT_TIMEOUT_MS=300 +CONFIG_INT_WDT_CHECK_CPU1=y +CONFIG_TASK_WDT=y +# CONFIG_TASK_WDT_PANIC is not set +CONFIG_TASK_WDT_TIMEOUT_S=5 +CONFIG_TASK_WDT_CHECK_IDLE_TASK_CPU0=y +CONFIG_TASK_WDT_CHECK_IDLE_TASK_CPU1=y +# CONFIG_ESP32_DEBUG_STUBS_ENABLE is not set +CONFIG_TIMER_TASK_STACK_SIZE=3584 +CONFIG_SW_COEXIST_ENABLE=y +# CONFIG_ESP32_ENABLE_COREDUMP_TO_FLASH is not set +# CONFIG_ESP32_ENABLE_COREDUMP_TO_UART is not set +CONFIG_ESP32_ENABLE_COREDUMP_TO_NONE=y +# CONFIG_ENABLE_STATIC_TASK_CLEAN_UP_HOOK is not set +CONFIG_TIMER_TASK_PRIORITY=1 +CONFIG_TIMER_TASK_STACK_DEPTH=2048 +CONFIG_TIMER_QUEUE_LENGTH=10 +# CONFIG_L2_TO_L3_COPY is not set +# CONFIG_USE_ONLY_LWIP_SELECT is not set +CONFIG_ESP_GRATUITOUS_ARP=y +CONFIG_GARP_TMR_INTERVAL=60 +CONFIG_TCPIP_RECVMBOX_SIZE=16 +CONFIG_TCP_MAXRTX=12 +CONFIG_TCP_SYNMAXRTX=12 +CONFIG_TCP_MSS=1440 +CONFIG_TCP_MSL=60000 +CONFIG_TCP_SND_BUF_DEFAULT=4096 +CONFIG_TCP_WND_DEFAULT=4096 +CONFIG_TCP_RECVMBOX_SIZE=6 +CONFIG_TCP_QUEUE_OOSEQ=y +CONFIG_ESP_TCP_KEEP_CONNECTION_WHEN_IP_CHANGES=y +CONFIG_TCP_OVERSIZE_MSS=y +# CONFIG_TCP_OVERSIZE_QUARTER_MSS is not set +# CONFIG_TCP_OVERSIZE_DISABLE is not set +CONFIG_UDP_RECVMBOX_SIZE=6 +CONFIG_TCPIP_TASK_STACK_SIZE=3072 +CONFIG_TCPIP_TASK_AFFINITY_NO_AFFINITY=y +# CONFIG_TCPIP_TASK_AFFINITY_CPU0 is not set +# CONFIG_TCPIP_TASK_AFFINITY_CPU1 is not set +CONFIG_TCPIP_TASK_AFFINITY=0x7FFFFFFF +# CONFIG_PPP_SUPPORT is not set +CONFIG_ESP32_PTHREAD_TASK_PRIO_DEFAULT=5 +CONFIG_ESP32_PTHREAD_TASK_STACK_SIZE_DEFAULT=3072 +CONFIG_ESP32_PTHREAD_STACK_MIN=768 +CONFIG_ESP32_DEFAULT_PTHREAD_CORE_NO_AFFINITY=y +# CONFIG_ESP32_DEFAULT_PTHREAD_CORE_0 is not set +# CONFIG_ESP32_DEFAULT_PTHREAD_CORE_1 is not set +CONFIG_ESP32_PTHREAD_TASK_CORE_DEFAULT=-1 +CONFIG_ESP32_PTHREAD_TASK_NAME_DEFAULT="pthread" +CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_ABORTS=y +# CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_FAILS is not set +# CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_ALLOWED is not set +# End of deprecated options