Skip to content

Instantly share code, notes, and snippets.

@farhan-syed
Created June 25, 2024 09:24
Show Gist options
  • Save farhan-syed/536c072a3ce2341d93f0306ceb77ebbd to your computer and use it in GitHub Desktop.
Save farhan-syed/536c072a3ce2341d93f0306ceb77ebbd to your computer and use it in GitHub Desktop.
idf.py flash monitor
dark@MacBook-Pro smart-light % idf.py flash monitor
Executing action: flash
Serial port /dev/cu.wlan-debug
Connecting.......................
/dev/cu.wlan-debug failed to connect: Failed to connect to Espressif device: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
Serial port /dev/cu.usbserial-110
Connecting....
Detecting chip type... ESP32-C6
Running ninja in directory /Users/dark/swift-matter-examples/smart-light/build
Executing "ninja flash"...
[1/10] Performing build step for 'chip_gn'
ninja: no work to do.
[1/1] cd /Users/dark/swift-matter-examples/smart-light/build/bootloader/esp-idf/esptool_py && /Users/d...et 0xc000 bootloader 0x0 /Users/dark/swift-matter-examples/smart-light/build/bootloader/bootloader.bi
Bootloader binary size 0x54d0 bytes. 0x6b30 bytes (56%) free.
[7/8] cd /Users/dark/swift-matter-examples/smart-light/build/esp-idf/esptool_py && /Users/dark/.espres...uild/partition_table/partition-table.bin /Users/dark/swift-matter-examples/smart-light/build/light.bi
light.bin binary size 0x1895d0 bytes. Smallest app partition is 0x1e0000 bytes. 0x56a30 bytes (18%) free.
[7/8] cd /Users/dark/esp/esp-idf/components/esptool_py && /opt/homebrew/Cellar/cmake/3.29.6/bin/cmake ...tter-examples/smart-light/build -P /Users/dark/esp/esp-idf/components/esptool_py/run_serial_tool.cmak
esptool.py --chip esp32c6 -p /dev/cu.usbserial-110 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 4MB 0x0 bootloader/bootloader.bin 0x20000 light.bin 0xc000 partition_table/partition-table.bin 0x1d000 ota_data_initial.bin
esptool.py v4.7.0
Serial port /dev/cu.usbserial-110
Connecting....
Chip is ESP32-C6 (QFN40) (revision v0.1)
Features: WiFi 6, BT 5, IEEE802.15.4
Crystal is 40MHz
MAC: f0:f5:bd:ff:fe:02:b4:d4
BASE MAC: f0:f5:bd:02:b4:d4
MAC_EXT: ff:fe
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00020000 to 0x001a9fff...
Flash will be erased from 0x0000c000 to 0x0000cfff...
Flash will be erased from 0x0001d000 to 0x0001efff...
Compressed 21712 bytes to 13081...
Writing at 0x00000000... (100 %)
Wrote 21712 bytes (13081 compressed) at 0x00000000 in 0.7 seconds (effective 259.3 kbit/s)...
Hash of data verified.
Compressed 1611216 bytes to 972343...
Writing at 0x001a4d85... (100 %)
Wrote 1611216 bytes (972343 compressed) at 0x00020000 in 26.3 seconds (effective 490.5 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 198...
Writing at 0x0000c000... (100 %)
Wrote 3072 bytes (198 compressed) at 0x0000c000 in 0.1 seconds (effective 217.6 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 31...
Writing at 0x0001d000... (100 %)
Wrote 8192 bytes (31 compressed) at 0x0001d000 in 0.1 seconds (effective 448.9 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
Executing action: monitor
Running idf_monitor in directory /Users/dark/swift-matter-examples/smart-light
Executing "/Users/dark/.espressif/python_env/idf5.2_py3.9_env/bin/python /Users/dark/esp/esp-idf/tools/idf_monitor.py -p /dev/cu.usbserial-110 -b 115200 --toolchain-prefix riscv32-esp-elf- --target esp32c6 --revision 0 --decode-panic backtrace /Users/dark/swift-matter-examples/smart-light/build/light.elf -m '/Users/dark/.espressif/python_env/idf5.2_py3.9_env/bin/python' '/Users/dark/esp/esp-idf/tools/idf.py'"...
--- esp-idf-monitor 1.4.0 on /dev/cu.usbserial-110 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ESP-ROM:esp32c6-20220919
Build:Sep 19 2022
rst:0x1 (POWERON),boot:0xc (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:2
load:0x40875720,len:0x1804
load:0x4086c410,len:0xe58
load:0x4086e610,len:0x2e20
entry 0x4086c41a
I (23) boot: ESP-IDF v5.2.1 2nd stage bootloader
I (24) boot: compile time Jun 25 2024 02:07:28
I (24) boot: chip revision: v0.1
I (26) boot.esp32c6: SPI Speed : 80MHz
I (31) boot.esp32c6: SPI Mode : DIO
I (36) boot.esp32c6: SPI Flash Size : 4MB
I (41) boot: Enabling RNG early entropy source...
I (46) boot: Partition Table:
I (50) boot: ## Label Usage Type ST Offset Length
I (57) boot: 0 esp_secure_cert unknown 3f 06 0000d000 00002000
I (64) boot: 1 nvs WiFi data 01 02 00010000 0000c000
I (72) boot: 2 nvs_keys NVS keys 01 04 0001c000 00001000
I (79) boot: 3 otadata OTA data 01 00 0001d000 00002000
I (87) boot: 4 phy_init RF data 01 01 0001f000 00001000
I (94) boot: 5 ota_0 OTA app 00 10 00020000 001e0000
I (102) boot: 6 ota_1 OTA app 00 11 00200000 001e0000
I (109) boot: 7 fctry WiFi data 01 02 003e0000 00006000
I (117) boot: 8 coredump Unknown data 01 03 003e6000 00010000
I (124) boot: End of partition table
I (129) boot: No factory image, trying OTA 0
I (134) esp_image: segment 0: paddr=00020020 vaddr=42130020 size=3cb28h (248616) map
I (193) esp_image: segment 1: paddr=0005cb50 vaddr=40800000 size=034c8h ( 13512) load
I (197) esp_image: segment 2: paddr=00060020 vaddr=42000020 size=12d4bch (1234108) map
I (454) esp_image: segment 3: paddr=0018d4e4 vaddr=408034c8 size=17164h ( 94564) load
I (477) esp_image: segment 4: paddr=001a4650 vaddr=4081a630 size=04f58h ( 20312) load
I (489) boot: Loaded app from partition at offset 0x20000
I (517) boot: Set actual ota_seq=1 in otadata[0]
I (517) boot: Disabling RNG early entropy source...
I (528) cpu_start: Unicore app
W (537) clk: esp_perip_clk_init() has not been implemented yet
I (543) cpu_start: Pro cpu start user code
I (543) cpu_start: cpu freq: 160000000 Hz
I (544) cpu_start: Application information:
I (546) cpu_start: Project name: light
I (551) cpu_start: App version: 1.0
I (556) cpu_start: Compile time: Jun 25 2024 02:07:07
I (562) cpu_start: ELF file SHA256: 82b3b6bf7...
I (567) cpu_start: ESP-IDF: v5.2.1
I (572) cpu_start: Min chip rev: v0.0
I (577) cpu_start: Max chip rev: v0.99
I (582) cpu_start: Chip rev: v0.1
I (586) heap_init: Initializing. RAM available for dynamic allocation:
I (593) heap_init: At 40830B30 len 0004BAE0 (302 KiB): RAM
I (600) heap_init: At 4087C610 len 00002F54 (11 KiB): RAM
I (606) heap_init: At 50000000 len 00003FE8 (15 KiB): RTCRAM
I (613) spi_flash: detected chip: generic
I (617) spi_flash: flash io: dio
W (621) spi_flash: Detected size(8192k) larger than the size in the binary image header(4096k). Using the size in the binary image header.
W (634) rmt(legacy): legacy driver is deprecated, please migrate to `driver/rmt_tx.h` and/or `driver/rmt_rx.h`
I (645) sleep: Configure to isolate all GPIO pins in sleep state
I (651) sleep: Enable automatic switching of GPIO sleep configuration
I (658) esp_core_dump_flash: Init core dump to flash
I (664) esp_core_dump_flash: Found partition 'coredump' @ 3e6000 65536 bytes
I (679) esp_core_dump_flash: Core dump data checksum is correct
I (680) esp_core_dump_flash: Found core dump 8228 bytes in flash @ 0x3e6000
I (686) coexist: coex firmware version: 77cd7f8
I (691) coexist: coexist rom version 5b8dcfa
I (697) main_task: Started on CPU0
I (697) main_task: Calling app_main()
🏎️ Hello, Embedded Swift! (Smart Light)
I (707) led_driver_ws2812: Initializing light driver
I (707) led_driver_ws2812: led set r:0, g:0, b:0
I (737) pp: pp rom version: 5b8dcfa
I (737) net80211: net80211 rom version: 5b8dcfa
I (747) wifi:wifi driver task: 4083db44, prio:23, stack:6656, core=0
I (747) wifi:wifi firmware version: a9f5b59
I (747) wifi:wifi certification version: v7.0
I (747) wifi:config NVS flash: enabled
I (757) wifi:config nano formating: disabled
I (757) wifi:mac_version:HAL_MAC_ESP32AX_761,ut_version:N
I (767) wifi:Init data frame dynamic rx buffer num: 32
I (767) wifi:Init static rx mgmt buffer num: 5
I (767) wifi:Init management short buffer num: 32
I (777) wifi:Init dynamic tx buffer num: 32
I (777) wifi:Init static tx FG buffer num: 2
I (787) wifi:Init static rx buffer size: 1700
I (787) wifi:Init static rx buffer num: 10
I (787) wifi:Init dynamic rx buffer num: 32
I (797) wifi_init: rx ba win: 6
I (797) wifi_init: tcpip mbox: 32
I (807) wifi_init: udp mbox: 6
I (807) wifi_init: tcp mbox: 6
I (807) wifi_init: tcp tx win: 5760
I (817) wifi_init: tcp rx win: 5760
I (817) wifi_init: tcp mss: 1440
I (827) wifi_init: WiFi IRAM OP enabled
I (827) wifi_init: WiFi RX IRAM OP enabled
I (857) chip[DL]: NVS set: chip-counters/reboot-count = 5754 (0x167A)
I (857) chip[DL]: Real time clock set to 946684800 (0100/00/01 00:00:00 UTC)
I (857) BLE_INIT: Using main XTAL as clock source
I (867) BLE_INIT: ble controller commit:[217f1bf]
I (867) phy_init: phy_version 250,e14681b,Jan 24 2024,17:43:11
I (937) phy: libbtbb version: 939f79c, Jan 24 2024, 17:43:26
I (947) NimBLE: GAP procedure initiated: stop advertising.
I (947) NimBLE: Failed to restore IRKs from store; status=8
I (947) CHIP[DL]: BLE host-controller synced
I (1457) chip[DL]: Configuring CHIPoBLE advertising (interval 25 ms, connectable)
I (1457) NimBLE: GAP procedure initiated: advertise;
I (1457) NimBLE: disc_mode=2
I (1457) NimBLE: adv_channel_map=0 own_addr_type=1 adv_filter_policy=0 adv_itvl_min=40 adv_itvl_max=40
I (1467) NimBLE:
I (1477) chip[DL]: CHIPoBLE advertising started
I (1477) chip[DL]: Starting ESP WiFi layer
W (1487) wifi:(bf)761:0x600a7cac:0x01b4b4b0
W (1487) wifi:(agc)0x600a7128:0xd21289f4, min.avgNF:0xce->0xd2(dB), RCalCount:0x128, min.RRssi:0x9f4(-96.75)
W (1497) wifi:(TB)WDEV_PWR_TB_MCS0:19
W (1497) wifi:(TB)WDEV_PWR_TB_MCS1:19
W (1507) wifi:(TB)WDEV_PWR_TB_MCS2:19
W (1507) wifi:(TB)WDEV_PWR_TB_MCS3:19
W (1507) wifi:(TB)WDEV_PWR_TB_MCS4:19
W (1517) wifi:(TB)WDEV_PWR_TB_MCS5:19
W (1517) wifi:(TB)WDEV_PWR_TB_MCS6:18
W (1517) wifi:(TB)WDEV_PWR_TB_MCS7:18
W (1527) wifi:(TB)WDEV_PWR_TB_MCS8:17
W (1527) wifi:(TB)WDEV_PWR_TB_MCS9:15
W (1527) wifi:(TB)WDEV_PWR_TB_MCS10:15
W (1537) wifi:(TB)WDEV_PWR_TB_MCS11:15
I (1537) wifi:11ax coex: WDEVAX_PTI0(0x55777555), WDEVAX_PTI1(0x00003377).
I (1547) wifi:mode : sta (f0:f5:bd:02:b4:d4)
I (1547) wifi:enable tsf
I (1547) chip[DL]: BLE GAP connection established (con 1)
W (1557) wifi:Haven't to connect to a suitable AP now!
I (1557) chip[DL]: Attempting to connect WiFi station interface
I (1567) chip[DL]: WiFi station state change: NotConnected -> Connecting
I (1577) chip[DL]: Done driving station state, nothing else to do...
I (1577) chip[SVR]: Initializing subscription resumption storage...
I (1587) chip[SVR]: Server initializing...
I (1597) chip[TS]: Last Known Good Time: 2023-10-14T01:16:48
I (1597) chip[DMG]: AccessControl: initializing
I (1607) chip[DMG]: Examples::AccessControlDelegate::Init
I (1607) chip[DMG]: AccessControl: setting
I (1617) chip[DMG]: DefaultAclStorage: initializing
I (1617) chip[DMG]: DefaultAclStorage: 0 entries loaded
I (1637) chip[ZCL]: Using ZAP configuration...
I (1637) esp_matter_cluster: Cluster plugin init common callback
I (1637) chip[DMG]: AccessControlCluster: initializing
I (1647) chip[ZCL]: 0x421357a8ep 0 clus 0x0000_0030 attr 0x0000_0000 not supported
I (1657) chip[ZCL]: Initiating Admin Commissioning cluster.
I (1657) chip[DIS]: Updating services using commissioning mode 1
I (1667) chip[DIS]: CHIP minimal mDNS started advertising.
I (1677) chip[DIS]: Advertise commission parameter vendorID=65521 productID=32768 discriminator=3840/15 cm=1
I (1687) chip[DIS]: CHIP minimal mDNS configured as 'Commissionable node device'; instance name: 29232C0F0C8ABCAA.
I (1697) chip[DIS]: mDNS service published: _matterc._udp
I (1697) chip[IN]: CASE Server enabling CASE session setups
I (1707) chip[SVR]: Joining Multicast groups
I (1707) chip[SVR]: Server Listening...
I (1717) esp_matter_core: Dynamic endpoint 0 added
I (1717) esp_matter_attribute: ********** W : Endpoint 0x0001's Cluster 0x00000003's Attribute 0x00000001 is 0 **********
lightEndpoint.eventHandler:
unknown
0
I (1737) esp_matter_attribute: ********** W : Endpoint 0x0001's Cluster 0x00000004's Attribute 0x00000000 is 128 **********
lightEndpoint.eventHandler:
unknown
128
I (1747) esp_matter_attribute: ********** W : Endpoint 0x0001's Cluster 0x00000004's Attribute 0x0000FFFC is <invalid type: 0> **********
I (1767) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000006's Attribute 0x0000FFFC is 1 **********
I (1777) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000006's Attribute 0x00004003 is 0 **********
I (1787) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000006's Attribute 0x00000000 is 0 **********
I (1797) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000006's Attribute 0x00000000 is 0 **********
I (1807) chip[ZCL]: Endpoint 1 On/off already set to new value
I (1817) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000008's Attribute 0x00000002 is 1 **********
I (1827) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000008's Attribute 0x00000003 is 254 **********
I (1837) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000008's Attribute 0x0000FFFC is 3 **********
I (1857) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000008's Attribute 0x00000000 is 64 **********
I (1867) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000008's Attribute 0x00004000 is 64 **********
I (1877) esp_matter_attribute: ********** W : Endpoint 0x0001's Cluster 0x00000008's Attribute 0x00000000 is 64 **********
lightEndpoint.eventHandler:
levelControl
64
I (1887) led_driver_ws2812: led set r:63, g:63, b:63
I (1897) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000300's Attribute 0x00004010 is 250 **********
I (1907) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000300's Attribute 0x00000007 is 250 **********
I (1917) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000300's Attribute 0x0000400B is 0 **********
I (1937) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000300's Attribute 0x0000400C is 65279 **********
I (1947) esp_matter_attribute: ********** W : Endpoint 0x0001's Cluster 0x00000300's Attribute 0x00000007 is 250 **********
lightEndpoint.eventHandler:
colorControl(colorTemperatureMireds)
250
I (1967) led_driver_ws2812: led set r:63, g:51, b:40
I (1967) esp_matter_attribute: ********** W : Endpoint 0x0001's Cluster 0x00000300's Attribute 0x00000008 is 2 **********
lightEndpoint.eventHandler:
colorControl(colorMode)
2
I (1987) esp_matter_attribute: ********** W : Endpoint 0x0001's Cluster 0x00000300's Attribute 0x00004001 is 2 **********
I (1997) esp_matter_core: Dynamic endpoint 1 added
I (2007) chip[DL]: CHIPoBLE advertising stopped
I (2007) chip[DL]: WIFI_EVENT_STA_START
W (2017) wifi:Haven't to connect to a suitable AP now!
I (2017) chip[DL]: Attempting to connect WiFi station interface
E (2027) wifi:sta is connecting, return error
E (2027) chip[DL]: esp_wifi_connect() failed: ESP_ERR_WIFI_CONN
W (2037) wifi:Haven't to connect to a suitable AP now!
E (2037) chip[DL]: Failed to get configured network when updating network status: Error ESP32:0x0500300F
I (2047) main_task: Returned from app_main()
I (4657) CHIP[DL]: Write request received for CHIPoBLE RX characteristic con 1 16
I (4657) chip[BLE]: local and remote recv window sizes = 5
I (4657) chip[BLE]: selected BTP version 4
I (4667) chip[BLE]: using BTP fragment sizes rx 244 / tx 244.
I (4927) chip[DL]: Write request/command received for CHIPoBLE TX CCCD characteristic (con 1 ) indicate = 1
I (4927) chip[DL]: CHIPoBLE subscribe received
I (4927) NimBLE: GATT procedure initiated: indicate;
I (4937) NimBLE: att_handle=18
I (4937) wifi:new:<10,0>, old:<1,0>, ap:<255,255>, sta:<10,0>, prof:1
I (4947) wifi:(connect)dot11_authmode:0x3, pairwise_cipher:0x3, group_cipher:0x3
I (4957) wifi:state: init -> auth (b0)
I (4957) wifi:state: auth -> assoc (0)
I (4967) wifi:state: assoc -> run (10)
I (4967) wifi:(trc)phytype:CBW20-SGI, snr:51, maxRate:144, highestRateIdx:0
I (4967) wifi:(trc)rate(S-MCS7, schedIdx:0), ampdu(rate:S-MCS7, schedIdx(0, stop:8)), snr:51, ampduState:wait operational
I (4977) wifi:ifidx:0, rssi:-45, nf:-96, phytype(0x3, CBW20-SGI), phymode(0x3, 11bgn), max_rate:1440, he:0
I (4987) wifi:max ampdu length exponent:3(65535 bytes), mmss:5(4 us)
I (5007) wifi:(extcap)mbssid:0, enhanced_mbssid_advertise:0, complete_nontxbssid_profiles:0, twt_responder: 0
I (5007) wifi:connected with U6, aid = 1, channel 10, BW20, bssid = f6:92:bf:9f:a5:c9
I (5017) wifi:cipher(pairwise:0x3, group:0x3), pmf:0, security:WPA2-PSK, phy:11bgn, rssi:-45
I (5027) wifi:pm start, type: 1, itwt_start:0
I (5027) wifi:pm start, type:1, aid:0x1, trans-BSSID:f6:92:bf:9f:a5:c9, BSSID[5]:0xc9, mbssid(max-indicator:0, index:0), he:0
I (5037) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us
I (5047) wifi:set rx beacon pti, rx_bcn_pti: 10, bcn_timeout: 25000, mt_pti: 10, mt_time: 10000
I (5057) wifi:[ADDBA]TX addba request, tid:0, dialogtoken:1, bufsize:64, A-MSDU:0(not supported), policy:1(IMR), ssn:0(0x0)
I (5067) wifi:[ADDBA]TX addba request, tid:7, dialogtoken:2, bufsize:64, A-MSDU:0(not supported), policy:1(IMR), ssn:0(0x20)
I (5077) wifi:[ADDBA]TX addba request, tid:5, dialogtoken:3, bufsize:64, A-MSDU:0(not supported), policy:1(IMR), ssn:0(0x0)
I (5087) wifi:AP's beacon interval = 102400 us, DTIM period = 1
I (5087) wifi:[ADDBA]RX addba response, status:0, tid:0/tb:1(0xa1), bufsize:64, batimeout:0, txa_wnd:64
I (5097) wifi:[ADDBA]RX addba response, status:0, tid:7/tb:1(0xa1), bufsize:64, batimeout:0, txa_wnd:64
I (5107) wifi:[ADDBA]RX addba response, status:0, tid:5/tb:1(0xa1), bufsize:64, batimeout:0, txa_wnd:64
I (5117) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 1) status= 14
I (5127) CHIP[DL]: Write request received for CHIPoBLE RX characteristic con 1 16
I (5137) chip[EM]: >>> [E:55393r S:0 M:66630355] (U) Msg RX from 0:17B05869803202E2 [0000] --- Type 0000:20 (SecureChannel:PBKDFParamRequest)
I (5147) chip[EM]: <<< [E:55393r S:0 M:123917234] (U) Msg TX to 0:0000000000000000 [0000] [BLE] --- Type 0000:21 (SecureChannel:PBKDFParamResponse)
I (5167) NimBLE: GATT procedure initiated: indicate;
I (5167) NimBLE: att_handle=18
I (5177) chip[SVR]: Commissioning session establishment step started
I (5177) chip[DL]: WIFI_EVENT_STA_CONNECTED
I (5187) chip[DL]: WiFi station state change: Connecting -> Connecting_Succeeded
I (5197) chip[DL]: WiFi station state change: Connecting_Succeeded -> Connected
I (5197) chip[DL]: WiFi station interface connected
I (5207) chip[ZCL]: WiFiDiagnosticsDelegate: OnConnectionStatusChanged
I (5217) chip[DL]: Done driving station state, nothing else to do...
W (5197) wifi:<ba-add>idx:0, ifx:0, tid:6, TAHI:0x100c9a5, TALO:0x9fbf92f6, (ssn:1, win:64, cur_ssn:1), CONF:0xc0006005
I (5227) chip[DL]: Updating advertising data
I (5257) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 1) status= 14
I (5257) CHIP[DL]: Write request received for CHIPoBLE RX characteristic con 1 16
I (5267) chip[EM]: >>> [E:55393r S:0 M:66630356] (U) Msg RX from 0:17B05869803202E2 [0000] --- Type 0000:22 (SecureChannel:PASE_Pake1)
I (5337) chip[EM]: <<< [E:55393r S:0 M:123917235] (U) Msg TX to 0:0000000000000000 [0000] [BLE] --- Type 0000:23 (SecureChannel:PASE_Pake2)
I (5337) NimBLE: GATT procedure initiated: indicate;
I (5337) NimBLE: att_handle=18
I (5437) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 1) status= 14
I (5437) CHIP[DL]: Write request received for CHIPoBLE RX characteristic con 1 16
I (5447) chip[EM]: >>> [E:55393r S:0 M:66630357] (U) Msg RX from 0:17B05869803202E2 [0000] --- Type 0000:24 (SecureChannel:PASE_Pake3)
I (5457) chip[EM]: <<< [E:55393r S:0 M:123917236] (U) Msg TX to 0:0000000000000000 [0000] [BLE] --- Type 0000:40 (SecureChannel:StatusReport)
I (5467) NimBLE: GATT procedure initiated: indicate;
I (5477) NimBLE: att_handle=18
I (5477) chip[SC]: SecureSession[0x40822b00, LSID:62970]: State change 'kEstablishing' --> 'kActive'
I (5487) chip[SVR]: Commissioning completed session establishment step
I (5497) chip[DIS]: Updating services using commissioning mode 0
I (5497) chip[DIS]: CHIP minimal mDNS started advertising.
I (5507) chip[DIS]: Advertise commission parameter vendorID=65521 productID=32768 discriminator=3840/15 cm=0
I (5517) chip[DIS]: CHIP minimal mDNS configured as 'Commissionable node device'; instance name: 29232C0F0C8ABCAA.
I (5527) chip[DIS]: mDNS service published: _matterc._udp
I (5537) chip[SVR]: Device completed Rendezvous process
I (5557) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 1) status= 14
I (5557) CHIP[DL]: Write request received for CHIPoBLE RX characteristic con 1 16
I (5567) chip[EM]: >>> [E:55394r S:62970 M:128230788] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:02 (IM:ReadRequest)
I (5577) chip[EM]: <<< [E:55394r S:62970 M:226785424] (S) Msg TX to 0:FFFFFFFB00000000 [0000] [BLE] --- Type 0001:05 (IM:ReportData)
I (5587) NimBLE: GATT procedure initiated: indicate;
I (5597) NimBLE: att_handle=18
I (5647) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 1) status= 14
I (5647) CHIP[DL]: Write request received for CHIPoBLE RX characteristic con 1 16
I (5657) chip[EM]: >>> [E:55395r S:62970 M:128230789] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:02 (IM:ReadRequest)
I (5667) chip[EM]: <<< [E:55395r S:62970 M:226785425] (S) Msg TX to 0:FFFFFFFB00000000 [0000] [BLE] --- Type 0001:05 (IM:ReportData)
I (5677) NimBLE: GATT procedure initiated: indicate;
I (5687) NimBLE: att_handle=18
I (5767) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 1) status= 14
I (5767) CHIP[DL]: Write request received for CHIPoBLE RX characteristic con 1 16
I (5777) chip[EM]: >>> [E:55396r S:62970 M:128230790] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:02 (IM:ReadRequest)
I (5787) chip[EM]: <<< [E:55396r S:62970 M:226785426] (S) Msg TX to 0:FFFFFFFB00000000 [0000] [BLE] --- Type 0001:05 (IM:ReportData)
I (5797) NimBLE: GATT procedure initiated: indicate;
I (5807) NimBLE: att_handle=18
I (5887) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 1) status= 14
I (5887) CHIP[DL]: Write request received for CHIPoBLE RX characteristic con 1 16
I (5897) chip[EM]: >>> [E:55397r S:62970 M:128230791] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:02 (IM:ReadRequest)
I (5907) chip[EM]: <<< [E:55397r S:62970 M:226785427] (S) Msg TX to 0:FFFFFFFB00000000 [0000] [BLE] --- Type 0001:05 (IM:ReportData)
I (5917) NimBLE: GATT procedure initiated: indicate;
I (5927) NimBLE: att_handle=18
I (6037) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 1) status= 14
I (6037) CHIP[DL]: Write request received for CHIPoBLE RX characteristic con 1 16
I (6047) chip[EM]: >>> [E:55398r S:62970 M:128230792] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:02 (IM:ReadRequest)
I (6057) chip[EM]: <<< [E:55398r S:62970 M:226785428] (S) Msg TX to 0:FFFFFFFB00000000 [0000] [BLE] --- Type 0001:05 (IM:ReportData)
I (6067) NimBLE: GATT procedure initiated: indicate;
I (6077) NimBLE: att_handle=18
I (6137) esp_netif_handlers: sta ip: 192.168.10.26, mask: 255.255.255.0, gw: 192.168.10.1
I (6137) chip[DL]: IP_EVENT_STA_GOT_IP
I (6137) chip[DL]: IPv4 address changed on WiFi station interface: 192.168.10.26/255.255.255.0 gateway 192.168.10.1
I (6147) chip[DL]: IPv4 Internet connectivity ESTABLISHED
I (6157) chip[DIS]: Updating services using commissioning mode 0
I (6157) chip[DIS]: CHIP minimal mDNS started advertising.
I (6167) chip[DIS]: Advertise commission parameter vendorID=65521 productID=32768 discriminator=3840/15 cm=0
I (6177) chip[DIS]: CHIP minimal mDNS configured as 'Commissionable node device'; instance name: 29232C0F0C8ABCAA.
I (6187) chip[DIS]: mDNS service published: _matterc._udp
I (6157) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 1) status= 14
I (6207) CHIP[DL]: Write request received for CHIPoBLE RX characteristic con 1 16
I (6217) chip[EM]: >>> [E:55399r S:62970 M:128230793] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:02 (IM:ReadRequest)
I (6227) chip[DL]: NVS set: chip-config/reg-location = 0 (0x0)
I (6227) esp_matter_attribute: ********** R : Endpoint 0x0000's Cluster 0x00000030's Attribute 0x00000000 is 0 **********
I (6247) chip[EM]: <<< [E:55399r S:62970 M:226785429] (S) Msg TX to 0:FFFFFFFB00000000 [0000] [BLE] --- Type 0001:05 (IM:ReportData)
I (6257) NimBLE: GATT procedure initiated: indicate;
I (6257) NimBLE: att_handle=18
I (6307) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 1) status= 14
I (6307) NimBLE: GATT procedure initiated: indicate;
I (6307) NimBLE: att_handle=18
I (6397) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 1) status= 14
I (6397) CHIP[DL]: Write request received for CHIPoBLE RX characteristic con 1 16
I (6407) chip[EM]: >>> [E:55400r S:62970 M:128230794] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:02 (IM:ReadRequest)
I (6417) chip[EM]: <<< [E:55400r S:62970 M:226785430] (S) Msg TX to 0:FFFFFFFB00000000 [0000] [BLE] --- Type 0001:05 (IM:ReportData)
I (6427) NimBLE: GATT procedure initiated: indicate;
I (6437) NimBLE: att_handle=18
I (6487) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 1) status= 14
I (6487) CHIP[DL]: Write request received for CHIPoBLE RX characteristic con 1 16
I (6497) chip[EM]: >>> [E:55401r S:62970 M:128230795] (S) Msg RX from 0:FFFFFFFB00000000 [0000] --- Type 0001:08 (IM:InvokeCommandRequest)
I (6507) esp_matter_command: Received command 0x00000000 for endpoint 0x0000's cluster 0x00000030
I (6517) chip[FS]: GeneralCommissioning: Received ArmFailSafe (60s)
I (6517) esp_matter_attribute: ********** W : Endpoint 0x0000's Cluster 0x00000030's Attribute 0x00000000 is 4 **********
Guru Meditation Error: Core 0 panic'ed (Load access fault). Exception was unhandled.
Stack dump detected
Core 0 register dump:
MEPC : 0x4200af58 RA : 0x4200af42 SP : 0x40846940 GP : 0x4081ae30
0x4200af58: $s10__idf_main6MatterO4NodeC12eventHandler4type8endpoint7cluster9attribute5valueyAA0C14AttributeEventO_AA8EndpointVAA7ClusterVs6UInt32VSpySo21esp_matter_attr_val_taGSgtF at ??:?
0x4200af42: $s10__idf_main6MatterO4NodeC12eventHandler4type8endpoint7cluster9attribute5valueyAA0C14AttributeEventO_AA8EndpointVAA7ClusterVs6UInt32VSpySo21esp_matter_attr_val_taGSgtF at ??:?
TP : 0x4080cbcc T0 : 0x4200fcc4 T1 : 0x0000000f T2 : 0xffffffff
0x4080cbcc: xQueueGiveFromISR at /Users/dark/esp/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:1414
0x4200fcc4: MatterPostAttributeChangeCallback(chip::app::ConcreteAttributePath const&, unsigned char, unsigned short, unsigned char*) at /Users/dark/esp/esp-matter/components/esp_matter/esp_matter_attribute_utils.cpp:2044
S0/FP : 0x4084fdc8 S1 : 0x00000000 A0 : 0x4084fdb8 A1 : 0x4084fdb8
A2 : 0x00000001 A3 : 0x00000000 A4 : 0x408469d8 A5 : 0x40834b80
A6 : 0x4200b3e4 A7 : 0x4084fe20 S2 : 0x00000000 S3 : 0x40835c70
0x4200b3e4: $s10__idf_main8RootNodeV9attribute8identifyACSgyAA20MatterAttributeEventO_AA8EndpointVAA7ClusterVs6UInt32VSpySo21esp_matter_attr_val_taGSgtc_ySo0m1_N0O14identificationO13callback_typeV_s6UInt16Vs5UInt8VA0_tctcfcs5Int32VAtDOAWV_Az2nRSvSgtcfU_To at ??:?
S4 : 0x408469d8 S5 : 0x40835434 S6 : 0x4084fdb8 S7 : 0x4084fdb8
S8 : 0x00000000 S9 : 0x4213c144 S10 : 0x40846ec0 S11 : 0x00000000
T3 : 0x00000024 T4 : 0x00000080 T5 : 0x00000040 T6 : 0xdfffffff
MSTATUS : 0x00001881 MTVEC : 0x40800001 MCAUSE : 0x00000005 MTVAL : 0x00000008
0x40800001: _vector_table at ??:?
MHARTID : 0x00000000
Backtrace:
0x4200af58 in $s10__idf_main6MatterO4NodeC12eventHandler4type8endpoint7cluster9attribute5valueyAA0C14AttributeEventO_AA8EndpointVAA7ClusterVs6UInt32VSpySo21esp_matter_attr_val_taGSgtF ()
#0 0x4200af58 in $s10__idf_main6MatterO4NodeC12eventHandler4type8endpoint7cluster9attribute5valueyAA0C14AttributeEventO_AA8EndpointVAA7ClusterVs6UInt32VSpySo21esp_matter_attr_val_taGSgtF ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
ELF file SHA256: 82b3b6bf7
I (2978) esp_core_dump_flash: Save core dump to flash...
I (2984) esp_core_dump_flash: Erase flash 12288 bytes @ 0x3e6000
I (3175) esp_core_dump_flash: Write end offset 0x2684, check sum length 4
I (3176) esp_core_dump_flash: Core dump has been saved to flash.
Rebooting...
ESP-ROM:esp32c6-20220919
Build:Sep 19 2022
rst:0xc (SW_CPU),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x4001975a
0x4001975a: software_reset_cpu in ROM
SPIWP:0xee
mode:DIO, clock div:2
load:0x40875720,len:0x1804
load:0x4086c410,len:0xe58
load:0x4086e610,len:0x2e20
entry 0x4086c41a
I (26) boot: ESP-IDF v5.2.1 2nd stage bootloader
I (27) boot: compile time Jun 25 2024 02:07:28
I (28) boot: chip revision: v0.1
I (30) boot.esp32c6: SPI Speed : 80MHz
I (34) boot.esp32c6: SPI Mode : DIO
I (39) boot.esp32c6: SPI Flash Size : 4MB
I (44) boot: Enabling RNG early entropy source...
I (50) boot: Partition Table:
I (53) boot: ## Label Usage Type ST Offset Length
I (60) boot: 0 esp_secure_cert unknown 3f 06 0000d000 00002000
I (68) boot: 1 nvs WiFi data 01 02 00010000 0000c000
I (75) boot: 2 nvs_keys NVS keys 01 04 0001c000 00001000
I (83) boot: 3 otadata OTA data 01 00 0001d000 00002000
I (90) boot: 4 phy_init RF data 01 01 0001f000 00001000
I (97) boot: 5 ota_0 OTA app 00 10 00020000 001e0000
I (105) boot: 6 ota_1 OTA app 00 11 00200000 001e0000
I (112) boot: 7 fctry WiFi data 01 02 003e0000 00006000
I (120) boot: 8 coredump Unknown data 01 03 003e6000 00010000
I (128) boot: End of partition table
I (132) esp_image: segment 0: paddr=00020020 vaddr=42130020 size=3cb28h (248616) map
I (242) esp_image: segment 1: paddr=0005cb50 vaddr=40800000 size=034c8h ( 13512) load
I (250) esp_image: segment 2: paddr=00060020 vaddr=42000020 size=12d4bch (1234108) map
I (753) esp_image: segment 3: paddr=0018d4e4 vaddr=408034c8 size=17164h ( 94564) load
I (798) esp_image: segment 4: paddr=001a4650 vaddr=4081a630 size=04f58h ( 20312) load
I (822) boot: Loaded app from partition at offset 0x20000
I (823) boot: Disabling RNG early entropy source...
I (834) cpu_start: Unicore app
W (843) clk: esp_perip_clk_init() has not been implemented yet
I (850) cpu_start: Pro cpu start user code
I (850) cpu_start: cpu freq: 160000000 Hz
I (850) cpu_start: Application information:
I (853) cpu_start: Project name: light
I (858) cpu_start: App version: 1.0
I (862) cpu_start: Compile time: Jun 25 2024 02:07:07
I (869) cpu_start: ELF file SHA256: 82b3b6bf7...
I (874) cpu_start: ESP-IDF: v5.2.1
I (879) cpu_start: Min chip rev: v0.0
I (883) cpu_start: Max chip rev: v0.99
I (888) cpu_start: Chip rev: v0.1
I (893) heap_init: Initializing. RAM available for dynamic allocation:
I (900) heap_init: At 40830B30 len 0004BAE0 (302 KiB): RAM
I (906) heap_init: At 4087C610 len 00002F54 (11 KiB): RAM
I (912) heap_init: At 50000000 len 00003FE8 (15 KiB): RTCRAM
I (920) spi_flash: detected chip: generic
I (923) spi_flash: flash io: dio
W (927) spi_flash: Detected size(8192k) larger than the size in the binary image header(4096k). Using the size in the binary image header.
W (941) rmt(legacy): legacy driver is deprecated, please migrate to `driver/rmt_tx.h` and/or `driver/rmt_rx.h`
I (952) sleep: Configure to isolate all GPIO pins in sleep state
I (958) sleep: Enable automatic switching of GPIO sleep configuration
I (965) esp_core_dump_flash: Init core dump to flash
I (971) esp_core_dump_flash: Found partition 'coredump' @ 3e6000 65536 bytes
I (988) esp_core_dump_flash: Core dump data checksum is correct
I (988) esp_core_dump_flash: Found core dump 9860 bytes in flash @ 0x3e6000
I (993) coexist: coex firmware version: 77cd7f8
I (998) coexist: coexist rom version 5b8dcfa
I (1003) main_task: Started on CPU0
I (1003) main_task: Calling app_main()
🏎️ Hello, Embedded Swift! (Smart Light)
I (1013) led_driver_ws2812: Initializing light driver
I (1013) led_driver_ws2812: led set r:0, g:0, b:0
I (1043) pp: pp rom version: 5b8dcfa
I (1043) net80211: net80211 rom version: 5b8dcfa
I (1053) wifi:wifi driver task: 4083db44, prio:23, stack:6656, core=0
I (1053) wifi:wifi firmware version: a9f5b59
I (1053) wifi:wifi certification version: v7.0
I (1053) wifi:config NVS flash: enabled
I (1063) wifi:config nano formating: disabled
I (1063) wifi:mac_version:HAL_MAC_ESP32AX_761,ut_version:N
I (1073) wifi:Init data frame dynamic rx buffer num: 32
I (1073) wifi:Init static rx mgmt buffer num: 5
I (1083) wifi:Init management short buffer num: 32
I (1083) wifi:Init dynamic tx buffer num: 32
I (1083) wifi:Init static tx FG buffer num: 2
I (1093) wifi:Init static rx buffer size: 1700
I (1093) wifi:Init static rx buffer num: 10
I (1103) wifi:Init dynamic rx buffer num: 32
I (1103) wifi_init: rx ba win: 6
I (1103) wifi_init: tcpip mbox: 32
I (1113) wifi_init: udp mbox: 6
I (1113) wifi_init: tcp mbox: 6
I (1123) wifi_init: tcp tx win: 5760
I (1123) wifi_init: tcp rx win: 5760
I (1123) wifi_init: tcp mss: 1440
I (1133) wifi_init: WiFi IRAM OP enabled
I (1133) wifi_init: WiFi RX IRAM OP enabled
I (1163) chip[DL]: NVS set: chip-counters/reboot-count = 5755 (0x167B)
I (1163) chip[DL]: Real time clock set to 946684800 (0100/00/01 00:00:00 UTC)
I (1163) BLE_INIT: Using main XTAL as clock source
I (1173) BLE_INIT: ble controller commit:[217f1bf]
I (1173) phy_init: phy_version 250,e14681b,Jan 24 2024,17:43:11
I (1243) phy: libbtbb version: 939f79c, Jan 24 2024, 17:43:26
I (1253) NimBLE: GAP procedure initiated: stop advertising.
I (1253) NimBLE: Failed to restore IRKs from store; status=8
I (1253) CHIP[DL]: BLE host-controller synced
I (1763) chip[DL]: Configuring CHIPoBLE advertising (interval 25 ms, connectable)
I (1763) NimBLE: GAP procedure initiated: advertise;
I (1763) NimBLE: disc_mode=2
I (1763) NimBLE: adv_channel_map=0 own_addr_type=1 adv_filter_policy=0 adv_itvl_min=40 adv_itvl_max=40
I (1773) NimBLE:
I (1783) chip[DL]: CHIPoBLE advertising started
I (1783) chip[DL]: Starting ESP WiFi layer
W (1793) wifi:(bf)761:0x600a7cac:0x01b4b4b0
W (1793) wifi:(agc)0x600a7128:0xd21c8a0c, min.avgNF:0xce->0xd2(dB), RCalCount:0x1c8, min.RRssi:0xa0c(-95.25)
W (1803) wifi:(TB)WDEV_PWR_TB_MCS0:19
W (1803) wifi:(TB)WDEV_PWR_TB_MCS1:19
W (1813) wifi:(TB)WDEV_PWR_TB_MCS2:19
W (1813) wifi:(TB)WDEV_PWR_TB_MCS3:19
W (1813) wifi:(TB)WDEV_PWR_TB_MCS4:19
W (1823) wifi:(TB)WDEV_PWR_TB_MCS5:19
W (1823) wifi:(TB)WDEV_PWR_TB_MCS6:18
W (1823) wifi:(TB)WDEV_PWR_TB_MCS7:18
W (1833) wifi:(TB)WDEV_PWR_TB_MCS8:17
W (1833) wifi:(TB)WDEV_PWR_TB_MCS9:15
W (1833) wifi:(TB)WDEV_PWR_TB_MCS10:15
W (1843) wifi:(TB)WDEV_PWR_TB_MCS11:15
I (1843) wifi:11ax coex: WDEVAX_PTI0(0x55777555), WDEVAX_PTI1(0x00003377).
I (1853) wifi:mode : sta (f0:f5:bd:02:b4:d4)
I (1853) wifi:enable tsf
W (1853) wifi:Haven't to connect to a suitable AP now!
I (1863) chip[DL]: Attempting to connect WiFi station interface
I (1863) chip[DL]: WiFi station state change: NotConnected -> Connecting
I (1873) chip[DL]: Done driving station state, nothing else to do...
I (1883) chip[SVR]: Initializing subscription resumption storage...
I (1893) chip[SVR]: Server initializing...
I (1893) chip[TS]: Last Known Good Time: 2023-10-14T01:16:48
I (1903) chip[DMG]: AccessControl: initializing
I (1903) chip[DMG]: Examples::AccessControlDelegate::Init
I (1913) chip[DMG]: AccessControl: setting
I (1913) chip[DMG]: DefaultAclStorage: initializing
I (1923) chip[DMG]: DefaultAclStorage: 0 entries loaded
I (1943) chip[ZCL]: Using ZAP configuration...
I (1943) esp_matter_cluster: Cluster plugin init common callback
I (1943) chip[DMG]: AccessControlCluster: initializing
I (1953) chip[ZCL]: 0x421357a8ep 0 clus 0x0000_0030 attr 0x0000_0000 not supported
I (1963) chip[ZCL]: Initiating Admin Commissioning cluster.
I (1963) chip[DIS]: Updating services using commissioning mode 1
I (1973) chip[DIS]: CHIP minimal mDNS started advertising.
I (1983) chip[DIS]: Advertise commission parameter vendorID=65521 productID=32768 discriminator=3840/15 cm=1
I (1993) chip[DIS]: CHIP minimal mDNS configured as 'Commissionable node device'; instance name: 347DD0D1B6D75AA6.
I (2003) chip[DIS]: mDNS service published: _matterc._udp
I (2003) chip[IN]: CASE Server enabling CASE session setups
I (2013) chip[SVR]: Joining Multicast groups
I (2013) chip[SVR]: Server Listening...
I (2023) esp_matter_core: Dynamic endpoint 0 added
I (2033) esp_matter_attribute: ********** W : Endpoint 0x0001's Cluster 0x00000003's Attribute 0x00000001 is 0 **********
lightEndpoint.eventHandler:
unknown
0
I (2043) esp_matter_attribute: ********** W : Endpoint 0x0001's Cluster 0x00000004's Attribute 0x00000000 is 128 **********
lightEndpoint.eventHandler:
unknown
128
I (2053) esp_matter_attribute: ********** W : Endpoint 0x0001's Cluster 0x00000004's Attribute 0x0000FFFC is <invalid type: 0> **********
I (2073) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000006's Attribute 0x0000FFFC is 1 **********
I (2083) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000006's Attribute 0x00004003 is 0 **********
I (2093) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000006's Attribute 0x00000000 is 0 **********
I (2103) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000006's Attribute 0x00000000 is 0 **********
I (2113) chip[ZCL]: Endpoint 1 On/off already set to new value
I (2123) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000008's Attribute 0x00000002 is 1 **********
I (2133) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000008's Attribute 0x00000003 is 254 **********
I (2143) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000008's Attribute 0x0000FFFC is 3 **********
I (2163) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000008's Attribute 0x00000000 is 64 **********
I (2173) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000008's Attribute 0x00004000 is 64 **********
I (2183) esp_matter_attribute: ********** W : Endpoint 0x0001's Cluster 0x00000008's Attribute 0x00000000 is 64 **********
lightEndpoint.eventHandler:
levelControl
64
I (2203) led_driver_ws2812: led set r:63, g:63, b:63
I (2203) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000300's Attribute 0x00004010 is 250 **********
I (2213) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000300's Attribute 0x00000007 is 250 **********
I (2223) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000300's Attribute 0x0000400B is 0 **********
I (2243) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000300's Attribute 0x0000400C is 65279 **********
I (2253) esp_matter_attribute: ********** W : Endpoint 0x0001's Cluster 0x00000300's Attribute 0x00000007 is 250 **********
lightEndpoint.eventHandler:
colorControl(colorTemperatureMireds)
250
I (2273) led_driver_ws2812: led set r:63, g:51, b:40
I (2273) esp_matter_attribute: ********** W : Endpoint 0x0001's Cluster 0x00000300's Attribute 0x00000008 is 2 **********
lightEndpoint.eventHandler:
colorControl(colorMode)
2
I (2293) esp_matter_attribute: ********** W : Endpoint 0x0001's Cluster 0x00000300's Attribute 0x00004001 is 2 **********
I (2303) esp_matter_core: Dynamic endpoint 1 added
I (2313) chip[DL]: WIFI_EVENT_STA_START
W (2313) wifi:Haven't to connect to a suitable AP now!
I (2313) chip[DL]: Attempting to connect WiFi station interface
E (2323) wifi:sta is connecting, return error
E (2333) chip[DL]: esp_wifi_connect() failed: ESP_ERR_WIFI_CONN
W (2333) wifi:Haven't to connect to a suitable AP now!
E (2343) chip[DL]: Failed to get configured network when updating network status: Error ESP32:0x0500300F
I (2353) chip[DL]: Configuring CHIPoBLE advertising (interval 25 ms, connectable)
I (2363) chip[DL]: Device already advertising, stop active advertisement and restart
I (2363) NimBLE: GAP procedure initiated: stop advertising.
I (2373) NimBLE: GAP procedure initiated: advertise;
I (2383) NimBLE: disc_mode=2
I (2383) NimBLE: adv_channel_map=0 own_addr_type=1 adv_filter_policy=0 adv_itvl_min=40 adv_itvl_max=40
I (2393) NimBLE:
I (2393) main_task: Returned from app_main()
I (5233) wifi:new:<10,0>, old:<1,0>, ap:<255,255>, sta:<10,0>, prof:1
I (5233) wifi:(connect)dot11_authmode:0x3, pairwise_cipher:0x3, group_cipher:0x3
I (5243) wifi:state: init -> auth (b0)
I (5243) wifi:state: auth -> assoc (0)
I (5253) wifi:state: assoc -> run (10)
I (5253) wifi:(trc)phytype:CBW20-SGI, snr:52, maxRate:144, highestRateIdx:0
I (5253) wifi:(trc)rate(S-MCS7, schedIdx:0), ampdu(rate:S-MCS7, schedIdx(0, stop:8)), snr:52, ampduState:wait operational
I (5263) wifi:ifidx:0, rssi:-44, nf:-96, phytype(0x3, CBW20-SGI), phymode(0x3, 11bgn), max_rate:1440, he:0
I (5273) wifi:max ampdu length exponent:3(65535 bytes), mmss:5(4 us)
W (5283) wifi:[ADDBA]rx delba, code:39, delete tid:0
W (5283) wifi:[ADDBA]rx delba, code:39, delete tid:5
W (5293) wifi:[ADDBA]rx delba, code:39, delete tid:6
W (5293) wifi:[ADDBA]rx delba, code:39, delete tid:7
W (5303) wifi:<ba-add>idx:0, ifx:0, tid:0, TAHI:0x100c9a5, TALO:0x9fbf92f6, (ssn:0, win:64, cur_ssn:0), CONF:0xc0000005
I (5313) wifi:<ba-del>idx:0, tid:0
W (5313) wifi:<ba-add>idx:0, ifx:0, tid:0, TAHI:0x100c9a5, TALO:0x9fbf92f6, (ssn:0, win:64, cur_ssn:0), CONF:0xc0000005
I (5333) wifi:(extcap)mbssid:0, enhanced_mbssid_advertise:0, complete_nontxbssid_profiles:0, twt_responder: 0
I (5333) wifi:connected with U6, aid = 1, channel 10, BW20, bssid = f6:92:bf:9f:a5:c9
I (5343) wifi:cipher(pairwise:0x3, group:0x3), pmf:0, security:WPA2-PSK, phy:11bgn, rssi:-44
I (5353) wifi:pm start, type: 1, itwt_start:0
I (5353) wifi:pm start, type:1, aid:0x1, trans-BSSID:f6:92:bf:9f:a5:c9, BSSID[5]:0xc9, mbssid(max-indicator:0, index:0), he:0
I (5363) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us
I (5373) wifi:set rx beacon pti, rx_bcn_pti: 10, bcn_timeout: 25000, mt_pti: 10, mt_time: 10000
I (5383) wifi:[ADDBA]TX addba request, tid:0, dialogtoken:1, bufsize:64, A-MSDU:0(not supported), policy:1(IMR), ssn:0(0x0)
I (5393) wifi:[ADDBA]TX addba request, tid:7, dialogtoken:2, bufsize:64, A-MSDU:0(not supported), policy:1(IMR), ssn:0(0x20)
I (5403) wifi:[ADDBA]TX addba request, tid:5, dialogtoken:3, bufsize:64, A-MSDU:0(not supported), policy:1(IMR), ssn:0(0x0)
I (5413) wifi:AP's beacon interval = 102400 us, DTIM period = 1
I (5423) wifi:[ADDBA]RX addba response, status:0, tid:0/tb:1(0xa1), bufsize:64, batimeout:0, txa_wnd:64
I (5433) wifi:[ADDBA]RX addba response, status:0, tid:7/tb:1(0xa1), bufsize:64, batimeout:0, txa_wnd:64
I (5433) wifi:[ADDBA]RX addba response, status:0, tid:5/tb:1(0xa1), bufsize:64, batimeout:0, txa_wnd:64
I (5453) chip[DL]: WIFI_EVENT_STA_CONNECTED
I (5453) chip[DL]: WiFi station state change: Connecting -> Connecting_Succeeded
W (5463) wifi:<ba-add>idx:1, ifx:0, tid:6, TAHI:0x100c9a5, TALO:0x9fbf92f6, (ssn:1, win:64, cur_ssn:1), CONF:0xc0006005
I (5473) chip[DL]: WiFi station state change: Connecting_Succeeded -> Connected
I (5483) chip[DL]: WiFi station interface connected
I (5483) chip[ZCL]: WiFiDiagnosticsDelegate: OnConnectionStatusChanged
I (5493) chip[DL]: Done driving station state, nothing else to do...
I (5503) chip[DL]: Updating advertising data
I (5503) chip[DL]: Configuring CHIPoBLE advertising (interval 25 ms, connectable)
I (5513) chip[DL]: Device already advertising, stop active advertisement and restart
I (5523) NimBLE: GAP procedure initiated: stop advertising.
I (5523) NimBLE: GAP procedure initiated: advertise;
I (5533) NimBLE: disc_mode=2
I (5533) NimBLE: adv_channel_map=0 own_addr_type=1 adv_filter_policy=0 adv_itvl_min=40 adv_itvl_max=40
I (5543) NimBLE:
I (6443) esp_netif_handlers: sta ip: 192.168.10.26, mask: 255.255.255.0, gw: 192.168.10.1
I (6443) chip[DL]: IP_EVENT_STA_GOT_IP
I (6443) chip[DL]: IPv4 address changed on WiFi station interface: 192.168.10.26/255.255.255.0 gateway 192.168.10.1
I (6453) chip[DL]: IPv4 Internet connectivity ESTABLISHED
I (6463) chip[DIS]: Updating services using commissioning mode 1
I (6463) chip[DIS]: CHIP minimal mDNS started advertising.
I (6473) chip[DIS]: Advertise commission parameter vendorID=65521 productID=32768 discriminator=3840/15 cm=1
I (6483) chip[DIS]: CHIP minimal mDNS configured as 'Commissionable node device'; instance name: 347DD0D1B6D75AA6.
I (6493) chip[DIS]: mDNS service published: _matterc._udp
I (7043) chip[DL]: IP_EVENT_GOT_IP6
I (7043) chip[DL]: IPv6 addr available. Ready on WIFI_STA_DEF interface: fe80:0000:0000:0000:f2f5:bdff:fe02:b4d4
I (7043) chip[DIS]: Updating services using commissioning mode 1
I (7053) chip[DIS]: CHIP minimal mDNS started advertising.
I (7063) chip[DIS]: Advertise commission parameter vendorID=65521 productID=32768 discriminator=3840/15 cm=1
I (7063) chip[DIS]: CHIP minimal mDNS configured as 'Commissionable node device'; instance name: 347DD0D1B6D75AA6.
I (7083) chip[DIS]: mDNS service published: _matterc._udp
I (7083) chip[SVR]: Server initialization complete
I (7093) chip[DIS]: Updating services using commissioning mode 1
I (7093) chip[DIS]: CHIP minimal mDNS started advertising.
I (7113) chip[DIS]: Advertise commission parameter vendorID=65521 productID=32768 discriminator=3840/15 cm=1
I (7113) chip[DIS]: CHIP minimal mDNS configured as 'Commissionable node device'; instance name: 347DD0D1B6D75AA6.
I (7123) chip[DIS]: mDNS service published: _matterc._udp
I (7133) chip[SWU]: Stopping the watchdog timer
I (7133) chip[SWU]: Starting the periodic query timer, timeout: 86400 seconds
I (7143) chip[IM]: No subscriptions to resume
I (7153) esp_matter_attribute: ********** R : Endpoint 0x0000's Cluster 0x0000002A's Attribute 0x00000002 is 0 **********
I (7163) esp_matter_attribute: ********** W : Endpoint 0x0000's Cluster 0x0000002A's Attribute 0x00000002 is 1 **********
Guru Meditation Error: Core 0 panic'ed (Load access fault). Exception was unhandled.
Stack dump detected
Core 0 register dump:
MEPC : 0x4200b696 RA : 0x4200b3c4 SP : 0x40846f90 GP : 0x4081ae30
0x4200b696: $ss13swift_release6objectyBp_tF at ??:?
0x4200b3c4: $s10__idf_main8RootNodeV9attribute8identifyACSgyAA20MatterAttributeEventO_AA8EndpointVAA7ClusterVs6UInt32VSpySo21esp_matter_attr_val_taGSgtc_ySo0m1_N0O14identificationO13callback_typeV_s6UInt16Vs5UInt8VA0_tctcfcs5Int32VAtDOAWV_Az2nRSvSgtcfU_ at ??:?
TP : 0x4080cbcc T0 : 0x4200af88 T1 : 0x42006aea T2 : 0xffffffff
0x4080cbcc: xQueueGiveFromISR at /Users/dark/esp/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:1414
0x4200af88: $s10__idf_main6MatterO4NodeC12eventHandler4type8endpoint7cluster9attribute5valueyAA0C14AttributeEventO_AA8EndpointVAA7ClusterVs6UInt32VSpySo21esp_matter_attr_val_taGSgtF at ??:?
0x42006aea: esp_vfs_open at /Users/dark/esp/esp-idf/components/vfs/vfs.c:471
S0/FP : 0x40835418 S1 : 0x40834b80 A0 : 0x40834b80 A1 : 0x492c2005
A2 : 0x00000001 A3 : 0x00000002 A4 : 0x40846fe8 A5 : 0x40834b80
A6 : 0x4200b3e4 A7 : 0x0000000a S2 : 0x40846fe8 S3 : 0x00000002
0x4200b3e4: $s10__idf_main8RootNodeV9attribute8identifyACSgyAA20MatterAttributeEventO_AA8EndpointVAA7ClusterVs6UInt32VSpySo21esp_matter_attr_val_taGSgtc_ySo0m1_N0O14identificationO13callback_typeV_s6UInt16Vs5UInt8VA0_tctcfcs5Int32VAtDOAWV_Az2nRSvSgtcfU_To at ??:?
S4 : 0x40835434 S5 : 0x4084446c S6 : 0x00000000 S7 : 0x4200b6ae
0x4200b6ae: $s10__idf_main6MatterO4NodeCAEycfcyAA0C14AttributeEventO_AA8EndpointVAA7ClusterVs6UInt32VSpySo21esp_matter_attr_val_taGSgtcAEcfu_yAG_AikmQtcfu0_TA at Main.swift.obj:?
S8 : 0x00000000 S9 : 0x00000000 S10 : 0x00000000 S11 : 0x00000000
T3 : 0x00000000 T4 : 0x00000080 T5 : 0x00000040 T6 : 0x4201cfde
0x4201cfde: chip::DefaultOTARequestor::InitState(int) at /Users/dark/esp/esp-matter/connectedhomeip/connectedhomeip/src/app/clusters/ota-requestor/DefaultOTARequestor.cpp:110
MSTATUS : 0x00001881 MTVEC : 0x40800001 MCAUSE : 0x00000005 MTVAL : 0x492c2009
0x40800001: _vector_table at ??:?
MHARTID : 0x00000000
Backtrace:
0x4200b696 in $ss13swift_release6objectyBp_tF ()
#0 0x4200b696 in $ss13swift_release6objectyBp_tF ()
#1 0x4200b3c4 in $s10__idf_main8RootNodeV9attribute8identifyACSgyAA20MatterAttributeEventO_AA8EndpointVAA7ClusterVs6UInt32VSpySo21esp_matter_attr_val_taGSgtc_ySo0m1_N0O14identificationO13callback_typeV_s6UInt16Vs5UInt8VA0_tctcfcs5Int32VAtDOAWV_Az2nRSvSgtcfU_ ()
Backtrace stopped: frame did not save the PC
ELF file SHA256: 82b3b6bf7
I (2850) esp_core_dump_flash: Save core dump to flash...
I (2856) esp_core_dump_flash: Erase flash 12288 bytes @ 0x3e6000
I (3042) esp_core_dump_flash: Write end offset 0x2024, check sum length 4
I (3042) esp_core_dump_flash: Core dump has been saved to flash.
Rebooting...
ESP-ROM:esp32c6-20220919
Build:Sep 19 2022
rst:0xc (SW_CPU),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x4001975a
0x4001975a: software_reset_cpu in ROM
SPIWP:0xee
mode:DIO, clock div:2
load:0x40875720,len:0x1804
load:0x4086c410,len:0xe58
load:0x4086e610,len:0x2e20
entry 0x4086c41a
I (26) boot: ESP-IDF v5.2.1 2nd stage bootloader
I (27) boot: compile time Jun 25 2024 02:07:28
I (28) boot: chip revision: v0.1
I (30) boot.esp32c6: SPI Speed : 80MHz
I (34) boot.esp32c6: SPI Mode : DIO
I (39) boot.esp32c6: SPI Flash Size : 4MB
I (44) boot: Enabling RNG early entropy source...
I (50) boot: Partition Table:
I (53) boot: ## Label Usage Type ST Offset Length
I (60) boot: 0 esp_secure_cert unknown 3f 06 0000d000 00002000
I (68) boot: 1 nvs WiFi data 01 02 00010000 0000c000
I (75) boot: 2 nvs_keys NVS keys 01 04 0001c000 00001000
I (83) boot: 3 otadata OTA data 01 00 0001d000 00002000
I (90) boot: 4 phy_init RF data 01 01 0001f000 00001000
I (97) boot: 5 ota_0 OTA app 00 10 00020000 001e0000
I (105) boot: 6 ota_1 OTA app 00 11 00200000 001e0000
I (112) boot: 7 fctry WiFi data 01 02 003e0000 00006000
I (120) boot: 8 coredump Unknown data 01 03 003e6000 00010000
I (128) boot: End of partition table
I (132) esp_image: segment 0: paddr=00020020 vaddr=42130020 size=3cb28h (248616) map
I (242) esp_image: segment 1: paddr=0005cb50 vaddr=40800000 size=034c8h ( 13512) load
I (250) esp_image: segment 2: paddr=00060020 vaddr=42000020 size=12d4bch (1234108) map
I (753) esp_image: segment 3: paddr=0018d4e4 vaddr=408034c8 size=17164h ( 94564) load
I (798) esp_image: segment 4: paddr=001a4650 vaddr=4081a630 size=04f58h ( 20312) load
I (822) boot: Loaded app from partition at offset 0x20000
I (823) boot: Disabling RNG early entropy source...
I (834) cpu_start: Unicore app
W (843) clk: esp_perip_clk_init() has not been implemented yet
I (850) cpu_start: Pro cpu start user code
I (850) cpu_start: cpu freq: 160000000 Hz
I (850) cpu_start: Application information:
I (853) cpu_start: Project name: light
I (858) cpu_start: App version: 1.0
I (862) cpu_start: Compile time: Jun 25 2024 02:07:07
I (869) cpu_start: ELF file SHA256: 82b3b6bf7...
I (874) cpu_start: ESP-IDF: v5.2.1
I (879) cpu_start: Min chip rev: v0.0
I (883) cpu_start: Max chip rev: v0.99
I (888) cpu_start: Chip rev: v0.1
I (893) heap_init: Initializing. RAM available for dynamic allocation:
I (900) heap_init: At 40830B30 len 0004BAE0 (302 KiB): RAM
I (906) heap_init: At 4087C610 len 00002F54 (11 KiB): RAM
I (912) heap_init: At 50000000 len 00003FE8 (15 KiB): RTCRAM
I (920) spi_flash: detected chip: generic
I (923) spi_flash: flash io: dio
W (927) spi_flash: Detected size(8192k) larger than the size in the binary image header(4096k). Using the size in the binary image header.
W (941) rmt(legacy): legacy driver is deprecated, please migrate to `driver/rmt_tx.h` and/or `driver/rmt_rx.h`
I (952) sleep: Configure to isolate all GPIO pins in sleep state
I (958) sleep: Enable automatic switching of GPIO sleep configuration
I (965) esp_core_dump_flash: Init core dump to flash
I (971) esp_core_dump_flash: Found partition 'coredump' @ 3e6000 65536 bytes
I (986) esp_core_dump_flash: Core dump data checksum is correct
I (986) esp_core_dump_flash: Found core dump 8228 bytes in flash @ 0x3e6000
I (993) coexist: coex firmware version: 77cd7f8
I (998) coexist: coexist rom version 5b8dcfa
I (1003) main_task: Started on CPU0
I (1003) main_task: Calling app_main()
🏎️ Hello, Embedded Swift! (Smart Light)
I (1013) led_driver_ws2812: Initializing light driver
I (1013) led_driver_ws2812: led set r:0, g:0, b:0
I (1043) pp: pp rom version: 5b8dcfa
I (1043) net80211: net80211 rom version: 5b8dcfa
I (1053) wifi:wifi driver task: 4083db44, prio:23, stack:6656, core=0
I (1053) wifi:wifi firmware version: a9f5b59
I (1053) wifi:wifi certification version: v7.0
I (1053) wifi:config NVS flash: enabled
I (1063) wifi:config nano formating: disabled
I (1063) wifi:mac_version:HAL_MAC_ESP32AX_761,ut_version:N
I (1073) wifi:Init data frame dynamic rx buffer num: 32
I (1073) wifi:Init static rx mgmt buffer num: 5
I (1083) wifi:Init management short buffer num: 32
I (1083) wifi:Init dynamic tx buffer num: 32
I (1083) wifi:Init static tx FG buffer num: 2
I (1093) wifi:Init static rx buffer size: 1700
I (1093) wifi:Init static rx buffer num: 10
I (1103) wifi:Init dynamic rx buffer num: 32
I (1103) wifi_init: rx ba win: 6
I (1103) wifi_init: tcpip mbox: 32
I (1113) wifi_init: udp mbox: 6
I (1113) wifi_init: tcp mbox: 6
I (1123) wifi_init: tcp tx win: 5760
I (1123) wifi_init: tcp rx win: 5760
I (1123) wifi_init: tcp mss: 1440
I (1133) wifi_init: WiFi IRAM OP enabled
I (1133) wifi_init: WiFi RX IRAM OP enabled
I (1163) chip[DL]: NVS set: chip-counters/reboot-count = 5756 (0x167C)
I (1163) chip[DL]: Real time clock set to 946684800 (0100/00/01 00:00:00 UTC)
I (1163) BLE_INIT: Using main XTAL as clock source
I (1173) BLE_INIT: ble controller commit:[217f1bf]
I (1173) phy_init: phy_version 250,e14681b,Jan 24 2024,17:43:11
I (1253) phy: libbtbb version: 939f79c, Jan 24 2024, 17:43:26
I (1253) NimBLE: GAP procedure initiated: stop advertising.
I (1253) NimBLE: Failed to restore IRKs from store; status=8
I (1263) CHIP[DL]: BLE host-controller synced
I (1763) chip[DL]: Configuring CHIPoBLE advertising (interval 25 ms, connectable)
I (1763) NimBLE: GAP procedure initiated: advertise;
I (1763) NimBLE: disc_mode=2
I (1763) NimBLE: adv_channel_map=0 own_addr_type=1 adv_filter_policy=0 adv_itvl_min=40 adv_itvl_max=40
I (1773) NimBLE:
I (1783) chip[DL]: CHIPoBLE advertising started
I (1783) chip[DL]: Starting ESP WiFi layer
W (1793) wifi:(bf)761:0x600a7cac:0x01b4b4b0
W (1793) wifi:(agc)0x600a7128:0xd20bca0c, min.avgNF:0xce->0xd2(dB), RCalCount:0xbc, min.RRssi:0xa0c(-95.25)
W (1803) wifi:(TB)WDEV_PWR_TB_MCS0:19
W (1803) wifi:(TB)WDEV_PWR_TB_MCS1:19
W (1813) wifi:(TB)WDEV_PWR_TB_MCS2:19
W (1813) wifi:(TB)WDEV_PWR_TB_MCS3:19
W (1813) wifi:(TB)WDEV_PWR_TB_MCS4:19
W (1823) wifi:(TB)WDEV_PWR_TB_MCS5:19
W (1823) wifi:(TB)WDEV_PWR_TB_MCS6:18
W (1823) wifi:(TB)WDEV_PWR_TB_MCS7:18
W (1833) wifi:(TB)WDEV_PWR_TB_MCS8:17
W (1833) wifi:(TB)WDEV_PWR_TB_MCS9:15
W (1833) wifi:(TB)WDEV_PWR_TB_MCS10:15
W (1843) wifi:(TB)WDEV_PWR_TB_MCS11:15
I (1843) wifi:11ax coex: WDEVAX_PTI0(0x55777555), WDEVAX_PTI1(0x00003377).
I (1853) wifi:mode : sta (f0:f5:bd:02:b4:d4)
I (1853) wifi:enable tsf
W (1853) wifi:Haven't to connect to a suitable AP now!
I (1863) chip[DL]: Attempting to connect WiFi station interface
I (1863) chip[DL]: WiFi station state change: NotConnected -> Connecting
I (1873) chip[DL]: Done driving station state, nothing else to do...
I (1883) chip[SVR]: Initializing subscription resumption storage...
I (1893) chip[SVR]: Server initializing...
I (1893) chip[TS]: Last Known Good Time: 2023-10-14T01:16:48
I (1903) chip[DMG]: AccessControl: initializing
I (1903) chip[DMG]: Examples::AccessControlDelegate::Init
I (1913) chip[DMG]: AccessControl: setting
I (1913) chip[DMG]: DefaultAclStorage: initializing
I (1923) chip[DMG]: DefaultAclStorage: 0 entries loaded
I (1943) chip[ZCL]: Using ZAP configuration...
I (1943) esp_matter_cluster: Cluster plugin init common callback
I (1943) chip[DMG]: AccessControlCluster: initializing
I (1953) chip[ZCL]: 0x421357a8ep 0 clus 0x0000_0030 attr 0x0000_0000 not supported
I (1963) chip[ZCL]: Initiating Admin Commissioning cluster.
I (1963) chip[DIS]: Updating services using commissioning mode 1
I (1973) chip[DIS]: CHIP minimal mDNS started advertising.
I (1983) chip[DIS]: Advertise commission parameter vendorID=65521 productID=32768 discriminator=3840/15 cm=1
I (1993) chip[DIS]: CHIP minimal mDNS configured as 'Commissionable node device'; instance name: 95DCCD0DA464A5ED.
I (2003) chip[DIS]: mDNS service published: _matterc._udp
I (2003) chip[IN]: CASE Server enabling CASE session setups
I (2013) chip[SVR]: Joining Multicast groups
I (2013) chip[SVR]: Server Listening...
I (2023) esp_matter_core: Dynamic endpoint 0 added
I (2023) esp_matter_attribute: ********** W : Endpoint 0x0001's Cluster 0x00000003's Attribute 0x00000001 is 0 **********
lightEndpoint.eventHandler:
unknown
0
I (2043) esp_matter_attribute: ********** W : Endpoint 0x0001's Cluster 0x00000004's Attribute 0x00000000 is 128 **********
lightEndpoint.eventHandler:
unknown
128
I (2063) esp_matter_attribute: ********** W : Endpoint 0x0001's Cluster 0x00000004's Attribute 0x0000FFFC is <invalid type: 0> **********
I (2073) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000006's Attribute 0x0000FFFC is 1 **********
I (2083) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000006's Attribute 0x00004003 is 0 **********
I (2093) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000006's Attribute 0x00000000 is 0 **********
I (2103) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000006's Attribute 0x00000000 is 0 **********
I (2113) chip[ZCL]: Endpoint 1 On/off already set to new value
I (2123) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000008's Attribute 0x00000002 is 1 **********
I (2133) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000008's Attribute 0x00000003 is 254 **********
I (2143) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000008's Attribute 0x0000FFFC is 3 **********
I (2163) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000008's Attribute 0x00000000 is 64 **********
I (2173) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000008's Attribute 0x00004000 is 64 **********
I (2183) esp_matter_attribute: ********** W : Endpoint 0x0001's Cluster 0x00000008's Attribute 0x00000000 is 64 **********
lightEndpoint.eventHandler:
levelControl
64
I (2203) led_driver_ws2812: led set r:63, g:63, b:63
I (2203) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000300's Attribute 0x00004010 is 250 **********
I (2213) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000300's Attribute 0x00000007 is 250 **********
I (2223) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000300's Attribute 0x0000400B is 0 **********
I (2243) esp_matter_attribute: ********** R : Endpoint 0x0001's Cluster 0x00000300's Attribute 0x0000400C is 65279 **********
I (2253) esp_matter_attribute: ********** W : Endpoint 0x0001's Cluster 0x00000300's Attribute 0x00000007 is 250 **********
lightEndpoint.eventHandler:
colorControl(colorTemperatureMireds)
250
I (2273) led_driver_ws2812: led set r:63, g:51, b:40
I (2273) esp_matter_attribute: ********** W : Endpoint 0x0001's Cluster 0x00000300's Attribute 0x00000008 is 2 **********
lightEndpoint.eventHandler:
colorControl(colorMode)
2
I (2293) esp_matter_attribute: ********** W : Endpoint 0x0001's Cluster 0x00000300's Attribute 0x00004001 is 2 **********
I (2303) esp_matter_core: Dynamic endpoint 1 added
I (2313) chip[DL]: WIFI_EVENT_STA_START
W (2313) wifi:Haven't to connect to a suitable AP now!
I (2323) chip[DL]: Attempting to connect WiFi station interface
E (2323) wifi:sta is connecting, return error
E (2333) chip[DL]: esp_wifi_connect() failed: ESP_ERR_WIFI_CONN
W (2333) wifi:Haven't to connect to a suitable AP now!
E (2343) chip[DL]: Failed to get configured network when updating network status: Error ESP32:0x0500300F
I (2353) chip[DL]: Configuring CHIPoBLE advertising (interval 25 ms, connectable)
I (2363) chip[DL]: Device already advertising, stop active advertisement and restart
I (2363) NimBLE: GAP procedure initiated: stop advertising.
I (2373) NimBLE: GAP procedure initiated: advertise;
I (2383) NimBLE: disc_mode=2
I (2383) NimBLE: adv_channel_map=0 own_addr_type=1 adv_filter_policy=0 adv_itvl_min=40 adv_itvl_max=40
I (2393) NimBLE:
I (2393) main_task: Returned from app_main()
^]Done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment