Here is a log of my system after all functions are initialized.
I can confirm xTaskCreate was called only once for conn_mngr_handler_task but there are 3 different instances of a task with this name. Why is that?
I (15:39:27.592) main.c: Heap -> Current Free Memory: 37284 bytes || Lowest Ever Free Memory: 30176 bytes
I (15:39:27.592) main.c: Heap -> Largest Available Block of Memory: 28160 bytes
I (15:39:27.602) main.c: ulNumberOfTasks -> 22
I (15:39:27.605) main.c: Current_Priority: 1 || Stack_High: 352 || Current_State: Running || Task: Tmr Svc (0x3fcf69b4)
I (15:39:27.616) main.c: Current_Priority: 0 || Stack_High: 696 || Current_State: Ready || Task: IDLE (0x3fcf603c)
I (15:39:27.628) main.c: Current_Priority: 0 || Stack_High: 704 || Current_State: Ready || Task: IDLE (0x3fcf58c4)
I (15:39:27.639) main.c: Current_Priority: 5 || Stack_High: 3404 || Current_State: Blocked || Task: mqtt_event_handler_task (0x3fcbd098)
I (15:39:27.653) main.c: Current_Priority: 1 || Stack_High: 6952 || Current_State: Blocked || Task: main (0x3fcf514c)
I (15:39:27.664) main.c: Current_Priority: 18 || Stack_High: 1252 || Current_State: Blocked || Task: tiT (0x3fceb540)
I (15:39:27.676) main.c: Current_Priority: 24 || Stack_High: 508 || Current_State: Blocked || Task: ipc1 (0x3fcf1b08)
I (15:39:27.687) main.c: Current_Priority: 5 || Stack_High: 3084 || Current_State: Blocked || Task: shadow_ctrl_handler_task (0x3fcc03e8)
I (15:39:27.700) main.c: Current_Priority: 5 || Stack_High: 3756 || Current_State: Blocked || Task: ota_app_task (0x3fcd75b8)
I (15:39:27.713) main.c: Current_Priority: 5 || Stack_High: 4956 || Current_State: Blocked || Task: device_mngr_handler_task (0x3fcce8ec)
I (15:39:27.726) main.c: Current_Priority: 5 || Stack_High: 5364 || Current_State: Blocked || Task: conn_mngr_handler_task (0x3fccee24)
I (15:39:27.739) main.c: Current_Priority: 24 || Stack_High: 500 || Current_State: Blocked || Task: ipc0 (0x3fcf1490)
I (15:39:27.751) main.c: Current_Priority: 20 || Stack_High: 736 || Current_State: Blocked || Task: sys_evt (0x3fcec354)
I (15:39:27.762) main.c: Current_Priority: 5 || Stack_High: 3320 || Current_State: Blocked || Task: dev_mon_handler_task (0x3fccec20)
I (15:39:27.775) main.c: Current_Priority: 22 || Stack_High: 2532 || Current_State: Suspended || Task: esp_timer (0x3fcf2a80)
I (15:39:27.787) main.c: Current_Priority: 19 || Stack_High: 1084 || Current_State: Blocked || Task: BTC_TASK (0x3fcc9ca8)
I (15:39:27.799) main.c: Current_Priority: 22 || Stack_High: 832 || Current_State: Blocked || Task: hciT (0x3fccae34)
I (15:39:27.811) main.c: Current_Priority: 20 || Stack_High: 4284 || Current_State: Blocked || Task: BTU_TASK (0x3fccd308)
I (15:39:27.823) main.c: Current_Priority: 23 || Stack_High: 2092 || Current_State: Blocked || Task: btController (0x3fcc6c68)
I (15:39:27.835) main.c: Current_Priority: 23 || Stack_High: 2060 || Current_State: Blocked || Task: wifi (0x3fcf6b58)
I (15:39:27.846) main.c: Current_Priority: 5 || Stack_High: 3396 || Current_State: Blocked || Task: conn_mngr_handler_task (0x3fcbea10)
I (15:39:27.860) main.c: Current_Priority: 5 || Stack_High: 3904 || Current_State: Blocked || Task: conn_mngr_handler_task (0x3fcd52e4)