Command: /home/lubi/.espressif/python_env/idf6.0_py3.12_env/bin/python /home/lubi/esp-idf/tools/idf_monitor.py -p /dev/ttyUSB0 -b 115200 --toolchain-prefix xtensa-esp32-elf- --target esp32 --revision 0 /home/lubi/NIHAR/PROJECTS/DEVELOPMENT BOARDS/ESP_PROJECT/mqtt_led_control/build/mqtt_led_control.elf /home/lubi/NIHAR/PROJECTS/DEVELOPMENT BOARDS/ESP_PROJECT/mqtt_led_control/build/bootloader/bootloader.elf -m '/home/lubi/.espressif/python_env/idf6.0_py3.12_env/bin/python' '/home/lubi/esp-idf/tools/idf.py' '-p' '/dev/ttyUSB0'
ets Jul 29 2019 12:21:46

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:6380
ho 0 tail 12 room 4
load:0x40078000,len:15904
load:0x40080400,len:3860
entry 0x40080638
[0;32mI (29) boot: ESP-IDF v5.5-dev-3822-g27d68f57e6 2nd stage bootloader[0m
[0;32mI (29) boot: compile time Jun  4 2025 14:23:01[0m
[0;32mI (29) boot: Multicore bootloader[0m
[0;32mI (32) boot: chip revision: v3.0[0m
[0;32mI (35) boot.esp32: SPI Speed      : 40MHz[0m
[0;32mI (39) boot.esp32: SPI Mode       : DIO[0m
[0;32mI (42) boot.esp32: SPI Flash Size : 2MB[0m
[0;32mI (46) boot: Enabling RNG early entropy source...[0m
[0;32mI (50) boot: Partition Table:[0m
[0;32mI (53) boot: ## Label            Usage          Type ST Offset   Length[0m
[0;32mI (59) boot:  0 nvs              WiFi data        01 02 00009000 00006000[0m
[0;32mI (66) boot:  1 phy_init         RF data          01 01 0000f000 00001000[0m
[0;32mI (72) boot:  2 factory          factory app      00 00 00010000 00100000[0m
[0;32mI (79) boot: End of partition table[0m
[0;32mI (82) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=25fech (155628) map[0m
[0;32mI (143) esp_image: segment 1: paddr=00036014 vaddr=3ff80000 size=00020h (    32) load[0m
[0;32mI (143) esp_image: segment 2: paddr=0003603c vaddr=3ffb0000 size=03f54h ( 16212) load[0m
[0;32mI (153) esp_image: segment 3: paddr=00039f98 vaddr=40080000 size=06080h ( 24704) load[0m
[0;32mI (164) esp_image: segment 4: paddr=00040020 vaddr=400d0020 size=a2964h (665956) map[0m
[0;32mI (392) esp_image: segment 5: paddr=000e298c vaddr=40086080 size=0f178h ( 61816) load[0m
[0;32mI (426) boot: Loaded app from partition at offset 0x10000[0m
[0;32mI (426) boot: Disabling RNG early entropy source...[0m
[0;32mI (437) cpu_start: Multicore app[0m
D (437) cpu_start: Pro cpu up
D (437) cpu_start: Starting app cpu, entry point is 0x40081258
D (0) cpu_start: App cpu up
D (446) clk: RTC_SLOW_CLK calibration value: 3316019
D (457) cpu_start: calling init function: 0x400d278c on core: 0
D (457) cpu_start: calling init function: 0x400d2cb4 on core: 0
[0;32mI (459) cpu_start: Pro cpu start user code[0m
[0;32mI (463) cpu_start: cpu freq: 160000000 Hz[0m
D (467) cpu_start: calling init function: 0x400d26cc on core: 0
[0;32mI (472) app_init: Application information:[0m
[0;32mI (476) app_init: Project name:     mqtt_led_control[0m
[0;32mI (481) app_init: App version:      1[0m
[0;32mI (484) app_init: Compile time:     Jun  4 2025 14:22:54[0m
[0;32mI (489) app_init: ELF file SHA256:  009c97251...[0m
[0;32mI (493) app_init: ESP-IDF:          v5.5-dev-3822-g27d68f57e6[0m
D (499) cpu_start: calling init function: 0x400d27a0 on core: 0
[0;32mI (505) efuse_init: Min chip rev:     v0.0[0m
[0;32mI (508) efuse_init: Max chip rev:     v3.99 [0m
[0;32mI (512) efuse_init: Chip rev:         v3.0[0m
D (516) cpu_start: calling init function: 0x400d466c on core: 0
D (522) memory_layout: Checking 9 reserved memory ranges:
D (527) memory_layout: Reserved memory range 0x3ff82000 - 0x3ff82000
D (533) memory_layout: Reserved memory range 0x3ffae000 - 0x3ffae6e0
D (539) memory_layout: Reserved memory range 0x3ffb0000 - 0x3ffb8738
D (545) memory_layout: Reserved memory range 0x3ffe0000 - 0x3ffe0440
D (551) memory_layout: Reserved memory range 0x3ffe3f20 - 0x3ffe4350
D (557) memory_layout: Reserved memory range 0x40070000 - 0x40078000
D (563) memory_layout: Reserved memory range 0x40078000 - 0x40080000
D (570) memory_layout: Reserved memory range 0x40080000 - 0x400951f8
D (576) memory_layout: Reserved memory range 0x50001fe8 - 0x50002000
D (582) memory_layout: Building list of available memory regions:
D (588) memory_layout: Available memory region 0x3ffae6e0 - 0x3ffb0000
D (594) memory_layout: Available memory region 0x3ffb8738 - 0x3ffc0000
D (600) memory_layout: Available memory region 0x3ffc0000 - 0x3ffc2000
D (606) memory_layout: Available memory region 0x3ffc2000 - 0x3ffc4000
D (613) memory_layout: Available memory region 0x3ffc4000 - 0x3ffc6000
D (619) memory_layout: Available memory region 0x3ffc6000 - 0x3ffc8000
D (625) memory_layout: Available memory region 0x3ffc8000 - 0x3ffca000
D (631) memory_layout: Available memory region 0x3ffca000 - 0x3ffcc000
D (638) memory_layout: Available memory region 0x3ffcc000 - 0x3ffce000
D (644) memory_layout: Available memory region 0x3ffce000 - 0x3ffd0000
D (650) memory_layout: Available memory region 0x3ffd0000 - 0x3ffd2000
D (656) memory_layout: Available memory region 0x3ffd2000 - 0x3ffd4000
D (663) memory_layout: Available memory region 0x3ffd4000 - 0x3ffd6000
D (669) memory_layout: Available memory region 0x3ffd6000 - 0x3ffd8000
D (675) memory_layout: Available memory region 0x3ffd8000 - 0x3ffda000
D (681) memory_layout: Available memory region 0x3ffda000 - 0x3ffdc000
D (688) memory_layout: Available memory region 0x3ffdc000 - 0x3ffde000
D (694) memory_layout: Available memory region 0x3ffde000 - 0x3ffe0000
D (700) memory_layout: Available memory region 0x3ffe0440 - 0x3ffe3f20
D (706) memory_layout: Available memory region 0x3ffe4350 - 0x3ffe8000
D (713) memory_layout: Available memory region 0x3ffe8000 - 0x3fff0000
D (719) memory_layout: Available memory region 0x3fff0000 - 0x3fff8000
D (725) memory_layout: Available memory region 0x3fff8000 - 0x3fffc000
D (731) memory_layout: Available memory region 0x3fffc000 - 0x40000000
D (738) memory_layout: Available memory region 0x400951f8 - 0x40096000
D (744) memory_layout: Available memory region 0x40096000 - 0x40098000
D (750) memory_layout: Available memory region 0x40098000 - 0x4009a000
D (756) memory_layout: Available memory region 0x4009a000 - 0x4009c000
D (763) memory_layout: Available memory region 0x4009c000 - 0x4009e000
D (769) memory_layout: Available memory region 0x4009e000 - 0x400a0000
[0;32mI (775) heap_init: Initializing. RAM available for dynamic allocation:[0m
D (781) heap_init: New heap initialised at 0x3ffae6e0
[0;32mI (786) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM[0m
D (791) heap_init: New heap initialised at 0x3ffb8738
[0;32mI (796) heap_init: At 3FFB8738 len 000278C8 (158 KiB): DRAM[0m
[0;32mI (801) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM[0m
[0;32mI (807) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM[0m
D (812) heap_init: New heap initialised at 0x400951f8
[0;32mI (817) heap_init: At 400951F8 len 0000AE08 (43 KiB): IRAM[0m
D (822) cpu_start: calling init function: 0x400d5ae4 on core: 0
D (828) cpu_start: calling init function: 0x400d5464 on core: 0
D (833) cpu_start: calling init function: 0x400d2cf8 on core: 0
D (839) intr_alloc: Connected src 46 to int 1 (cpu 0)
D (844) cpu_start: calling init function: 0x400d2d08 on core: 0
D (849) cpu_start: calling init function: 0x400d6c34 on core: 0
D (855) cpu_start: calling init function: 0x400d8e88 on core: 0
D (861) cpu_start: calling init function: 0x400d7698 on core: 0
D (866) cpu_start: calling init function: 0x400d5470 on core: 0
D (872) cpu_start: calling init function: 0x400d2d14 on core: 0
D (878) spi_flash: trying chip: issi
D (881) spi_flash: trying chip: gd
[0;32mI (884) spi_flash: detected chip: gd[0m
[0;32mI (887) spi_flash: flash io: dio[0m
[0;33mW (890) spi_flash: Detected size(8192k) larger than the size in the binary image header(2048k). Using the size in the binary image header.[0m
D (902) cpu_start: calling init function: 0x400d282c on core: 0
D (908) cpu_start: calling init function: 0x401519ec
D (913) cpu_start: calling init function: 0x400e5a54
D (918) cpu_start: calling init function: 0x4008880c
D (922) cpu_start: calling init function: 0x400d3bd4
D (927) cpu_start: calling init function: 0x4012d5a8 on core: 0
D (933) intr_alloc: Connected src 17 to int 2 (cpu 0)
D (937) cpu_start: calling init function: 0x40165d48 on core: 0
D (943) cpu_start: calling init function: 0x400d2d44 on core: 0
D (949) intr_alloc: Connected src 24 to int 3 (cpu 0)
D (953) app_start: Starting scheduler on CPU0
I (958D (958) intr_alloc: Connected src 25 to int 1 (cpu 1)
D (958) app_start: Starting scheduler on CPU1
) main_task: Started on CPU0
D (968) heap_init: New heap initialised at 0x3ffe0440
D (968) heap_init: New heap initialised at 0x3ffe4350
D (978) intr_alloc: Connected src 16 to int 5 (cpu 0)
[0;32mI (978) main_task: Calling app_main()[0m
[0;32mI (978) MQTT_LED: Starting MQTT LED Control[0m
D (1008) gpio: GPIO[26]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
D (1018) nvs: nvs_open_from_partition storage 0
D (1018) nvs: nvs_get led_state 4
D (1018) nvs: nvs_close 1
[0;32mI (1018) MQTT_LED: LED1 restored to state: 0[0m
D (1028) ledc: Using clock source 4 (in fast mode), divisor: 0xfa0
D (1028) ledc: LEDC_PWM CHANNEL 1|GPIO 27|Duty 0512|Time 1
D (1038) nvs: nvs_open_from_partition storage 0
D (1038) nvs: nvs_get led2_brightness 4
D (1048) nvs: nvs_close 2
[0;32mI (1048) MQTT_LED: LED2 restored to brightness: 0%[0m
D (1048) esp_netif_lwip: LwIP stack has been initialized
D (1058) esp_netif_lwip: esp-netif has been successfully initialized
D (1058) event: running task for loop 0x3ffbd0ec
D (1068) event: created task for loop 0x3ffbd0ec
D (1068) event: created event loop 0x3ffbd0ec
D (1078) esp_netif_lwip: check: remote, if=0x3ffba840 fn=0x400e38a4
D (1078) esp_netif_objects: esp_netif_add_to_list_unsafe netif added successfully (total netifs: 1)
D (1088) esp_netif_lwip: call api in lwip: ret=0x0, give sem
D (1098) nvs: nvs_open_from_partition misc 1
[0;32mI (1108) wifi:wifi driver task: 3ffc0718, prio:23, stack:6656, core=0[0m
D (1108) efuse: BLK0 REG2 [8-15], len=8 bits
D (1108) efuse: BLK0 REG2 [0-7], len=8 bits
D (1108) efuse: BLK0 REG1 [24-31], len=8 bits
D (1118) efuse: BLK0 REG1 [16-23], len=8 bits
D (1118) efuse: BLK0 REG1 [8-15], len=8 bits
D (1128) efuse: BLK0 REG1 [0-7], len=8 bits
D (1128) efuse: BLK0 REG2 [16-23], len=8 bits
D (1138) nvs: nvs_open_from_partition nvs.net80211 1
D (1138) nvs: nvs_get opmode 1
D (1138) nvs: nvs_get_str_or_blob sta.ssid
D (1148) nvs: nvs_get sta.authmode 1
D (1148) nvs: nvs_get_str_or_blob sta.pswd
D (1148) nvs: nvs_get_str_or_blob sta.pmk
D (1158) nvs: nvs_get sta.chan 1
D (1158) nvs: nvs_get auto.conn 1
D (1158) nvs: nvs_get bssid.set 1
D (1168) nvs: nvs_get_str_or_blob sta.bssid
D (1168) nvs: nvs_get sta.lis_intval 2
D (1168) nvs: nvs_get sta.phym 1
D (1178) nvs: nvs_get sta.phybw 1
D (1178) nvs: nvs_get_str_or_blob sta.apsw
D (1178) nvs: nvs_get_str_or_blob sta.apinfo
D (1188) nvs: nvs_get sta.scan_method 1
D (1188) nvs: nvs_get sta.sort_method 1
D (1188) nvs: nvs_get sta.minrssi 1
D (1198) nvs: nvs_get sta.minauth 1
D (1198) nvs: nvs_get sta.pmf_e 1
D (1198) nvs: nvs_get sta.pmf_r 1
D (1208) nvs: nvs_get sta.btm_e 1
D (1208) nvs: nvs_get sta.rrm_e 1
D (1208) nvs: nvs_get sta.mbo_e 1
D (1218) nvs: nvs_get_str_or_blob ap.ssid
D (1218) nvs: nvs_get_str_or_blob ap.passwd
D (1218) nvs: nvs_get_str_or_blob ap.pmk
D (1228) nvs: nvs_get ap.chan 1
D (1228) nvs: nvs_get ap.authmode 1
D (1228) nvs: nvs_get ap.hidden 1
D (1238) nvs: nvs_get ap.max.conn 1
D (1238) nvs: nvs_get bcn.interval 2
D (1238) nvs: nvs_get ap.phym 1
D (1248) nvs: nvs_get ap.phybw 1
D (1248) nvs: nvs_get ap.sndchan 1
D (1248) nvs: nvs_get ap.pmf_e 1
D (1248) nvs: nvs_get ap.pmf_r 1
D (1258) nvs: nvs_get ap.p_cipher 1
D (1258) nvs: nvs_get lorate 1
D (1258) nvs: nvs_get_str_or_blob country
D (1268) nvs: nvs_get ap.ftm_r 1
D (1268) nvs: nvs_get sta.ft 1
D (1268) nvs: nvs_get sta.owe 1
D (1278) nvs: nvs_get sta.trans_d 1
D (1278) nvs: nvs_get sta.sae_h2e 1
D (1278) nvs: nvs_get sta.sae_pk_mode 1
D (1288) nvs: nvs_get sta.bss_retry 1
D (1288) nvs: nvs_get_str_or_blob sta.owe_data
D (1288) nvs: nvs_get sta.he_dcm 1
D (1298) nvs: nvs_get sta.he_dcm_c_tx 1
D (1298) nvs: nvs_get sta.he_dcm_c_rx 1
D (1298) nvs: nvs_get sta.he_mcs9_d 1
D (1308) nvs: nvs_get sta.he_su_b_d 1
D (1308) nvs: nvs_get sta.he_su_b_f_d 1
D (1308) nvs: nvs_get sta.he_mu_b_f_d 1
D (1318) nvs: nvs_get sta.he_cqi_f_d 1
D (1318) nvs: nvs_get_str_or_blob sta.sae_h2e_id
D (1328) nvs: nvs_get ap.sae_h2e 1
D (1328) nvs: nvs_get_str_or_blob ap.pmk_info
D (1328) nvs: nvs_get nan.phym 1
D (1338) nvs: nvs_get sta.pwr_reset 1
D (1338) nvs: nvs_get band_mode 1
D (1338) nvs: nvs_get sta.phym5g 1
D (1338) nvs: nvs_get ap.phym5g 1
D (1348) nvs: nvs_get sta.phybw5g 1
D (1348) nvs: nvs_get ap.phybw5g 1
D (1348) nvs: nvs_get ap.sndchan5g 1
D (1358) nvs: nvs_get ap.chan5g 1
D (1358) nvs: nvs_get ap.chanisset 1
D (1358) nvs: nvs_get ap.chan5gisset 1
D (1368) nvs: nvs_get sta.lowrate 1
D (1368) nvs: nvs_get ap.lowrate 1
D (1368) nvs: nvs_get sta.rssi_5g_adj 1
D (1378) nvs: nvs_get ap.csa_count 1
D (1378) nvs: nvs_get ap.dtim_period 1
D (1378) nvs: nvs_get ap.trans_d 1
D (1388) nvs: nvs_get ap.sae_ext 1
D (1388) nvs: nvs_get ap.bssmaxidle 2
D (1388) nvs: nvs_get ap.pro_keep_a 1
D (1398) nvs: nvs_get sta.vht_su_b_d 1
D (1398) nvs: nvs_get sta.vht_mu_b_d 1
D (1398) nvs: nvs_get sta.vht_mcs8_e 1
D (1408) nvs: nvs_set ap.sndchan 1 1
[0;32mI (1408) wifi:wifi firmware version: 2db94317f5[0m
[0;32mI (1408) wifi:wifi certification version: v7.0[0m
[0;32mI (1418) wifi:config NVS flash: enabled[0m
[0;32mI (1418) wifi:config nano formatting: disabled[0m
[0;32mI (1428) wifi:Init data frame dynamic rx buffer num: 32[0m
[0;32mI (1428) wifi:Init static rx mgmt buffer num: 5[0m
[0;32mI (1438) wifi:Init management short buffer num: 32[0m
[0;32mI (1438) wifi:Init dynamic tx buffer num: 32[0m
[0;32mI (1438) wifi:Init static rx buffer size: 1600[0m
[0;32mI (1448) wifi:Init static rx buffer num: 10[0m
[0;32mI (1448) wifi:Init dynamic rx buffer num: 32[0m
D (1458) wifi:Reset scan defaults in ms : min,max,passive,chan_dwell :(0,120,360,30)
[0;32mI (1458) wifi_init: rx ba win: 6[0m
[0;32mI (1468) wifi_init: accept mbox: 6[0m
[0;32mI (1468) wifi_init: tcpip mbox: 32[0m
[0;32mI (1468) wifi_init: udp mbox: 6[0m
[0;32mI (1478) wifi_init: tcp mbox: 6[0m
[0;32mI (1478) wifi_init: tcp tx win: 5760[0m
[0;32mI (1478) wifi_init: tcp rx win: 5760[0m
[0;32mI (1488) wifi_init: tcp mss: 1440[0m
[0;32mI (1488) wifi_init: WiFi RX IRAM OP enabled[0m
D (1488) nvs: nvs_get opmode 1
D (1498) wifi:clear blacklist
[0;33mW (1498) wifi:Password length matches WPA2 standards, authmode threshold changes from OPEN to WPA2[0m
[0;32mI (1508) phy_init: phy_version 4860,6b7a6e5,Feb  6 2025,14:47:07[0m
D (1508) phy_init: loading PHY init data from application binary
D (1518) nvs: nvs_open_from_partition phy 0
D (1518) nvs: nvs_get cal_version 4
D (1528) nvs: nvs_get_str_or_blob cal_mac
D (1528) efuse: BLK0 REG2 [8-15], len=8 bits
D (1528) efuse: BLK0 REG2 [0-7], len=8 bits
D (1538) efuse: BLK0 REG1 [24-31], len=8 bits
D (1538) efuse: BLK0 REG1 [16-23], len=8 bits
D (1538) efuse: BLK0 REG1 [8-15], len=8 bits
D (1548) efuse: BLK0 REG1 [0-7], len=8 bits
D (1548) efuse: BLK0 REG2 [16-23], len=8 bits
D (1558) nvs: nvs_get_str_or_blob cal_data
D (1568) nvs: nvs_close 5
D (1568) efuse: BLK0 REG2 [8-15], len=8 bits
D (1568) efuse: BLK0 REG2 [0-7], len=8 bits
D (1568) efuse: BLK0 REG1 [24-31], len=8 bits
D (1568) efuse: BLK0 REG1 [16-23], len=8 bits
D (1578) efuse: BLK0 REG1 [8-15], len=8 bits
D (1578) efuse: BLK0 REG1 [0-7], len=8 bits
D (1588) efuse: BLK0 REG2 [16-23], len=8 bits
D (1658) wifi:filter: set rx policy=0
[0;32mI (1658) wifi:mode : sta (e0:e2:e6:4c:12:e4)[0m
[0;32mI (1658) wifi:enable tsf[0m
D (1658) wifi:filter: set rx policy=1
D (1658) wifi:connect status 0 -> 0
D (1668) event: running post WIFI_EVENT:43 with handler 0x400d8f9c and context 0x3ffc6c04 on loop 0x3ffbd0ec
D (1678) event: running post WIFI_EVENT:2 with handler 0x400e5ca8 and context 0x3ffbe248 on loop 0x3ffbd0ec
D (1688) wifi_init_default: wifi_start esp-netif:0x3ffbe02c event-id2
D (1688) wifi_init_default: WIFI mac address: e0 e2 e6 4c 12 e4
D (1698) esp_netif_lwip: check: remote, if=0x3ffbe02c fn=0x400e30e0
D (1698) esp_netif_lwip: call api in lwip: ret=0x0, give sem
D (1708) mqtt_client: MQTT client_id=ESP32_4c12E4
D (1708) esp_netif_handlers: esp_netif action has started with netif0x3ffbe02c from event_id=2
D (1718) esp_netif_lwip: check: remote, if=0x3ffbe02c fn=0x400e3a80
D (1728) esp_netif_lwip: esp_netif_start_api 0x3ffbe02c
D (1728) event: created event loop 0x3ffc7e78
D (1728) esp_netif_lwip: esp_netif_get_hostname esp_netif:0x3ffbe02c
D (1738) esp_netif_lwip: call api in lwip: ret=0x0, give sem
D (1748) event: running post WIFI_EVENT:2 with handler 0x400d8f9c and context 0x3ffc6c04 on loop 0x3ffbd0ec
D (1758) wifi:Start wifi connect
D (1758) wifi:connect status 0 -> 0
D (1758) wifi:connect chan=0
D (1768) wifi:first chan=1
D (1768) wifi:connect status 0 -> 1
D (1768) wifi:filter: set rx policy=3
D (1778) wifi:clear scan ap list
D (1778) wifi:start scan: type=0x50f, priority=2, cb=0x40110464, arg=0x0, ss_state=0x1, time=118975, index=0
D (1788) wifi:perform scan: ss_state=0x9, chan<1,0>, dur<0,120>
D (1798) wifi:rsn valid: gcipher=3 ucipher=3 akm=8 mac=f0:b6:1e:9f:fb:f5
D (1798) wifi:profile match: ss_state=0x7
D (1798) wifi:scan end: arg=0x3ffb4ba1, status=0, ss_state=0x7
D (1808) wifi:find first mathched ssid, scan done
D (1808) wifi:filter: set rx policy=4
D (1818) wifi:first chan=1
D (1818) wifi:handoff_cb: status=0
D (1818) wifi:ap found, mac=f0:b6:1e:9f:fb:f5
D (1828) wifi:going for connection with bssid=f0:b6:1e:9f:fb:f5
D (1828) wifi:new_bss=0x3ffb68d8, cur_bss=0x0, new_chan=<1,0>, cur_chan=1
D (1838) wifi:filter: set rx policy=5
[0;32mI (1838) wifi:new:<1,0>, old:<1,0>, ap:<255,255>, sta:<1,0>, prof:1, snd_ch_cfg:0x0[0m
D (1848) wifi:connect_op: status=0, auth=8, cipher=3 
D (1848) wifi:auth mode is not none
D (1858) wifi:connect_bss: auth=1, reconnect=0
[0;32mI (1858) wifi:state: init -> auth (0xb0)[0m
D (1868) nvs: nvs_get sta.pwr_reset 1
D (1868) wifi:start 1000ms AUTH timer
D (1868) wifi:clear scan ap list
D (1878) mqtt_client: Core selection disabled
D (1878) event: running post MQTT_EVENTS:7 with handler 0x400d909c and context 0x3ffc7fa0 on loop 0x3ffc7e78
[0;32mI (1888) MQTT_LED: Other MQTT event id: 7[0m
D (1888) esp-tls: host:192.168.1.6: strlen 11
D (1898) esp-tls: [sock=54] Resolved IPv4 address: 192.168.1.6
D (1898) esp-tls: [sock=54] Connecting to server. HOST: 192.168.1.6, Port: 1883
[1;31mE (1908) esp-tls: [sock=54] connect() error: Host is unreachable[0m
[1;31mE (1918) transport_base: Failed to open a new connection: 32772[0m
[1;31mE (1918) mqtt_client: Error transport connect[0m
D (1918) event: running post MQTT_EVENTS:0 with handler 0x400d909c and context 0x3ffc7fa0 on loop 0x3ffc7e78
[0;32mI (1928) MQTT_LED: Other MQTT event id: 0[0m
D (1938) mqtt_client: Reconnect after 10000 ms
D (1938) event: running post MQTT_EVENTS:2 with handler 0x400d909c and context 0x3ffc7fa0 on loop 0x3ffc7e78
[0;32mI (1948) MQTT_LED: MQTT disconnected from broker[0m
D (1928) wifi:recv auth: seq=2, status=0, algo=0
[0;32mI (1958) wifi:state: auth -> assoc (0x0)[0m
D (1958) nvs: nvs_get sta.pwr_reset 1
D (1968) wifi:restart connect 1000ms timer for assoc
[0;32mI (1968) main_task: Returned from app_main()[0m
D (1978) wifi:recv assoc: type=0x10
D (1978) wifi:filter: set rx policy=6
[0;32mI (1978) wifi:state: assoc -> run (0x10)[0m
D (1988) nvs: nvs_get sta.pwr_reset 1
D (1988) wifi:start 10s connect timer for 4 way handshake
[0;32mI (2008) wifi:connected with EV, aid = 7, channel 1, BW20, bssid = f0:b6:1e:9f:fb:f5[0m
[0;32mI (2008) wifi:security: WPA2-PSK, phy: bgn, rssi: -84[0m
D (2008) wifi:remove all except f0:b6:1e:9f:fb:f5 from rc list
D (2008) wifi:clear blacklist
D (2018) nvs: nvs_set sta.chan 1 1
D (2018) nvs: nvs_set_blob sta.apinfo 700
D (2028) wifi:filter: set rx policy=7
[0;32mI (2028) wifi:pm start, type: 1[0m

[0;32mI (2028) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us[0m
D (2038) wifi:Send sta connected event
D (2038) wifi:connect status 1 -> 5
D (2048) wifi:obss scan is disabled
D (2048) wifi:start obss scan: obss scan is stopped
D (2048) event: running post WIFI_EVENT:4 with handler 0x400e5cd8 and context 0x3ffbe2a8 on loop 0x3ffbd0ec
D (2058) esp_netif_handlers: esp_netif action connected with netif0x3ffbe02c from event_id=4
D (2068) esp_netif_lwip: check: remote, if=0x3ffbe02c fn=0x400e3c88
D (2078) esp_netif_lwip: esp_netif_up_api esp_netif:0x3ffbe02c
D (2078) esp_netif_lwip: call api in lwip: ret=0x0, give sem
D (2088) wifi:bcnd: 0 -> 1864
[0;32mI (2088) wifi:dp: 2, bi: 102400, li: 4, scale listen interval from 307200 us to 409600 us[0m
[0;32mI (2098) wifi:AP's beacon interval = 102400 us, DTIM period = 2[0m
D (2108) esp_netif_lwip: check: remote, if=0x3ffbe02c fn=0x400e3554
D (2108) esp_netif_lwip: esp_netif_dhcpc_start_api esp_netif:0x3ffbe02c
D (2118) esp_netif_lwip: esp_netif_start_ip_lost_timer esp_netif:0x3ffbe02c
D (2118) esp_netif_lwip: if0x3ffbe02c start ip lost tmr: interval=120
D (2128) esp_netif_lwip: starting dhcp client
D (2128) esp_netif_lwip: call api in lwip: ret=0x0, give sem
D (2128) wifi:eb is dhcp or dns sport = 68, dport = 67
D (2148) event: running post WIFI_EVENT:4 with handler 0x400d8f9c and context 0x3ffc6c04 on loop 0x3ffbd0ec
D (2148) wifi:eb is dhcp or dns sport = 68, dport = 67
D (3168) esp_netif_lwip: esp_netif_internal_dhcpc_cb lwip-netif:0x3ffbe0bc
D (3168) esp_netif_lwip: check: local, if=0x3ffbe02c fn=0x400e405c
D (3168) esp_netif_lwip: esp_netif_update_default_netif_lwip 0x3ffbe02c
D (3168) esp_netif_lwip: if0x3ffbe02c ip changed=1
D (3178) event: running post IP_EVENT:0 with handler 0x400e5b2c and context 0x3ffbe37c on loop 0x3ffbd0ec
D (3188) wifi_init_default: Got IP wifi default handler entered
D (3188) esp_netif_handlers: esp_netif action got_ip with netif0x3ffbe02c from event_id=0
[0;32mI (3198) esp_netif_handlers: sta ip: 10.42.0.167, mask: 255.255.255.0, gw: 10.42.0.1[0m
D (3208) event: running post IP_EVENT:0 with handler 0x400d8f9c and context 0x3ffc6c24 on loop 0x3ffbd0ec
[0;32mI (3218) MQTT_LED: Wi-Fi connected, IP obtained[0m
D (11958) mqtt_client: Reconnecting...
D (11958) event: running post MQTT_EVENTS:7 with handler 0x400d909c and context 0x3ffc7fa0 on loop 0x3ffc7e78
[0;32mI (11958) MQTT_LED: Other MQTT event id: 7[0m
D (11958) esp-tls: host:192.168.1.6: strlen 11
D (11968) esp-tls: [sock=54] Resolved IPv4 address: 192.168.1.6
D (11968) esp-tls: [sock=54] Connecting to server. HOST: 192.168.1.6, Port: 1883
D (11988) mqtt_client: Transport connected to mqtt://192.168.1.6:1883
D (11988) mqtt_client: Sending MQTT CONNECT message, type: 1, id: 0000
D (12128) mqtt_client: mqtt_message_receive: first byte: 0x20
D (12128) mqtt_client: mqtt_message_receive: read "remaining length" byte: 0x2
D (12138) mqtt_client: mqtt_message_receive: total message length: 4 (already read: 2)
D (12138) mqtt_client: mqtt_message_receive: read_len=2
D (12148) mqtt_client: Connected
D (12148) event: running post MQTT_EVENTS:1 with handler 0x400d909c and context 0x3ffc7fa0 on loop 0x3ffc7e78
[0;32mI (12158) MQTT_LED: MQTT connected to broker[0m
D (12158) mqtt_client: mqtt_enqueue id: 39238, type=8 successful
D (12168) outbox: ENQUEUE msgid=39238, msg_type=8, len=16, size=16
D (12178) mqtt_client: Sent subscribe, first topic=esp32/led, id: 39238
D (12338) mqtt_client: mqtt_message_receive: first byte: 0x90
D (12338) mqtt_client: mqtt_message_receive: read "remaining length" byte: 0x3
D (12338) mqtt_client: mqtt_message_receive: total message length: 5 (already read: 2)
D (12348) mqtt_client: mqtt_message_receive: read_len=3
D (12348) mqtt_client: msg_type=9, msg_id=39238
D (12348) outbox: DELETED msgid=39238, msg_type=8, remain size=0
D (12358) mqtt_client: Removed pending_id=39238
D (12358) mqtt_client: deliver_suback, message_length_read=5, message_length=5
D (12368) event: running post MQTT_EVENTS:3 with handler 0x400d909c and context 0x3ffc7fa0 on loop 0x3ffc7e78
[0;32mI (12378) MQTT_LED: Other MQTT event id: 3[0m
D (31378) mqtt_client: mqtt_message_receive: first byte: 0x30
D (31378) mqtt_client: mqtt_message_receive: read "remaining length" byte: 0xc
D (31378) mqtt_client: mqtt_message_receive: total message length: 14 (already read: 2)
D (31388) mqtt_client: mqtt_message_receive: read_len=12
D (31388) mqtt_client: msg_type=3, msg_id=0
D (31398) mqtt_client: deliver_publish, message_length_read=14, message_length=14
D (31398) mqtt_client: deliver_publish: msg_topic_len=9
D (31408) mqtt_client: Get data len= 1, topic len=9, total_data: 1 offset: 0
D (31418) event: running post MQTT_EVENTS:6 with handler 0x400d909c and context 0x3ffc7fa0 on loop 0x3ffc7e78
[0;32mI (31428) MQTT_LED: MQTT data received, topic: esp32/led, data: 1[0m
D (31428) nvs: nvs_open_from_partition storage 1
D (31438) nvs: nvs_set led_state 4 1
D (31448) nvs: nvs_close 6
[0;32mI (31448) MQTT_LED: LED turned ON[0m
D (33428) mqtt_client: mqtt_message_receive: first byte: 0x30
D (33428) mqtt_client: mqtt_message_receive: read "remaining length" byte: 0xc
D (33428) mqtt_client: mqtt_message_receive: total message length: 14 (already read: 2)
D (33438) mqtt_client: mqtt_message_receive: read_len=12
D (33448) mqtt_client: msg_type=3, msg_id=0
D (33448) mqtt_client: deliver_publish, message_length_read=14, message_length=14
D (33458) mqtt_client: deliver_publish: msg_topic_len=9
D (33458) mqtt_client: Get data len= 1, topic len=9, total_data: 1 offset: 0
D (33468) event: running post MQTT_EVENTS:6 with handler 0x400d909c and context 0x3ffc7fa0 on loop 0x3ffc7e78
[0;32mI (33478) MQTT_LED: MQTT data received, topic: esp32/led, data: 0[0m
D (33478) nvs: nvs_open_from_partition storage 1
D (33488) nvs: nvs_set led_state 4 0
D (33498) nvs: nvs_close 7
[0;32mI (33498) MQTT_LED: LED turned OFF[0m
[0;32mI (39688) wifi:[ADDBA]RX DELBA, reason:36, delete tid:0, initiator:0(recipient)[0m
D (39748) wifi:bcnd: 1864 -> 2056
D (40158) wifi:bcnd: 2056 -> 1864
D (40978) wifi:bcnd: 1864 -> 2056
D (41178) wifi:bcnd: 2056 -> 1864
D (47738) wifi:bcnd: 1864 -> 1872
D (47938) wifi:bcnd: 1872 -> 1864
D (49378) wifi:bcnd: 1864 -> 1872
D (49788) wifi:bcnd: 1872 -> 1864
D (50198) wifi:bcnd: 1864 -> 1872
D (50608) wifi:bcnd: 1872 -> 1864
D (51218) wifi:bcnd: 1864 -> 1872
D (51428) wifi:bcnd: 1872 -> 1864
D (52038) wifi:bcnd: 1864 -> 1872
D (52448) wifi:bcnd: 1872 -> 1864
D (62278) wifi:bcnd: 1864 -> 1872
D (62478) wifi:bcnd: 1872 -> 1864
D (72888) mqtt_client: Sent PING successful
D (72898) mqtt_client: mqtt_message_receive: first byte: 0xd0
D (72898) mqtt_client: mqtt_message_receive: read "remaining length" byte: 0x0
D (72898) mqtt_client: mqtt_message_receive: total message length: 2 (already read: 2)
D (72908) mqtt_client: msg_type=13, msg_id=0
D (72908) mqtt_client: MQTT_MSG_TYPE_PINGRESP
D (122118) esp_netif_lwip: esp_netif_ip_lost_timer esp_netif:0x3ffbe02c
D (122118) esp_netif_lwip: if0x3ffbe02c ip lost tmr: no need raise ip lost event
D (133518) mqtt_client: Sent PING successful
D (134078) wifi:bcnd: 1864 -> 2056
[0;32mI (134278) wifi:[ADDBA]RX DELBA, reason:36, delete tid:0, initiator:0(recipient)[0m
D (134488) wifi:bcnd: 2056 -> 1872
D (134688) wifi:bcnd: 1872 -> 1864
D (134738) mqtt_client: mqtt_message_receive: first byte: 0xd0
D (134738) mqtt_client: mqtt_message_receive: read "remaining length" byte: 0x0
D (134738) mqtt_client: mqtt_message_receive: total message length: 2 (already read: 2)
D (134748) mqtt_client: msg_type=13, msg_id=0
D (134748) mqtt_client: MQTT_MSG_TYPE_PINGRESP
D (134998) wifi:bcnd: 1864 -> 1872
D (135308) wifi:bcnd: 1872 -> 2056
D (135508) wifi:bcnd: 2056 -> 1864
D (138588) wifi:bcnd: 1864 -> 1872
D (138788) wifi:bcnd: 1872 -> 1864
D (140838) wifi:bcnd: 1864 -> 1872
D (141038) wifi:bcnd: 1872 -> 1864
D (142678) wifi:bcnd: 1864 -> 1872
D (142888) wifi:bcnd: 1872 -> 1864
D (195358) mqtt_client: Sent PING successful
D (195368) mqtt_client: mqtt_message_receive: first byte: 0xd0
D (195368) mqtt_client: mqtt_message_receive: read "remaining length" byte: 0x0
D (195368) mqtt_client: mqtt_message_receive: total message length: 2 (already read: 2)
D (195378) mqtt_client: msg_type=13, msg_id=0
D (195378) mqtt_client: MQTT_MSG_TYPE_PINGRESP
D (195418) wifi:bcnd: 1864 -> 1872
D (195728) wifi:bcnd: 1872 -> 1864
D (196128) wifi:bcnd: 1864 -> 1872
D (196338) wifi:bcnd: 1872 -> 1864
D (200028) wifi:bcnd: 1864 -> 1872
D (200228) wifi:bcnd: 1872 -> 1864
D (200438) wifi:bcnd: 1864 -> 1872
D (200638) wifi:bcnd: 1872 -> 1864
D (200838) wifi:bcnd: 1864 -> 1872
D (201048) wifi:bcnd: 1872 -> 1864
D (202688) wifi:bcnd: 1864 -> 1872
D (202888) wifi:bcnd: 1872 -> 1864
D (221118) wifi:bcnd: 1864 -> 1872
D (221318) wifi:bcnd: 1872 -> 1864
D (222958) wifi:bcnd: 1864 -> 1872
D (223168) wifi:bcnd: 1872 -> 1864
D (223778) wifi:bcnd: 1864 -> 1872
D (224188) wifi:bcnd: 1872 -> 1864
D (224598) wifi:bcnd: 1864 -> 1872
D (225008) wifi:bcnd: 1872 -> 1864
D (225828) wifi:bcnd: 1864 -> 1872
D (226038) wifi:bcnd: 1872 -> 1864
D (226238) wifi:bcnd: 1864 -> 1872
D (226848) wifi:bcnd: 1872 -> 1864
D (227258) wifi:bcnd: 1864 -> 1872
D (227668) wifi:bcnd: 1872 -> 1864
D (255988) mqtt_client: Sent PING successful
D (255998) mqtt_client: mqtt_message_receive: first byte: 0xd0
D (255998) mqtt_client: mqtt_message_receive: read "remaining length" byte: 0x0
D (255998) mqtt_client: mqtt_message_receive: total message length: 2 (already read: 2)
D (256008) mqtt_client: msg_type=13, msg_id=0
D (256008) mqtt_client: MQTT_MSG_TYPE_PINGRESP
D (263308) wifi:bcnd: 1864 -> 1872
D (263508) wifi:bcnd: 1872 -> 1864
D (316618) mqtt_client: Sent PING successful
D (316618) mqtt_client: mqtt_message_receive: first byte: 0xd0
D (316628) mqtt_client: mqtt_message_receive: read "remaining length" byte: 0x0
D (316628) mqtt_client: mqtt_message_receive: total message length: 2 (already read: 2)
D (316638) mqtt_client: msg_type=13, msg_id=0
D (316638) mqtt_client: MQTT_MSG_TYPE_PINGRESP
D (348298) wifi:bcnd: 1864 -> 1872
D (348508) wifi:bcnd: 1872 -> 1864
D (353418) wifi:bcnd: 1864 -> 1872
D (353628) wifi:bcnd: 1872 -> 1864
D (367758) wifi:bcnd: 1864 -> 1872
D (367958) wifi:bcnd: 1872 -> 1864
D (377238) mqtt_client: Sent PING successful
D (377248) mqtt_client: mqtt_message_receive: first byte: 0xd0
D (377248) mqtt_client: mqtt_message_receive: read "remaining length" byte: 0x0
D (377248) mqtt_client: mqtt_message_receive: total message length: 2 (already read: 2)
D (377258) mqtt_client: msg_type=13, msg_id=0
D (377258) mqtt_client: MQTT_MSG_TYPE_PINGRESP
D (405648) wifi:bcnd: 1864 -> 2056
[0;32mI (405868) wifi:[ADDBA]RX DELBA, reason:36, delete tid:0, initiator:0(recipient)[0m
D (406058) wifi:bcnd: 2056 -> 1864
D (406878) wifi:bcnd: 1864 -> 2056
D (407078) wifi:bcnd: 2056 -> 1864
D (408308) wifi:bcnd: 1864 -> 1872
D (408508) wifi:bcnd: 1872 -> 1864
D (413218) wifi:bcnd: 1864 -> 1872
D (413428) wifi:bcnd: 1872 -> 1864
D (424488) wifi:bcnd: 1864 -> 1872
D (424688) wifi:bcnd: 1872 -> 1864
D (424898) wifi:bcnd: 1864 -> 1872
D (425098) wifi:bcnd: 1872 -> 1864
D (429608) wifi:bcnd: 1864 -> 1872
D (429818) wifi:bcnd: 1872 -> 1864
D (437868) mqtt_client: Sent PING successful
D (437878) mqtt_client: mqtt_message_receive: first byte: 0xd0
D (437878) mqtt_client: mqtt_message_receive: read "remaining length" byte: 0x0
D (437878) mqtt_client: mqtt_message_receive: total message length: 2 (already read: 2)
D (437888) mqtt_client: msg_type=13, msg_id=0
D (437888) mqtt_client: MQTT_MSG_TYPE_PINGRESP
D (442718) wifi:bcnd: 1864 -> 1872
D (442918) wifi:bcnd: 1872 -> 1864
D (468318) wifi:bcnd: 1864 -> 1872
D (468518) wifi:bcnd: 1872 -> 1864
D (473438) wifi:bcnd: 1864 -> 1872
D (473638) wifi:bcnd: 1872 -> 1