Hi, looks like the code no longer works.
I think the issue has to do with this line: I (705) NimBLE: Failed to restore IRKs from store; status=8
Possibly a NimBLE bug(?)
I (31) boot: ESP-IDF v5.4 2nd stage bootloader
I (31) boot: compile time Jan 19 2025 14:03:00
I (31) boot: Multicore bootloader
I (32) boot: chip revision: v1.1
I (35) boot.esp32: SPI Speed : 40MHz
I (39) boot.esp32: SPI Mode : DIO
I (42) boot.esp32: SPI Flash Size : 4MB
I (46) boot: Enabling RNG early entropy source...
I (51) boot: Partition Table:
I (53) boot: ## Label Usage Type ST Offset Length
I (59) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (66) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (73) boot: 2 factory factory app 00 00 00010000 00100000
I (79) boot: End of partition table
I (82) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=106a4h ( 67236) map
I (113) esp_image: segment 1: paddr=000206cc vaddr=3ff80000 size=0001ch ( 28) load
I (113) esp_image: segment 2: paddr=000206f0 vaddr=3ffbdb60 size=04d4ch ( 19788) load
I (124) esp_image: segment 3: paddr=00025444 vaddr=40080000 size=0abd4h ( 43988) load
I (141) esp_image: segment 4: paddr=00030020 vaddr=400d0020 size=51b44h (334660) map
I (256) esp_image: segment 5: paddr=00081b6c vaddr=4008abd4 size=0ceb8h ( 52920) load
I (288) boot: Loaded app from partition at offset 0x10000
I (288) boot: Disabling RNG early entropy source...
I (299) cpu_start: Multicore app
I (307) cpu_start: Pro cpu start user code
I (307) cpu_start: cpu freq: 240000000 Hz
I (307) app_init: Application information:
I (310) app_init: Project name: BLE-Connect
I (315) app_init: App version: 2ac3549
I (320) app_init: Compile time: Jan 19 2025 14:02:28
I (326) app_init: ELF file SHA256: 73b80ca7d...
I (332) app_init: ESP-IDF: v5.4
I (336) efuse_init: Min chip rev: v0.0
I (341) efuse_init: Max chip rev: v3.99
I (346) efuse_init: Chip rev: v1.1
I (351) heap_init: Initializing. RAM available for dynamic allocation:
I (358) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (364) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (370) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (376) heap_init: At 3FFC5610 len 0001A9F0 (106 KiB): DRAM
I (382) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (389) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (395) heap_init: At 40097A8C len 00008574 (33 KiB): IRAM
I (403) spi_flash: detected chip: gd
I (406) spi_flash: flash io: dio
I (410) coexist: coex firmware version: 49a8cdc
I (415) main_task: Started on CPU0
I (425) main_task: Calling app_main()
I (435) BTDM_INIT: BT controller compile version [20b459d]
I (435) BTDM_INIT: Bluetooth MAC: 90:15:06:c9:95:0e
I (435) phy_init: phy_version 4840,02e0d70,Sep 2 2024,19:39:07
I (665) main_task: Returned from app_main()
I (705) NimBLE: Failed to restore IRKs from store; status=8
I (705) NimBLE: GAP procedure initiated: advertise;
I (705) NimBLE: disc_mode=2
I (705) NimBLE: adv_channel_map=0 own_addr_type=0 adv_filter_policy=0 adv_itvl_min=0 adv_itvl_max=0
I (715) NimBLE:
Hi, looks like the code no longer works.
I think the issue has to do with this line:
I (705) NimBLE: Failed to restore IRKs from store; status=8Possibly a NimBLE bug(?)