Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NimBLE examples panics when connected from an iPhone using nRF Connect app (IDFGH-14056) #14875

Open
3 tasks done
Tnze opened this issue Nov 12, 2024 · 7 comments
Open
3 tasks done
Assignees
Labels
Status: Opened Issue is new Type: Bug bugs in IDF

Comments

@Tnze
Copy link

Tnze commented Nov 12, 2024

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.

v5.3.1

Espressif SoC revision.

ESP32-H2

Operating System used.

Windows

How did you build your project?

VS Code IDE

If you are using Windows, please specify command line type.

PowerShell

Development Kit.

Waveshare ESP32-H2-DEV-KIT-N4

Power Supply used.

USB

What is the expected behavior?

The example doesn't panic. And the BLE works.

What is the actual behavior?

When connected from an iPhone, the ESP-32 panic and reboot.
After crashing and restarting several times, and connecting several times, the connection can then be successful.

Steps to reproduce.

  1. Run the power save example
  2. Run the ESP-IDF Monitor
  3. Scan BLE devices on iPhone using the "nRF Connect" app (I'm using iPhone 12 Pro Max), and try connecting the device nimble-bleprph-e
  4. The firmware fatal and reboot

Debug Logs.

--- WARNING: GDB cannot open serial ports accessed as COMx
--- Using \\.\COM20 instead...
--- esp-idf-monitor 1.4.0 on \\.\COM20 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ESP-ROM:esp32h2-20221101
Build:Nov  1 2022
rst:0x1 (POWERON),boot:0xc (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x408460e0,len:0x17ac
load:0x4083cad0,len:0xefc
load:0x4083efd0,len:0x2ce4
entry 0x4083cada
I (23) boot: ESP-IDF v5.3.1-dirty 2nd stage bootloader
I (24) boot: compile time Nov 12 2024 21:19:21
I (25) boot: chip revision: v0.1
I (27) boot.esp32h2: SPI Speed      : 64MHz
I (32) boot.esp32h2: SPI Mode       : DIO
I (37) boot.esp32h2: SPI Flash Size : 2MB
I (41) boot: Enabling RNG early entropy source...
I (47) boot: Partition Table:
I (50) boot: ## Label            Usage          Type ST Offset   Length
I (58) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (65) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (72) boot:  2 factory          factory app      00 00 00010000 00100000
I (80) boot: End of partition table
I (84) esp_image: segment 0: paddr=00010020 vaddr=42080020 size=1b0c4h (110788) map
I (127) esp_image: segment 1: paddr=0002b0ec vaddr=40800000 size=04f2ch ( 20268) load
I (135) esp_image: segment 2: paddr=00030020 vaddr=42000020 size=7e4dch (517340) map
I (296) esp_image: segment 3: paddr=000ae504 vaddr=40804f2c size=0f5d8h ( 62936) load
I (318) esp_image: segment 4: paddr=000bdae4 vaddr=40814510 size=02cbch ( 11452) load
I (323) esp_image: segment 5: paddr=000c07a8 vaddr=50000000 size=00050h (    80) load
I (324) esp_image: segment 6: paddr=000c0800 vaddr=50000050 size=00008h (     8) load
I (339) boot: Loaded app from partition at offset 0x10000
I (339) boot: Disabling RNG early entropy source...
I (356) cpu_start: Unicore app
W (1892) clk: 32 kHz clock not found, switching to internal 150 kHz oscillator
I (1916) cpu_start: Pro cpu start user code
I (1916) cpu_start: cpu freq: 96000000 Hz
I (1917) app_init: Application information:
I (1919) app_init: Project name:     power_save
I (1924) app_init: App version:      1
I (1929) app_init: Compile time:     Nov 12 2024 21:19:11
I (1935) app_init: ELF file SHA256:  a608a03df...
I (1940) app_init: ESP-IDF:          v5.3.1-dirty
I (1946) efuse_init: Min chip rev:     v0.0
I (1950) efuse_init: Max chip rev:     v0.99
I (1955) efuse_init: Chip rev:         v0.1
I (1960) heap_init: Initializing. RAM available for dynamic allocation:
I (1968) heap_init: At 40819F90 len 000333F0 (204 KiB): RAM
I (1974) heap_init: At 4084D380 len 00002B60 (10 KiB): RAM
I (1981) spi_flash: detected chip: generic
I (1985) spi_flash: flash io: dio
W (1989) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (2003) sleep: Enable automatic switching of GPIO sleep configuration
I (2010) sleep_clock: System Power, Clock and Reset sleep retention initialization
I (2032) pm: Frequency switching config: CPU_MAX: 96, APB_MAX: 32, APB_MIN: 32, Light sleep: DISABLED
I (2033) coexist: coex firmware version: 4482466
I (2038) main_task: Started on CPU0
I (2041) main_task: Calling app_main()
I (2054) pm: Frequency switching config: CPU_MAX: 96, APB_MAX: 32, APB_MIN: 32, Light sleep: ENABLED   
W (2056) BLE_INIT: 32.768kHz XTAL not detected, fall back to main XTAL as Bluetooth sleep clock
I (2064) BLE_INIT: Using main XTAL as clock source
I (2076) BLE_INIT: ble controller commit:[a95ec45]
W (2076) BLE_INIT: BLE modem sleep is enabled
I (2081) BLE_INIT: Modem BLE MAC retention initialization
W (2086) BLE_INIT: Enable light sleep, the wake up source is BLE timer
I (2106) phy: phy_version: 310,2, 8fa9cb4, Jun  5 2024, 14:19:10
I (2124) phy: libbtbb version: a024da6, Jun  5 2024, 14:19:22
I (2125) sleep_clock: Modem Power, Clock and Reset sleep retention initialization
I (2130) NimBLE_BLE_PRPH: BLE Host Task Started
I (2138) NimBLE: Device Address: 
I (2138) NimBLE: 74:4d:bd:62:05:5f
I (2141) NimBLE:

I (2145) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (2156) uart: queue free spaces: 8
I (2157) main_task: Returned from app_main()
I (186713) NimBLE: connection established; status=0 
I (186764) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (186765) NimBLE: 74:4d:bd:62:05:5f
I (186766) NimBLE:  our_id_addr_type=0 our_id_addr=
I (186770) NimBLE: 74:4d:bd:62:05:5f
I (186774) NimBLE:  peer_ota_addr_type=1 peer_ota_addr=
I (186780) NimBLE: 7c:f8:9a:ef:5c:68
I (186785) NimBLE:  peer_id_addr_type=1 peer_id_addr=
I (186791) NimBLE: 7c:f8:9a:ef:5c:68
I (186795) NimBLE:  conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (186806) NimBLE:

I (186810) NimBLE: advertise complete; reason=0
I (186817) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (186874) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (186925) NimBLE: GAP procedure initiated: stop extended advertising.

I (186929) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (186937) NimBLE: connection established; status=0
I (186940) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (186942) NimBLE: 74:4d:bd:62:05:5f
I (186946) NimBLE:  our_id_addr_type=0 our_id_addr=
I (186952) NimBLE: 74:4d:bd:62:05:5f
I (186956) NimBLE:  peer_ota_addr_type=1 peer_ota_addr=
I (186962) NimBLE: 7c:f8:9a:ef:5c:68
I (186967) NimBLE:  peer_id_addr_type=1 peer_id_addr=
I (186972) NimBLE: 7c:f8:9a:ef:5c:68
I (186976) NimBLE:  conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (186987) NimBLE: 

I (186993) NimBLE: advertise complete; reason=0

assert failed: ext_bleprph_advertise main.c:129 (rc == 0)
Core  0 register dump:
MEPC    : 0x40800808  RA      : 0x4080d7b4  SP      : 0x40829110  GP      : 0x40814d14
0x40800808: panic_abort at F:/esp/v5.3.1/esp-idf/components/esp_system/panic.c:463
0x4080d7b4: assist_debug_hal_get_sp_bounds at F:/esp/v5.3.1/esp-idf/components/hal/include/hal/assist_debug_hal.h:54
 (inlined by) esp_hw_stack_guard_get_bounds at F:/esp/v5.3.1/esp-idf/components/esp_system/hw_stack_guard.c:76

TP      : 0x408293e0  T0      : 0x37363534  T1      : 0x7271706f  T2      : 0x33323130
S0/FP   : 0x0000008e  S1      : 0x00000001  A0      : 0x4082914c  A1      : 0x408164e5
A2      : 0x00000001  A3      : 0x00000029  A4      : 0x00000001  A5      : 0x40818000
A6      : 0x0000000c  A7      : 0x76757473  S2      : 0x00000009  S3      : 0x40829259
S4      : 0x408164e4  S5      : 0x00000000  S6      : 0x00000000  S7      : 0x00000000
S8      : 0x00000000  S9      : 0x00000000  S10     : 0x00000000  S11     : 0x00000000
T3      : 0x6e6d6c6b  T4      : 0x6a696867  T5      : 0x66656463  T6      : 0x62613938  
MSTATUS : 0x00001881  MTVEC   : 0x40800001  MCAUSE  : 0x00000007  MTVAL   : 0x00000000
0x40800001: _vector_table at F:/esp/v5.3.1/esp-idf/components/riscv/vectors_intc.S:54

MHARTID : 0x00000000

Stack memory:
40829110: 0x00000004 0x40826538 0x4208d250 0x4081347e 0x408164cc 0x4208d250 0x40815e40 0x42083970      
0x4081347e: newlib_include_assert_impl at F:/esp/v5.3.1/esp-idf/components/newlib/assert.c:92

40829130: 0x408164dc 0x40829144 0x408164e0 0x42083960 0x408164e4 0x00393231 0x408282c8 0x65737361      
40829150: 0x66207472 0x656c6961 0x65203a64 0x625f7478 0x7270656c 0x615f6870 0x72657664 0x65736974      
40829170: 0x69616d20 0x3a632e6e 0x20393231 0x20637228 0x30203d3d 0x00000029 0x40828378 0x4080e234      
0x4080e234: prvCopyDataToQueue at F:/esp/v5.3.1/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:2470

40829190: 0x00000000 0x00000000 0x40828378 0x4080e864 0x408291f4 0x00002036 0x0000020c 0x00000000      
0x4080e864: xQueueGenericSend at F:/esp/v5.3.1/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:1057

408291b0: 0x00000019 0x00002036 0x00000000 0x4201ea94 0x0000020c 0x408291f0 0x00000001 0x00000000      
0x4201ea94: ble_hs_hci_cmd_tx at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs_hci.c:361

408291d0: 0x0000020c 0x408293e8 0x40828378 0x4080ea26 0x00000000 0x40829244 0x408201e0 0x408036b4      
0x4080ea26: xQueueGiveMutexRecursive at F:/esp/v5.3.1/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:796
0x408036b4: npl_freertos_mutex_release at F:/esp/v5.3.1/esp-idf/components/bt/porting/npl/freertos/src/npl_os_freertos.c:470 (discriminator 1)

408291f0: 0x00000000 0x40829244 0x00000000 0x42012c3a 0x00000000 0x00000000 0x01020001 0x42012c56      
0x42012c3a: ble_hs_unlock_nested at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:209
0x42012c56: ble_hs_unlock at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:240

40829210: 0x00000000 0x00000000 0x00000000 0x42000000 0x00000012 0x00000000 0x00000000 0x00000000      
40829230: 0x00000012 0x408241a6 0x408292ec 0x4200e480 0x00000000 0x00000001 0x00000030 0x00000030      
0x4200e480: ext_bleprph_advertise at F:/Embedded/ESP32/power_save/main/main.c:135 (discriminator 1)

40829250: 0x00000000 0x00000000 0x02010000 0x00000100 0x4208376c 0x00000000 0x408292ec 0x4200e8e2      
0x4200e8e2: bleprph_gap_event at F:/Embedded/ESP32/power_save/main/main.c:345

40829270: 0x408292cc 0x00002016 0x00000000 0x00000000 0x408292e8 0x408293e8 0x40828378 0x4080ea26      
0x4080ea26: xQueueGiveMutexRecursive at F:/esp/v5.3.1/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:796

40829290: 0x408292e8 0x408292e4 0x408201e0 0x408036b4 0x40818931 0x408292e4 0x00000000 0x42012c3a      
0x408036b4: npl_freertos_mutex_release at F:/esp/v5.3.1/esp-idf/components/bt/porting/npl/freertos/src/npl_os_freertos.c:470 (discriminator 1)
0x42012c3a: ble_hs_unlock_nested at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:209

408292b0: 0x40818931 0x40819a60 0x40818918 0x42012c56 0x00000000 0x00000000 0x00000000 0x42018446      
0x42012c56: ble_hs_unlock at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:240
0x42018446: ble_gap_slave_extract_cb at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_gap.c:1013

408292d0: 0x00000012 0x408241a6 0x00000000 0x420187ba 0x00000000 0x00000000 0x4200e5d0 0x00000009      
0x420187ba: ble_gap_adv_finished at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_gap.c:1038
0x4200e5d0: bleprph_gap_event at F:/Embedded/ESP32/power_save/main/main.c:280

408292f0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000      
40829310: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x5c680101 0x408241a6 0x42019428      
0x42019428: ble_gap_rx_adv_set_terminated at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_gap.c:1829

40829330: 0x00000012 0x408241a6 0x408241a6 0x42013aee 0x40818000 0x00000000 0x00000006 0x42013460      
0x42013aee: ble_hs_hci_evt_le_adv_set_terminated at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs_hci_evt.c:956
0x42013460: ble_hs_hci_evt_le_meta at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs_hci_evt.c:440

40829350: 0x40818000 0x0000003e 0x408241a4 0x42013fbc 0x40818000 0x408241a4 0x40818864 0x42012b16      
0x42013fbc: ble_hs_hci_evt_process at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs_hci_evt.c:1124
0x42012b16: ble_hs_event_rx_hci_ev at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:532

40829370: 0x00000000 0x00000000 0x40818864 0x40802d86 0x00000000 0x00000000 0x40818000 0x40802c6a      
0x40802d86: npl_freertos_event_run at F:/esp/v5.3.1/esp-idf/components/bt/porting/npl/freertos/src/npl_os_freertos.c:403
0x40802c6a: nimble_port_run at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/porting/nimble/src/nimble_port.c:307

40829390: 0x420837a8 0x000007f6 0x00000000 0x4200e276 0x00000000 0x00000000 0x00000000 0x40810ace      
0x4200e276: bleprph_host_task at F:/Embedded/ESP32/power_save/main/main.c:534
0x40810ace: vPortTaskWrapper at F:/esp/v5.3.1/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:258

408293b0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000      
408293d0: 0x00000000 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x00000150 0x40829000 0x00000000      
408293f0: 0x408176f8 0x408176f8 0x408293e8 0x408176f0 0x00000004 0x40820218 0x40820218 0x408293e8      
40829410: 0x00000000 0x00000015 0x408283e4 0x626d696e 0x685f656c 0x0074736f 0x00000000 0x408293e0      
40829430: 0x00000015 0x00000000 0x00000000 0x00000000 0x00000000 0x4081aa68 0x4081aad0 0x4081ab38      
40829450: 0x00000000 0x00000000 0x00000001 0x00000000 0x00000000 0x00000000 0x420088d2 0x00000000      
0x420088d2: esp_cleanup_r at F:/esp/v5.3.1/esp-idf/components/newlib/newlib_init.c:43

40829470: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000      
40829490: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000      
408294b0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000      
408294d0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000      
408294f0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000      



ELF file SHA256: a608a03df

Rebooting...
ESP-ROM:esp32h2-20221101
Build:Nov  1 2022
rst:0xc (SW_CPU),boot:0xc (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x408460e0,len:0x17ac
load:0x4083cad0,len:0xefc
load:0x4083efd0,len:0x2ce4
entry 0x4083cada
I (25) boot: ESP-IDF v5.3.1-dirty 2nd stage bootloader
I (26) boot: compile time Nov 12 2024 21:19:21
I (27) boot: chip revision: v0.1
I (28) boot.esp32h2: SPI Speed      : 64MHz
I (33) boot.esp32h2: SPI Mode       : DIO
I (38) boot.esp32h2: SPI Flash Size : 2MB
I (43) boot: Enabling RNG early entropy source...
I (48) boot: Partition Table:
I (52) 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 (74) boot:  2 factory          factory app      00 00 00010000 00100000
I (81) boot: End of partition table
I (86) esp_image: segment 0: paddr=00010020 vaddr=42080020 size=1b0c4h (110788) map
I (145) esp_image: segment 1: paddr=0002b0ec vaddr=40800000 size=04f2ch ( 20268) load
I (157) esp_image: segment 2: paddr=00030020 vaddr=42000020 size=7e4dch (517340) map
I (393) esp_image: segment 3: paddr=000ae504 vaddr=40804f2c size=0f5d8h ( 62936) load
I (428) esp_image: segment 4: paddr=000bdae4 vaddr=40814510 size=02cbch ( 11452) load
I (435) esp_image: segment 5: paddr=000c07a8 vaddr=50000000 size=00050h (    80) load
I (437) esp_image: segment 6: paddr=000c0800 vaddr=50000050 size=00008h (     8) load
I (455) boot: Loaded app from partition at offset 0x10000
I (456) boot: Disabling RNG early entropy source...
I (467) cpu_start: Unicore app
W (2004) clk: 32 kHz clock not found, switching to internal 150 kHz oscillator
I (2028) cpu_start: Pro cpu start user code
I (2028) cpu_start: cpu freq: 96000000 Hz
I (2029) app_init: Application information:
I (2031) app_init: Project name:     power_save
I (2036) app_init: App version:      1
I (2041) app_init: Compile time:     Nov 12 2024 21:19:11
I (2047) app_init: ELF file SHA256:  a608a03df...
I (2052) app_init: ESP-IDF:          v5.3.1-dirty
I (2058) efuse_init: Min chip rev:     v0.0
I (2062) efuse_init: Max chip rev:     v0.99
I (2068) efuse_init: Chip rev:         v0.1
I (2072) heap_init: Initializing. RAM available for dynamic allocation:
I (2080) heap_init: At 40819F90 len 000333F0 (204 KiB): RAM
I (2086) heap_init: At 4084D380 len 00002B60 (10 KiB): RAM
I (2093) spi_flash: detected chip: generic
I (2097) spi_flash: flash io: dio
W (2101) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (2115) sleep: Enable automatic switching of GPIO sleep configuration
I (2122) sleep_clock: System Power, Clock and Reset sleep retention initialization
I (2144) pm: Frequency switching config: CPU_MAX: 96, APB_MAX: 32, APB_MIN: 32, Light sleep: DISABLED
I (2145) coexist: coex firmware version: 4482466
I (2150) main_task: Started on CPU0
I (2153) main_task: Calling app_main()
I (2166) pm: Frequency switching config: CPU_MAX: 96, APB_MAX: 32, APB_MIN: 32, Light sleep: ENABLED   
W (2168) BLE_INIT: 32.768kHz XTAL not detected, fall back to main XTAL as Bluetooth sleep clock
I (2176) BLE_INIT: Using main XTAL as clock source
I (2188) BLE_INIT: ble controller commit:[a95ec45]
W (2188) BLE_INIT: BLE modem sleep is enabled
I (2193) BLE_INIT: Modem BLE MAC retention initialization
W (2198) BLE_INIT: Enable light sleep, the wake up source is BLE timer
I (2219) phy: phy_version: 310,2, 8fa9cb4, Jun  5 2024, 14:19:10
I (2236) phy: libbtbb version: a024da6, Jun  5 2024, 14:19:22
I (2237) sleep_clock: Modem Power, Clock and Reset sleep retention initialization
I (2242) NimBLE_BLE_PRPH: BLE Host Task Started
I (2250) NimBLE: Device Address: 
I (2251) NimBLE: 74:4d:bd:62:05:5f
I (2253) NimBLE:

I (2257) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (2268) uart: queue free spaces: 8
I (2269) main_task: Returned from app_main()
I (2273) NimBLE: connection established; status=0 
I (2278) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (2285) NimBLE: 74:4d:bd:62:05:5f
I (2289) NimBLE:  our_id_addr_type=0 our_id_addr=
I (2294) NimBLE: 74:4d:bd:62:05:5f
I (2298) NimBLE:  peer_ota_addr_type=1 peer_ota_addr=
I (2304) NimBLE: 7c:f8:9a:ef:5c:68
I (2308) NimBLE:  peer_id_addr_type=1 peer_id_addr=
I (2314) NimBLE: 7c:f8:9a:ef:5c:68
I (2317) NimBLE:  conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (2328) NimBLE:

I (2331) NimBLE: advertise complete; reason=0
I (2337) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (2443) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (2494) NimBLE: GAP procedure initiated: stop extended advertising.

I (2498) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (2506) NimBLE: connection established; status=0
I (2509) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (2511) NimBLE: 74:4d:bd:62:05:5f
I (2515) NimBLE:  our_id_addr_type=0 our_id_addr=
I (2520) NimBLE: 74:4d:bd:62:05:5f
I (2524) NimBLE:  peer_ota_addr_type=1 peer_ota_addr=
I (2530) NimBLE: 7c:f8:9a:ef:5c:68
I (2534) NimBLE:  peer_id_addr_type=1 peer_id_addr=
I (2540) NimBLE: 7c:f8:9a:ef:5c:68
I (2546) NimBLE:  conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (2554) NimBLE:

I (2558) NimBLE: advertise complete; reason=0

assert failed: ext_bleprph_advertise main.c:129 (rc == 0)
Core  0 register dump:
MEPC    : 0x40800808  RA      : 0x4080d7b4  SP      : 0x40829110  GP      : 0x40814d14  
0x40800808: panic_abort at F:/esp/v5.3.1/esp-idf/components/esp_system/panic.c:463
0x4080d7b4: assist_debug_hal_get_sp_bounds at F:/esp/v5.3.1/esp-idf/components/hal/include/hal/assist_debug_hal.h:54
 (inlined by) esp_hw_stack_guard_get_bounds at F:/esp/v5.3.1/esp-idf/components/esp_system/hw_stack_guard.c:76

TP      : 0x408293e0  T0      : 0x37363534  T1      : 0x7271706f  T2      : 0x33323130
S0/FP   : 0x0000008e  S1      : 0x00000001  A0      : 0x4082914c  A1      : 0x408164e5
A2      : 0x00000001  A3      : 0x00000029  A4      : 0x00000001  A5      : 0x40818000
A6      : 0x0000000c  A7      : 0x76757473  S2      : 0x00000009  S3      : 0x40829259
S4      : 0x408164e4  S5      : 0x00000000  S6      : 0x00000000  S7      : 0x00000000
S8      : 0x00000000  S9      : 0x00000000  S10     : 0x00000000  S11     : 0x00000000  
T3      : 0x6e6d6c6b  T4      : 0x6a696867  T5      : 0x66656463  T6      : 0x62613938
MSTATUS : 0x00001881  MTVEC   : 0x40800001  MCAUSE  : 0x00000007  MTVAL   : 0x00000000  
0x40800001: _vector_table at F:/esp/v5.3.1/esp-idf/components/riscv/vectors_intc.S:54

MHARTID : 0x00000000

Stack memory:
40829110: 0x00000004 0x40826538 0x4208d250 0x4081347e 0x408164cc 0x4208d250 0x40815e40 0x42083970      
0x4081347e: newlib_include_assert_impl at F:/esp/v5.3.1/esp-idf/components/newlib/assert.c:92

40829130: 0x408164dc 0x40829144 0x408164e0 0x42083960 0x408164e4 0x00393231 0x408282c8 0x65737361      
40829150: 0x66207472 0x656c6961 0x65203a64 0x625f7478 0x7270656c 0x615f6870 0x72657664 0x65736974      
40829170: 0x69616d20 0x3a632e6e 0x20393231 0x20637228 0x30203d3d 0x00000029 0x40828378 0x4080e234      
0x4080e234: prvCopyDataToQueue at F:/esp/v5.3.1/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:2470

40829190: 0x00000000 0x00000000 0x40828378 0x4080e864 0x408291f4 0x00002036 0x0000020c 0x00000000      
0x4080e864: xQueueGenericSend at F:/esp/v5.3.1/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:1057

408291b0: 0x00000019 0x00002036 0x00000000 0x4201ea94 0x0000020c 0x408291f0 0x00000001 0x00000000      
0x4201ea94: ble_hs_hci_cmd_tx at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs_hci.c:361

408291d0: 0x0000020c 0x408293e8 0x40828378 0x4080ea26 0x00000000 0x40829244 0x408201e0 0x408036b4      
0x4080ea26: xQueueGiveMutexRecursive at F:/esp/v5.3.1/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:796
0x408036b4: npl_freertos_mutex_release at F:/esp/v5.3.1/esp-idf/components/bt/porting/npl/freertos/src/npl_os_freertos.c:470 (discriminator 1)

408291f0: 0x00000000 0x40829244 0x00000000 0x42012c3a 0x00000000 0x00000000 0x01020001 0x42012c56      
0x42012c3a: ble_hs_unlock_nested at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:209
0x42012c56: ble_hs_unlock at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:240

40829210: 0x00000000 0x00000000 0x00000000 0x42000000 0x00000012 0x00000000 0x00000000 0x00000000      
40829230: 0x00000012 0x408241a6 0x408292ec 0x4200e480 0x00000000 0x00000001 0x00000030 0x00000030      
0x4200e480: ext_bleprph_advertise at F:/Embedded/ESP32/power_save/main/main.c:135 (discriminator 1)

40829250: 0x00000000 0x00000000 0x02010000 0x00000100 0x4208376c 0x00000000 0x408292ec 0x4200e8e2      
0x4200e8e2: bleprph_gap_event at F:/Embedded/ESP32/power_save/main/main.c:345

40829270: 0x408292cc 0x00002016 0x00000000 0x00000000 0x408292e8 0x408293e8 0x40828378 0x4080ea26      
0x4080ea26: xQueueGiveMutexRecursive at F:/esp/v5.3.1/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:796

40829290: 0x408292e8 0x408292e4 0x408201e0 0x408036b4 0x40818931 0x408292e4 0x00000000 0x42012c3a      
0x408036b4: npl_freertos_mutex_release at F:/esp/v5.3.1/esp-idf/components/bt/porting/npl/freertos/src/npl_os_freertos.c:470 (discriminator 1)
0x42012c3a: ble_hs_unlock_nested at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:209

408292b0: 0x40818931 0x40819a60 0x40818918 0x42012c56 0x00000000 0x00000000 0x00000000 0x42018446      
0x42012c56: ble_hs_unlock at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:240
0x42018446: ble_gap_slave_extract_cb at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_gap.c:1013

408292d0: 0x00000012 0x408241a6 0x00000000 0x420187ba 0x00000000 0x00000000 0x4200e5d0 0x00000009      
0x420187ba: ble_gap_adv_finished at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_gap.c:1038
0x4200e5d0: bleprph_gap_event at F:/Embedded/ESP32/power_save/main/main.c:280

408292f0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000      
40829310: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x5c680101 0x408241a6 0x42019428      
0x42019428: ble_gap_rx_adv_set_terminated at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_gap.c:1829

40829330: 0x00000012 0x408241a6 0x408241a6 0x42013aee 0x40818000 0x00000000 0x00000006 0x42013460      
0x42013aee: ble_hs_hci_evt_le_adv_set_terminated at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs_hci_evt.c:956
0x42013460: ble_hs_hci_evt_le_meta at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs_hci_evt.c:440

40829350: 0x40818000 0x0000003e 0x408241a4 0x42013fbc 0x40818000 0x408241a4 0x40818864 0x42012b16      
0x42013fbc: ble_hs_hci_evt_process at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs_hci_evt.c:1124
0x42012b16: ble_hs_event_rx_hci_ev at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:532

40829370: 0x00000000 0x00000000 0x40818864 0x40802d86 0x00000000 0x00000000 0x40818000 0x40802c6a      
0x40802d86: npl_freertos_event_run at F:/esp/v5.3.1/esp-idf/components/bt/porting/npl/freertos/src/npl_os_freertos.c:403
0x40802c6a: nimble_port_run at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/porting/nimble/src/nimble_port.c:307

40829390: 0x420837a8 0x00000866 0x00000000 0x4200e276 0x00000000 0x00000000 0x00000000 0x40810ace      
0x4200e276: bleprph_host_task at F:/Embedded/ESP32/power_save/main/main.c:534
0x40810ace: vPortTaskWrapper at F:/esp/v5.3.1/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:258

408293b0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000      
408293d0: 0x00000000 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x00000150 0x40829000 0x00000000      
408293f0: 0x408176f8 0x408176f8 0x408293e8 0x408176f0 0x00000004 0x40820218 0x40820218 0x408293e8      
40829410: 0x00000000 0x00000015 0x408283e4 0x626d696e 0x685f656c 0x0074736f 0x00000000 0x408293e0      
40829430: 0x00000015 0x00000000 0x00000000 0x00000000 0x00000000 0x4081aa68 0x4081aad0 0x4081ab38      
40829450: 0x00000000 0x00000000 0x00000001 0x00000000 0x00000000 0x00000000 0x420088d2 0x00000000      
0x420088d2: esp_cleanup_r at F:/esp/v5.3.1/esp-idf/components/newlib/newlib_init.c:43

40829470: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000      
40829490: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000      
408294b0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000      
408294d0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000      
408294f0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000      



ELF file SHA256: a608a03df

Rebooting...
ESP-ROM:esp32h2-20221101
Build:Nov  1 2022
rst:0xc (SW_CPU),boot:0xc (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x408460e0,len:0x17ac
load:0x4083cad0,len:0xefc
load:0x4083efd0,len:0x2ce4
entry 0x4083cada
I (25) boot: ESP-IDF v5.3.1-dirty 2nd stage bootloader
I (26) boot: compile time Nov 12 2024 21:19:21
I (27) boot: chip revision: v0.1
I (28) boot.esp32h2: SPI Speed      : 64MHz
I (33) boot.esp32h2: SPI Mode       : DIO
I (38) boot.esp32h2: SPI Flash Size : 2MB
I (43) boot: Enabling RNG early entropy source...
I (48) boot: Partition Table:
I (52) 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 (74) boot:  2 factory          factory app      00 00 00010000 00100000
I (81) boot: End of partition table
I (86) esp_image: segment 0: paddr=00010020 vaddr=42080020 size=1b0c4h (110788) map
I (145) esp_image: segment 1: paddr=0002b0ec vaddr=40800000 size=04f2ch ( 20268) load
I (157) esp_image: segment 2: paddr=00030020 vaddr=42000020 size=7e4dch (517340) map
I (393) esp_image: segment 3: paddr=000ae504 vaddr=40804f2c size=0f5d8h ( 62936) load
I (428) esp_image: segment 4: paddr=000bdae4 vaddr=40814510 size=02cbch ( 11452) load
I (435) esp_image: segment 5: paddr=000c07a8 vaddr=50000000 size=00050h (    80) load
I (437) esp_image: segment 6: paddr=000c0800 vaddr=50000050 size=00008h (     8) load
I (455) boot: Loaded app from partition at offset 0x10000
I (456) boot: Disabling RNG early entropy source...
I (467) cpu_start: Unicore app
To exit from IDF monitor please use "Ctrl+]". Alternatively, you can use Ctrl+T Ctrl+X to exit.
W (1782) clk: 32 kHz clock not found, switching to internal 150 kHz oscillator
I (1806) cpu_start: Pro cpu start user code
I (1807) cpu_start: cpu freq: 96000000 Hz
I (1807) app_init: Application information:
I (1809) app_init: Project name:     power_save
I (1815) app_init: App version:      1
I (1819) app_init: Compile time:     Nov 12 2024 21:19:11
I (1825) app_init: ELF file SHA256:  a608a03df...
I (1831) app_init: ESP-IDF:          v5.3.1-dirty
I (1836) efuse_init: Min chip rev:     v0.0
I (1841) efuse_init: Max chip rev:     v0.99
I (1846) efuse_init: Chip rev:         v0.1
I (1851) heap_init: Initializing. RAM available for dynamic allocation:
I (1858) heap_init: At 40819F90 len 000333F0 (204 KiB): RAM
I (1864) heap_init: At 4084D380 len 00002B60 (10 KiB): RAM
I (1872) spi_flash: detected chip: generic
I (1875) spi_flash: flash io: dio
W (1879) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (1893) sleep: Enable automatic switching of GPIO sleep configuration
I (1900) sleep_clock: System Power, Clock and Reset sleep retention initialization
I (1922) pm: Frequency switching config: CPU_MAX: 96, APB_MAX: 32, APB_MIN: 32, Light sleep: DISABLED
I (1923) coexist: coex firmware version: 4482466
I (1928) main_task: Started on CPU0
I (1931) main_task: Calling app_main()
I (1944) pm: Frequency switching config: CPU_MAX: 96, APB_MAX: 32, APB_MIN: 32, Light sleep: ENABLED
W (1946) BLE_INIT: 32.768kHz XTAL not detected, fall back to main XTAL as Bluetooth sleep clock        
I (1954) BLE_INIT: Using main XTAL as clock source
I (1966) BLE_INIT: ble controller commit:[a95ec45]
W (1966) BLE_INIT: BLE modem sleep is enabled
I (1971) BLE_INIT: Modem BLE MAC retention initialization
W (1976) BLE_INIT: Enable light sleep, the wake up source is BLE timer
I (1997) phy: phy_version: 310,2, 8fa9cb4, Jun  5 2024, 14:19:10
I (2014) phy: libbtbb version: a024da6, Jun  5 2024, 14:19:22
I (2015) sleep_clock: Modem Power, Clock and Reset sleep retention initialization
I (2020) NimBLE_BLE_PRPH: BLE Host Task Started
I (2028) NimBLE: Device Address:
I (2029) NimBLE: 74:4d:bd:62:05:5f
I (2031) NimBLE:

I (2035) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (2046) uart: queue free spaces: 8
I (2047) main_task: Returned from app_main()
I (2051) NimBLE: connection established; status=0
I (2056) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (2063) NimBLE: 74:4d:bd:62:05:5f
I (2067) NimBLE:  our_id_addr_type=0 our_id_addr=
I (2072) NimBLE: 74:4d:bd:62:05:5f
I (2076) NimBLE:  peer_ota_addr_type=1 peer_ota_addr=
I (2082) NimBLE: 7c:f8:9a:ef:5c:68
I (2086) NimBLE:  peer_id_addr_type=1 peer_id_addr=
I (2092) NimBLE: 7c:f8:9a:ef:5c:68
I (2096) NimBLE:  conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (2106) NimBLE:

I (2110) NimBLE: advertise complete; reason=0
I (2116) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (2223) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (2274) NimBLE: GAP procedure initiated: stop extended advertising.

I (2280) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (2291) NimBLE: connection established; status=0
I (2294) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (2294) NimBLE: 74:4d:bd:62:05:5f
I (2298) NimBLE:  our_id_addr_type=0 our_id_addr=
I (2303) NimBLE: 74:4d:bd:62:05:5f
I (2309) NimBLE:  peer_ota_addr_type=1 peer_ota_addr=
I (2313) NimBLE: 7c:f8:9a:ef:5c:68
I (2317) NimBLE:  peer_id_addr_type=1 peer_id_addr=
I (2325) NimBLE: 7c:f8:9a:ef:5c:68
I (2328) NimBLE:  conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (2337) NimBLE:

I (2342) NimBLE: advertise complete; reason=0

assert failed: ext_bleprph_advertise main.c:129 (rc == 0)
Core  0 register dump:
MEPC    : 0x40800808  RA      : 0x4080d7b4  SP      : 0x40829110  GP      : 0x40814d14
0x40800808: panic_abort at F:/esp/v5.3.1/esp-idf/components/esp_system/panic.c:463
0x4080d7b4: assist_debug_hal_get_sp_bounds at F:/esp/v5.3.1/esp-idf/components/hal/include/hal/assist_debug_hal.h:54
 (inlined by) esp_hw_stack_guard_get_bounds at F:/esp/v5.3.1/esp-idf/components/esp_system/hw_stack_guard.c:76

TP      : 0x408293e0  T0      : 0x37363534  T1      : 0x7271706f  T2      : 0x33323130
S0/FP   : 0x0000008e  S1      : 0x00000001  A0      : 0x4082914c  A1      : 0x408164e5
A2      : 0x00000001  A3      : 0x00000029  A4      : 0x00000001  A5      : 0x40818000
A6      : 0x0000000c  A7      : 0x76757473  S2      : 0x00000009  S3      : 0x40829259
S4      : 0x408164e4  S5      : 0x00000000  S6      : 0x00000000  S7      : 0x00000000
S8      : 0x00000000  S9      : 0x00000000  S10     : 0x00000000  S11     : 0x00000000
T3      : 0x6e6d6c6b  T4      : 0x6a696867  T5      : 0x66656463  T6      : 0x62613938  
MSTATUS : 0x00001881  MTVEC   : 0x40800001  MCAUSE  : 0x00000007  MTVAL   : 0x00000000
0x40800001: _vector_table at F:/esp/v5.3.1/esp-idf/components/riscv/vectors_intc.S:54

MHARTID : 0x00000000

Stack memory:
40829110: 0x00000004 0x40826538 0x4208d250 0x4081347e 0x408164cc 0x4208d250 0x40815e40 0x42083970      
0x4081347e: newlib_include_assert_impl at F:/esp/v5.3.1/esp-idf/components/newlib/assert.c:92

40829130: 0x408164dc 0x40829144 0x408164e0 0x42083960 0x408164e4 0x00393231 0x408282c8 0x65737361      
40829150: 0x66207472 0x656c6961 0x65203a64 0x625f7478 0x7270656c 0x615f6870 0x72657664 0x65736974
40829170: 0x69616d20 0x3a632e6e 0x20393231 0x20637228 0x30203d3d 0x00000029 0x40828378 0x4080e234      
0x4080e234: prvCopyDataToQueue at F:/esp/v5.3.1/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:2470

40829190: 0x00000000 0x00000000 0x40828378 0x4080e864 0x408291f4 0x00002036 0x0000020c 0x00000000      
0x4080e864: xQueueGenericSend at F:/esp/v5.3.1/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:1057

408291b0: 0x00000019 0x00002036 0x00000000 0x4201ea94 0x0000020c 0x408291f0 0x00000001 0x00000000      
0x4201ea94: ble_hs_hci_cmd_tx at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs_hci.c:361

408291d0: 0x0000020c 0x408293e8 0x40828378 0x4080ea26 0x00000000 0x40829244 0x408201e0 0x408036b4      
0x4080ea26: xQueueGiveMutexRecursive at F:/esp/v5.3.1/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:796
0x408036b4: npl_freertos_mutex_release at F:/esp/v5.3.1/esp-idf/components/bt/porting/npl/freertos/src/npl_os_freertos.c:470 (discriminator 1)

408291f0: 0x00000000 0x40829244 0x00000000 0x42012c3a 0x00000000 0x00000000 0x01020001 0x42012c56      
0x42012c3a: ble_hs_unlock_nested at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:209
0x42012c56: ble_hs_unlock at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:240

40829210: 0x00000000 0x00000000 0x00000000 0x42000000 0x00000012 0x00000000 0x00000000 0x00000000      
40829230: 0x00000012 0x408241a6 0x408292ec 0x4200e480 0x00000000 0x00000001 0x00000030 0x00000030      
0x4200e480: ext_bleprph_advertise at F:/Embedded/ESP32/power_save/main/main.c:135 (discriminator 1)

40829250: 0x00000000 0x00000000 0x02010000 0x00000100 0x4208376c 0x00000000 0x408292ec 0x4200e8e2      
0x4200e8e2: bleprph_gap_event at F:/Embedded/ESP32/power_save/main/main.c:345

40829270: 0x408292cc 0x00002016 0x00000000 0x00000000 0x408292e8 0x408293e8 0x40828378 0x4080ea26      
0x4080ea26: xQueueGiveMutexRecursive at F:/esp/v5.3.1/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:796

40829290: 0x408292e8 0x408292e4 0x408201e0 0x408036b4 0x40818931 0x408292e4 0x00000000 0x42012c3a      
0x408036b4: npl_freertos_mutex_release at F:/esp/v5.3.1/esp-idf/components/bt/porting/npl/freertos/src/npl_os_freertos.c:470 (discriminator 1)
0x42012c3a: ble_hs_unlock_nested at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:209

408292b0: 0x40818931 0x40819a60 0x40818918 0x42012c56 0x00000000 0x00000000 0x00000000 0x42018446      
To exit from IDF monitor please use "Ctrl+]". Alternatively, you can use Ctrl+T Ctrl+X to exit.
408292d0: 0x00000012 0x408241a6 0x00000000 0x420187ba 0x00000000 0x00000000 0x4200e5d0 0x00000009      
0x420187ba: ble_gap_adv_finished at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_gap.c:1038
0x4200e5d0: bleprph_gap_event at F:/Embedded/ESP32/power_save/main/main.c:280

408292f0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000      
40829310: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x5c680101 0x408241a6 0x42019428      
0x42019428: ble_gap_rx_adv_set_terminated at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_gap.c:1829

40829330: 0x00000012 0x408241a6 0x408241a6 0x42013aee 0x40818000 0x00000000 0x00000006 0x42013460      
0x42013aee: ble_hs_hci_evt_le_adv_set_terminated at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs_hci_evt.c:956
0x42013460: ble_hs_hci_evt_le_meta at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs_hci_evt.c:440

40829350: 0x40818000 0x0000003e 0x408241a4 0x42013fbc 0x40818000 0x408241a4 0x40818864 0x42012b16      
0x42013fbc: ble_hs_hci_evt_process at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs_hci_evt.c:1124
0x42012b16: ble_hs_event_rx_hci_ev at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:532

40829370: 0x00000000 0x00000000 0x40818864 0x40802d86 0x00000000 0x00000000 0x40818000 0x40802c6a      
0x40802d86: npl_freertos_event_run at F:/esp/v5.3.1/esp-idf/components/bt/porting/npl/freertos/src/npl_os_freertos.c:403
0x40802c6a: nimble_port_run at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/porting/nimble/src/nimble_port.c:307

40829390: 0x420837a8 0x00000788 0x00000000 0x4200e276 0x00000000 0x00000000 0x00000000 0x40810ace      
0x4200e276: bleprph_host_task at F:/Embedded/ESP32/power_save/main/main.c:534
0x40810ace: vPortTaskWrapper at F:/esp/v5.3.1/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:258

408293b0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000      
408293d0: 0x00000000 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x00000150 0x40829000 0x00000000      
408293f0: 0x408176f8 0x408176f8 0x408293e8 0x408176f0 0x00000004 0x40820218 0x40820218 0x408293e8      
40829410: 0x00000000 0x00000015 0x408283e4 0x626d696e 0x685f656c 0x0074736f 0x00000000 0x408293e0      
40829430: 0x00000015 0x00000000 0x00000000 0x00000000 0x00000000 0x4081aa68 0x4081aad0 0x4081ab38      
40829450: 0x00000000 0x00000000 0x00000001 0x00000000 0x00000000 0x00000000 0x420088d2 0x00000000      
0x420088d2: esp_cleanup_r at F:/esp/v5.3.1/esp-idf/components/newlib/newlib_init.c:43

40829470: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000      
40829490: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000      
408294b0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000      
408294d0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000      
408294f0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000      



ELF file SHA256: a608a03df

Rebooting...
ESP-ROM:esp32h2-20221101
Build:Nov  1 2022
rst:0xc (SW_CPU),boot:0xc (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x408460e0,len:0x17ac
load:0x4083cad0,len:0xefc
load:0x4083efd0,len:0x2ce4
entry 0x4083cada
I (25) boot: ESP-IDF v5.3.1-dirty 2nd stage bootloader
I (26) boot: compile time Nov 12 2024 21:19:21
I (27) boot: chip revision: v0.1
I (28) boot.esp32h2: SPI Speed      : 64MHz
I (33) boot.esp32h2: SPI Mode       : DIO
I (38) boot.esp32h2: SPI Flash Size : 2MB
I (43) boot: Enabling RNG early entropy source...
I (48) boot: Partition Table:
I (52) 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 (74) boot:  2 factory          factory app      00 00 00010000 00100000
I (81) boot: End of partition table
I (86) esp_image: segment 0: paddr=00010020 vaddr=42080020 size=1b0c4h (110788) map
I (145) esp_image: segment 1: paddr=0002b0ec vaddr=40800000 size=04f2ch ( 20268) load
I (157) esp_image: segment 2: paddr=00030020 vaddr=42000020 size=7e4dch (517340) map
I (393) esp_image: segment 3: paddr=000ae504 vaddr=40804f2c size=0f5d8h ( 62936) load
I (428) esp_image: segment 4: paddr=000bdae4 vaddr=40814510 size=02cbch ( 11452) load
I (435) esp_image: segment 5: paddr=000c07a8 vaddr=50000000 size=00050h (    80) load
I (437) esp_image: segment 6: paddr=000c0800 vaddr=50000050 size=00008h (     8) load
I (455) boot: Loaded app from partition at offset 0x10000
I (456) boot: Disabling RNG early entropy source...
I (467) cpu_start: Unicore app
W (1796) clk: 32 kHz clock not found, switching to internal 150 kHz oscillator
I (1820) cpu_start: Pro cpu start user code
I (1820) cpu_start: cpu freq: 96000000 Hz
I (1820) app_init: Application information:
I (1823) app_init: Project name:     power_save
I (1828) app_init: App version:      1
I (1832) app_init: Compile time:     Nov 12 2024 21:19:11
I (1838) app_init: ELF file SHA256:  a608a03df...
I (1844) app_init: ESP-IDF:          v5.3.1-dirty
I (1849) efuse_init: Min chip rev:     v0.0
I (1854) efuse_init: Max chip rev:     v0.99
I (1859) efuse_init: Chip rev:         v0.1
I (1864) heap_init: Initializing. RAM available for dynamic allocation:
I (1871) heap_init: At 40819F90 len 000333F0 (204 KiB): RAM
I (1878) heap_init: At 4084D380 len 00002B60 (10 KiB): RAM
I (1885) spi_flash: detected chip: generic
I (1888) spi_flash: flash io: dio
W (1892) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (1906) sleep: Enable automatic switching of GPIO sleep configuration
I (1913) sleep_clock: System Power, Clock and Reset sleep retention initialization
I (1936) pm: Frequency switching config: CPU_MAX: 96, APB_MAX: 32, APB_MIN: 32, Light sleep: DISABLED
I (1936) coexist: coex firmware version: 4482466
I (1941) main_task: Started on CPU0
I (1944) main_task: Calling app_main()
I (1957) pm: Frequency switching config: CPU_MAX: 96, APB_MAX: 32, APB_MIN: 32, Light sleep: ENABLED
W (1959) BLE_INIT: 32.768kHz XTAL not detected, fall back to main XTAL as Bluetooth sleep clock        
I (1967) BLE_INIT: Using main XTAL as clock source
I (1979) BLE_INIT: ble controller commit:[a95ec45]
W (1979) BLE_INIT: BLE modem sleep is enabled
I (1984) BLE_INIT: Modem BLE MAC retention initialization
W (1989) BLE_INIT: Enable light sleep, the wake up source is BLE timer
I (2010) phy: phy_version: 310,2, 8fa9cb4, Jun  5 2024, 14:19:10
I (2028) phy: libbtbb version: a024da6, Jun  5 2024, 14:19:22
I (2029) sleep_clock: Modem Power, Clock and Reset sleep retention initialization
I (2033) NimBLE_BLE_PRPH: BLE Host Task Started
I (2041) NimBLE: Device Address:
I (2042) NimBLE: 74:4d:bd:62:05:5f
I (2045) NimBLE:

I (2049) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (2059) uart: queue free spaces: 8
I (2061) main_task: Returned from app_main()
I (2146) NimBLE: connection established; status=0 
I (2147) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (2197) NimBLE: 74:4d:bd:62:05:5f
I (2198) NimBLE:  our_id_addr_type=0 our_id_addr=
I (2198) NimBLE: 74:4d:bd:62:05:5f
I (2200) NimBLE:  peer_ota_addr_type=1 peer_ota_addr=
I (2206) NimBLE: 7c:f8:9a:ef:5c:68
I (2210) NimBLE:  peer_id_addr_type=1 peer_id_addr=
I (2217) NimBLE: 7c:f8:9a:ef:5c:68
I (2220) NimBLE:  conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (2230) NimBLE: 

I (2236) NimBLE: advertise complete; reason=0
I (2240) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (2309) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (2361) NimBLE: GAP procedure initiated: stop extended advertising.

I (2366) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (2493) NimBLE: connection established; status=0 
I (2494) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (2544) NimBLE: 74:4d:bd:62:05:5f
I (2545) NimBLE:  our_id_addr_type=0 our_id_addr=
I (2546) NimBLE: 74:4d:bd:62:05:5f
I (2548) NimBLE:  peer_ota_addr_type=1 peer_ota_addr=
I (2553) NimBLE: 7c:f8:9a:ef:5c:68
I (2557) NimBLE:  peer_id_addr_type=1 peer_id_addr=
I (2563) NimBLE: 7c:f8:9a:ef:5c:68
I (2569) NimBLE:  conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (2577) NimBLE:

I (2582) NimBLE: advertise complete; reason=0
I (2589) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (2656) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (2708) NimBLE: GAP procedure initiated: stop extended advertising.

I (2715) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (2765) NimBLE: connection established; status=0 
I (2766) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (2816) NimBLE: 74:4d:bd:62:05:5f
I (2817) NimBLE:  our_id_addr_type=0 our_id_addr=
I (2818) NimBLE: 74:4d:bd:62:05:5f
I (2820) NimBLE:  peer_ota_addr_type=1 peer_ota_addr=
I (2825) NimBLE: 7c:f8:9a:ef:5c:68
I (2830) NimBLE:  peer_id_addr_type=1 peer_id_addr=
I (2835) NimBLE: 7c:f8:9a:ef:5c:68
I (2839) NimBLE:  conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (2849) NimBLE:

I (2856) NimBLE: advertise complete; reason=0
I (2860) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (2930) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (2983) NimBLE: GAP procedure initiated: stop extended advertising.

I (2988) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (3078) NimBLE: connection established; status=0 
I (3079) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (3130) NimBLE: 74:4d:bd:62:05:5f
I (3131) NimBLE:  our_id_addr_type=0 our_id_addr=
I (3131) NimBLE: 74:4d:bd:62:05:5f
I (3133) NimBLE:  peer_ota_addr_type=1 peer_ota_addr=
I (3139) NimBLE: 7c:f8:9a:ef:5c:68
I (3143) NimBLE:  peer_id_addr_type=1 peer_id_addr=
I (3148) NimBLE: 7c:f8:9a:ef:5c:68
I (3152) NimBLE:  conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (3164) NimBLE:

I (3167) NimBLE: advertise complete; reason=0
I (3173) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (3240) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (3291) NimBLE: GAP procedure initiated: stop extended advertising.

I (3297) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (3415) NimBLE: connection established; status=0 
I (3416) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (3466) NimBLE: 74:4d:bd:62:05:5f
I (3467) NimBLE:  our_id_addr_type=0 our_id_addr=
I (3468) NimBLE: 74:4d:bd:62:05:5f
I (3470) NimBLE:  peer_ota_addr_type=1 peer_ota_addr=
I (3475) NimBLE: 7c:f8:9a:ef:5c:68
I (3479) NimBLE:  peer_id_addr_type=1 peer_id_addr=
I (3485) NimBLE: 7c:f8:9a:ef:5c:68
I (3489) NimBLE:  conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (3499) NimBLE:

I (3504) NimBLE: advertise complete; reason=0
I (3512) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (4221) NimBLE: disconnect; reason=520 
I (4222) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (4272) NimBLE: 74:4d:bd:62:05:5f
I (4273) NimBLE:  our_id_addr_type=0 our_id_addr=
I (4273) NimBLE: 74:4d:bd:62:05:5f
I (4275) NimBLE:  peer_ota_addr_type=1 peer_ota_addr=
I (4281) NimBLE: 7c:f8:9a:ef:5c:68
I (4285) NimBLE:  peer_id_addr_type=1 peer_id_addr=
I (4291) NimBLE: 7c:f8:9a:ef:5c:68
I (4295) NimBLE:  conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (4305) NimBLE:

I (4668) NimBLE: connection established; status=0 
I (4670) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (4721) NimBLE: 74:4d:bd:62:05:5f
I (4722) NimBLE:  our_id_addr_type=0 our_id_addr=
I (4723) NimBLE: 74:4d:bd:62:05:5f
I (4725) NimBLE:  peer_ota_addr_type=1 peer_ota_addr=
I (4730) NimBLE: 7c:f8:9a:ef:5c:68
I (4734) NimBLE:  peer_id_addr_type=1 peer_id_addr=
I (4740) NimBLE: 7c:f8:9a:ef:5c:68
I (4744) NimBLE:  conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (4756) NimBLE:

I (4759) NimBLE: advertise complete; reason=0
I (4764) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (4834) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (4886) NimBLE: GAP procedure initiated: stop extended advertising.

I (4893) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (5316) NimBLE: connection established; status=0
I (5317) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (5367) NimBLE: 74:4d:bd:62:05:5f
I (5368) NimBLE:  our_id_addr_type=0 our_id_addr=
I (5369) NimBLE: 74:4d:bd:62:05:5f
I (5371) NimBLE:  peer_ota_addr_type=1 peer_ota_addr=
I (5376) NimBLE: 7c:f8:9a:ef:5c:68
I (5380) NimBLE:  peer_id_addr_type=1 peer_id_addr=
I (5386) NimBLE: 7c:f8:9a:ef:5c:68
I (5390) NimBLE:  conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (5400) NimBLE:

I (5407) NimBLE: advertise complete; reason=0
I (5411) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (5480) NimBLE: Reattempt advertising; reason: 0x3e, status = 0

More Information.

It's noticed that the rear part of the logs is quite similar to #12911

@Tnze Tnze added the Type: Bug bugs in IDF label Nov 12, 2024
@github-actions github-actions bot changed the title NimBLE examples panics when connected from an iPhone using nRF Connect app NimBLE examples panics when connected from an iPhone using nRF Connect app (IDFGH-14056) Nov 12, 2024
@espressif-bot espressif-bot added the Status: Opened Issue is new label Nov 12, 2024
@Shreeyash-17
Copy link

Shreeyash-17 commented Nov 13, 2024

@Tnze Based on the IDF version and chip name you provided, I was NOT able to reproduce the issue. I have included the log below. Also, please ensure that your codebase is clean and properly synced. Could you kindly share the sdkconfig file?

Log that I got :

I (23) bot: ESP-IDF v5.3.1 2nd stage bootloader
I (24) boot: compile time Nov 13 2024 12:50:40
I (25) boot: chip revision: v0.2
I (27) boot.esp32h2: SPI Speed : 64MHz
I (31) boot.esp32h2: SPI Mode : DIO
I (36) boot.esp32h2: SPI Flash Size : 2MB
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 nvs WiFi data 01 02 00009000 00006000
I (64) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (72) boot: 2 factory factory app 00 00 00010000 00100000
I (80) boot: End of partition table
I (84) esp_image: segment 0: paddr=00010020 vaddr=42080020 size=1b0f4h (110836) map
I (126) esp_image: segment 1: paddr=0002b11c vaddr=40800000 size=04efch ( 20220) load
I (134) esp_image: segment 2: paddr=00030020 vaddr=42000020 size=7e4dch (517340) map
I (295) esp_image: segment 3: paddr=000ae504 vaddr=40804efc size=0f608h ( 62984) load
I (317) esp_image: segment 4: paddr=000bdb14 vaddr=40814510 size=02cbch ( 11452) load
I (322) esp_image: segment 5: paddr=000c07d8 vaddr=50000000 size=00050h ( 80) load
I (324) esp_image: segment 6: paddr=000c0830 vaddr=50000050 size=00008h ( 8) load
I (338) boot: Loaded app from partition at offset 0x10000
I (339) boot: Disabling RNG early entropy source...
I (355) cpu_start: Unicore app
W (1892) clk: 32 kHz clock not found, switching to internal 150 kHz oscillator
I (1915) cpu_start: Pro cpu start user code
I (1916) cpu_start: cpu freq: 96000000 Hz
I (1916) app_init: Application information:
I (1919) app_init: Project name: power_save
I (1924) app_init: App version: v5.3.1
I (1929) app_init: Compile time: Nov 13 2024 12:50:35
I (1935) app_init: ELF file SHA256: 5a25a9141...
I (1940) app_init: ESP-IDF: v5.3.1
I (1945) efuse_init: Min chip rev: v0.0
I (1950) efuse_init: Max chip rev: v0.99
I (1955) efuse_init: Chip rev: v0.2
I (1960) heap_init: Initializing. RAM available for dynamic allocation:
I (1967) heap_init: At 40819F90 len 000333F0 (204 KiB): RAM
I (1973) heap_init: At 4084D380 len 00002B60 (10 KiB): RAM
I (1981) spi_flash: detected chip: generic
I (1984) spi_flash: flash io: dio
W (1988) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (2002) sleep: Enable automatic switching of GPIO sleep configuration
I (2009) sleep_clock: System Power, Clock and Reset sleep retention initialization
I (2031) pm: Frequency switching config: CPU_MAX: 96, APB_MAX: 32, APB_MIN: 32, Light sleep: DISABLED
I (2032) coexist: coex firmware version: 4482466
I (2037) main_task: Started on CPU0
I (2040) main_task: Calling app_main()
I (2054) pm: Frequency switching config: CPU_MAX: 96, APB_MAX: 32, APB_MIN: 32, Light sleep: ENABLED
W (2055) BLE_INIT: 32.768kHz XTAL not detected, fall back to main XTAL as Bluetooth sleep clock
I (2063) BLE_INIT: Using main XTAL as clock source
I (2075) BLE_INIT: ble controller commit:[a95ec45]
W (2075) BLE_INIT: BLE modem sleep is enabled
I (2080) BLE_INIT: Modem BLE MAC retention initialization
W (2085) BLE_INIT: Enable light sleep, the wake up source is BLE timer
I (2104) phy: phy_version: 310,2, 8fa9cb4, Jun 5 2024, 14:19:10
I (2122) phy: libbtbb version: a024da6, Jun 5 2024, 14:19:22
I (2123) sleep_clock: Modem Power, Clock and Reset sleep retention initialization
I (2128) NimBLE_BLE_PRPH: BLE Host Task Started
I (2135) NimBLE: Device Address:
I (2136) NimBLE: 60:55:f9:f7:39:cc
I (2139) NimBLE:

I (2143) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (2153) uart: queue free spaces: 8
I (2155) main_task: Returned from app_main()
I (13449) NimBLE: connection established; status=0
I (13450) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (13500) NimBLE: 60:55:f9:f7:39:cc
I (13501) NimBLE: our_id_addr_type=0 our_id_addr=
I (13502) NimBLE: 60:55:f9:f7:39:cc
I (13504) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (13512) NimBLE: 50:6e:89:2d:aa:68
I (13514) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (13519) NimBLE: 50:6e:89:2d:aa:68
I (13524) NimBLE: conn_itvl=36 conn_latency=0 supervision_timeout=500 encrypted=0 authenticated=0 bonded=0

I (13534) NimBLE:

I (13538) NimBLE: advertise complete; reason=0
I (13544) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (14137) NimBLE: connection updated; status=0
I (14138) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (14188) NimBLE: 60:55:f9:f7:39:cc
I (14189) NimBLE: our_id_addr_type=0 our_id_addr=
I (14189) NimBLE: 60:55:f9:f7:39:cc
I (14192) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (14198) NimBLE: 50:6e:89:2d:aa:68
I (14203) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (14207) NimBLE: 50:6e:89:2d:aa:68
I (14211) NimBLE: conn_itvl=6 conn_latency=0 supervision_timeout=500 encrypted=0 authenticated=0 bonded=0

I (14222) NimBLE:

I (14710) NimBLE: connection updated; status=0
I (14712) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (14762) NimBLE: 60:55:f9:f7:39:cc
I (14765) NimBLE: our_id_addr_type=0 our_id_addr=
I (14765) NimBLE: 60:55:f9:f7:39:cc
I (14768) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (14773) NimBLE: 50:6e:89:2d:aa:68
I (14778) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (14783) NimBLE: 50:6e:89:2d:aa:68
I (14787) NimBLE: conn_itvl=36 conn_latency=0 supervision_timeout=500 encrypted=0 authenticated=0 bonded=0

I (14800) NimBLE:

I (109905) NimBLE: disconnect; reason=531
I (109906) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (109957) NimBLE: 60:55:f9:f7:39:cc
I (109958) NimBLE: our_id_addr_type=0 our_id_addr=
I (109958) NimBLE: 60:55:f9:f7:39:cc
I (109960) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (109968) NimBLE: 50:6e:89:2d:aa:68
I (109971) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (109976) NimBLE: 50:6e:89:2d:aa:68
I (109981) NimBLE: conn_itvl=36 conn_latency=0 supervision_timeout=500 encrypted=0 authenticated=0 bonded=0

I (109991) NimBLE:

I (121245) NimBLE: connection established; status=0
I (121296) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (121297) NimBLE: 60:55:f9:f7:39:cc
I (121298) NimBLE: our_id_addr_type=0 our_id_addr=
I (121302) NimBLE: 60:55:f9:f7:39:cc
I (121306) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (121312) NimBLE: 50:6e:89:2d:aa:68
I (121317) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (121322) NimBLE: 50:6e:89:2d:aa:68
I (121327) NimBLE: conn_itvl=36 conn_latency=0 supervision_timeout=500 encrypted=0 authenticated=0 bonded=0

I (121337) NimBLE:

I (121342) NimBLE: advertise complete; reason=0
I (121348) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (121526) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (121578) NimBLE: GAP procedure initiated: stop extended advertising.

I (121585) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (121742) NimBLE: connection established; status=0
I (121794) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (121795) NimBLE: 60:55:f9:f7:39:cc
I (121796) NimBLE: our_id_addr_type=0 our_id_addr=
I (121802) NimBLE: 60:55:f9:f7:39:cc
I (121805) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (121810) NimBLE: 50:6e:89:2d:aa:68
I (121815) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (121820) NimBLE: 50:6e:89:2d:aa:68
I (121825) NimBLE: conn_itvl=36 conn_latency=0 supervision_timeout=500 encrypted=0 authenticated=0 bonded=0

I (121835) NimBLE:

I (121841) NimBLE: advertise complete; reason=0
I (121848) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (122025) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (122077) NimBLE: GAP procedure initiated: stop extended advertising.

I (122082) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (122201) NimBLE: connection established; status=0
I (122252) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (122253) NimBLE: 60:55:f9:f7:39:cc
I (122254) NimBLE: our_id_addr_type=0 our_id_addr=
I (122258) NimBLE: 60:55:f9:f7:39:cc
I (122263) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (122271) NimBLE: 50:6e:89:2d:aa:68
I (122273) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (122279) NimBLE: 50:6e:89:2d:aa:68
I (122283) NimBLE: conn_itvl=36 conn_latency=0 supervision_timeout=500 encrypted=0 authenticated=0 bonded=0

I (122293) NimBLE:

I (122297) NimBLE: advertise complete; reason=0
I (122304) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (123193) NimBLE: connection updated; status=0
I (123195) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (123245) NimBLE: 60:55:f9:f7:39:cc
I (123246) NimBLE: our_id_addr_type=0 our_id_addr=
I (123246) NimBLE: 60:55:f9:f7:39:cc
I (123249) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (123256) NimBLE: 50:6e:89:2d:aa:68
I (123259) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (123266) NimBLE: 50:6e:89:2d:aa:68
I (123269) NimBLE: conn_itvl=6 conn_latency=0 supervision_timeout=500 encrypted=0 authenticated=0 bonded=0

I (123279) NimBLE:

I (123825) NimBLE: connection updated; status=0
I (123826) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (123876) NimBLE: 60:55:f9:f7:39:cc
I (123879) NimBLE: our_id_addr_type=0 our_id_addr=
I (123880) NimBLE: 60:55:f9:f7:39:cc
I (123882) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (123888) NimBLE: 50:6e:89:2d:aa:68
I (123892) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (123898) NimBLE: 50:6e:89:2d:aa:68
I (123902) NimBLE: conn_itvl=36 conn_latency=0 supervision_timeout=500 encrypted=0 authenticated=0 bonded=0

I (123914) NimBLE:

I (304007) NimBLE: disconnect; reason=531
I (304009) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (304059) NimBLE: 60:55:f9:f7:39:cc
I (304060) NimBLE: our_id_addr_type=0 our_id_addr=
I (304061) NimBLE: 60:55:f9:f7:39:cc
I (304063) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (304069) NimBLE: 50:6e:89:2d:aa:68
I (304073) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (304079) NimBLE: 50:6e:89:2d:aa:68
I (304083) NimBLE: conn_itvl=36 conn_latency=0 supervision_timeout=500 encrypted=0 authenticated=0 bonded=0

I (304093) NimBLE:

@Tnze
Copy link
Author

Tnze commented Nov 13, 2024

Looks like you didn't reproduce the assertion failure and panic.

While capturing the logs my codebase is not clean because I applied a patch from #16864. But I can ensure the issue can be reproduced on unmodified esp-idf release. I will clean the code and recapture the logs, sharing the config file later.

@Tnze
Copy link
Author

Tnze commented Nov 13, 2024

I cleanup my esp-idf and I can still reproduce this issue.
And this is my project (with built artifacts).
power_save.zip.001.zip
power_save.zip.002.zip

Logs 40829150: 0x66207472 0x656c6961 0x65203a64 0x625f7478 0x7270656c 0x615f6870 0x72657664 0x65736974 40829170: 0x69616d20 0x3a632e6e 0x20393231 0x20637228 0x30203d3d 0x00000029 0x40828378 0x4080e234 0x4080e234: prvCopyDataToQueue at F:/esp/v5.3.1/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:2470

40829190: 0x00000000 0x00000000 0x40828378 0x4080e864 0x408291f4 0x00002036 0x0000020c 0x00000000
0x4080e864: xQueueGenericSend at F:/esp/v5.3.1/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:1057

408291b0: 0x00000019 0x00002036 0x00000000 0x4201ea94 0x0000020c 0x408291f0 0x00000001 0x00000000
0x4201ea94: ble_hs_hci_cmd_tx at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs_hci.c:361

408291d0: 0x0000020c 0x408293e8 0x40828378 0x4080ea26 0x00000000 0x40829244 0x408201e0 0x408036b4
0x4080ea26: xQueueGiveMutexRecursive at F:/esp/v5.3.1/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:796
0x408036b4: npl_freertos_mutex_release at F:/esp/v5.3.1/esp-idf/components/bt/porting/npl/freertos/src/npl_os_freertos.c:470 (discriminator 1)

408291f0: 0x00000000 0x40829244 0x00000000 0x42012c3a 0x00000000 0x00000000 0x01020001 0x42012c56
0x42012c3a: ble_hs_unlock_nested at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:209
0x42012c56: ble_hs_unlock at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:240

40829210: 0x00000000 0x00000000 0x00000000 0x42000000 0x00000012 0x00000000 0x00000000 0x00000000
40829230: 0x00000012 0x408241a6 0x408292ec 0x4200e480 0x00000000 0x00000001 0x00000030 0x00000030
0x4200e480: ext_bleprph_advertise at F:/Embedded/ESP32/power_save/main/main.c:135 (discriminator 1)

40829250: 0x00000000 0x00000000 0x02010000 0x00000100 0x4208376c 0x00000000 0x408292ec 0x4200e8e2
0x4200e8e2: bleprph_gap_event at F:/Embedded/ESP32/power_save/main/main.c:345

40829270: 0x408292cc 0x00002016 0x00000000 0x00000000 0x408292e8 0x408293e8 0x40828378 0x4080ea26
0x4080ea26: xQueueGiveMutexRecursive at F:/esp/v5.3.1/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:796

40829290: 0x408292e8 0x408292e4 0x408201e0 0x408036b4 0x00000000 0x408292e4 0x00000000 0x42012c3a
0x408036b4: npl_freertos_mutex_release at F:/esp/v5.3.1/esp-idf/components/bt/porting/npl/freertos/src/npl_os_freertos.c:470 (discriminator 1)
0x42012c3a: ble_hs_unlock_nested at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:209

408292b0: 0x40818931 0x40819a60 0x40818918 0x42012c56 0x00000000 0x000000fc 0x00000000 0x42018446
0x42012c56: ble_hs_unlock at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:240
0x42018446: ble_gap_slave_extract_cb at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_gap.c:1013

408292d0: 0x00000012 0x408241a6 0x00000000 0x420187ba 0x408293e0 0x00000000 0x4200e5d0 0x00000009
0x420187ba: ble_gap_adv_finished at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_gap.c:1038
0x4200e5d0: bleprph_gap_event at F:/Embedded/ESP32/power_save/main/main.c:280

408292f0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
40829310: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0xb4970101 0x408241a6 0x42019428
0x42019428: ble_gap_rx_adv_set_terminated at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_gap.c:1829

40829330: 0x00000012 0x408241a6 0x408241a6 0x42013aee 0x00000000 0x00000000 0x00000006 0x42013460
0x42013aee: ble_hs_hci_evt_le_adv_set_terminated at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs_hci_evt.c:956
0x42013460: ble_hs_hci_evt_le_meta at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs_hci_evt.c:440

40829350: 0x40818000 0x0000003e 0x408241a4 0x42013fbc 0x40818000 0x408241a4 0x40818864 0x42012b16
0x42013fbc: ble_hs_hci_evt_process at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs_hci_evt.c:1124
0x42012b16: ble_hs_event_rx_hci_ev at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:532

40829370: 0x00000000 0x00000000 0x40818864 0x40802d86 0x00000000 0x00000000 0x40818000 0x40802c6a
0x40802d86: npl_freertos_event_run at F:/esp/v5.3.1/esp-idf/components/bt/porting/npl/freertos/src/npl_os_freertos.c:403
0x40802c6a: nimble_port_run at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/porting/nimble/src/nimble_port.c:307

40829390: 0x420837a8 0x00000865 0x00000000 0x4200e276 0x00000000 0x00000000 0x00000000 0x40810ace
0x4200e276: bleprph_host_task at F:/Embedded/ESP32/power_save/main/main.c:534
0x40810ace: vPortTaskWrapper at F:/esp/v5.3.1/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:258

408293b0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
408293d0: 0x00000000 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x00000150 0x40829000 0x00000000
408293f0: 0x408176f8 0x408176f8 0x408293e8 0x408176f0 0x00000004 0x40820218 0x40820218 0x408293e8
40829410: 0x00000000 0x00000015 0x408283e4 0x626d696e 0x685f656c 0x0074736f 0x00000000 0x408293e0
40829430: 0x00000015 0x00000000 0x00000000 0x00000000 0x00000000 0x4081aa68 0x4081aad0 0x4081ab38
40829450: 0x00000000 0x00000000 0x00000001 0x00000000 0x00000000 0x00000000 0x420088d2 0x00000000
0x420088d2: esp_cleanup_r at F:/esp/v5.3.1/esp-idf/components/newlib/newlib_init.c:43

40829470: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
40829490: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
408294b0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
408294d0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
408294f0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000

ELF file SHA256: 441742955

Rebooting...
ESP-ROM:esp32h2-20221101
Build:Nov 1 2022
rst:0xc (SW_CPU),boot:0xc (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x408460e0,len:0x17ac
load:0x4083cad0,len:0xefc
load:0x4083efd0,len:0x2ce4
entry 0x4083cada
I (25) boot: ESP-IDF v5.3.1 2nd stage bootloader
I (26) boot: compile time Nov 14 2024 01:59:05
I (27) boot: chip revision: v0.1
I (28) boot.esp32h2: SPI Speed : 64MHz
I (33) boot.esp32h2: SPI Mode : DIO
I (37) boot.esp32h2: SPI Flash Size : 2MB
I (42) boot: Enabling RNG early entropy source...
I (48) boot: Partition Table:
I (51) boot: ## Label Usage Type ST Offset Length
I (58) 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 (81) boot: End of partition table
I (85) esp_image: segment 0: paddr=00010020 vaddr=42080020 size=1b0c4h (110788) map
I (144) esp_image: segment 1: paddr=0002b0ec vaddr=40800000 size=04f2ch ( 20268) load
I (156) esp_image: segment 2: paddr=00030020 vaddr=42000020 size=7e4dch (517340) map
I (393) esp_image: segment 3: paddr=000ae504 vaddr=40804f2c size=0f5d8h ( 62936) load
I (427) esp_image: segment 4: paddr=000bdae4 vaddr=40814510 size=02cbch ( 11452) load
I (435) esp_image: segment 5: paddr=000c07a8 vaddr=50000000 size=00050h ( 80) load
I (437) esp_image: segment 6: paddr=000c0800 vaddr=50000050 size=00008h ( 8) load
I (454) boot: Loaded app from partition at offset 0x10000
I (455) boot: Disabling RNG early entropy source...
I (466) cpu_start: Unicore app
W (2003) clk: 32 kHz clock not found, switching to internal 150 kHz oscillator
I (2027) cpu_start: Pro cpu start user code
I (2028) cpu_start: cpu freq: 96000000 Hz
I (2028) app_init: Application information:
I (2031) app_init: Project name: power_save
I (2036) app_init: App version: 1
I (2040) app_init: Compile time: Nov 14 2024 01:58:49
I (2046) app_init: ELF file SHA256: 441742955...
I (2052) app_init: ESP-IDF: v5.3.1
I (2057) efuse_init: Min chip rev: v0.0
I (2061) efuse_init: Max chip rev: v0.99
I (2066) efuse_init: Chip rev: v0.1
I (2071) heap_init: Initializing. RAM available for dynamic allocation:
I (2079) heap_init: At 40819F90 len 000333F0 (204 KiB): RAM
I (2085) heap_init: At 4084D380 len 00002B60 (10 KiB): RAM
I (2092) spi_flash: detected chip: generic
I (2096) spi_flash: flash io: dio
W (2100) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (2114) sleep: Enable automatic switching of GPIO sleep configuration
I (2121) sleep_clock: System Power, Clock and Reset sleep retention initialization
I (2143) pm: Frequency switching config: CPU_MAX: 96, APB_MAX: 32, APB_MIN: 32, Light sleep: DISABLED
I (2144) coexist: coex firmware version: 4482466
I (2149) main_task: Started on CPU0
I (2152) main_task: Calling app_main()
I (2165) pm: Frequency switching config: CPU_MAX: 96, APB_MAX: 32, APB_MIN: 32, Light sleep: ENABLED
W (2167) BLE_INIT: 32.768kHz XTAL not detected, fall back to main XTAL as Bluetooth sleep clock
I (2175) BLE_INIT: Using main XTAL as clock source
I (2187) BLE_INIT: ble controller commit:[a95ec45]
W (2187) BLE_INIT: BLE modem sleep is enabled
I (2192) BLE_INIT: Modem BLE MAC retention initialization
W (2197) BLE_INIT: Enable light sleep, the wake up source is BLE timer
I (2218) phy: phy_version: 310,2, 8fa9cb4, Jun 5 2024, 14:19:10
I (2235) phy: libbtbb version: a024da6, Jun 5 2024, 14:19:22
I (2236) sleep_clock: Modem Power, Clock and Reset sleep retention initialization
I (2241) NimBLE_BLE_PRPH: BLE Host Task Started
I (2249) NimBLE: Device Address:
I (2250) NimBLE: 74:4d:bd:62:05:5f
I (2252) NimBLE:

I (2256) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (2267) uart: queue free spaces: 8
I (2269) main_task: Returned from app_main()
I (2272) NimBLE: connection established; status=0
I (2277) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (2284) NimBLE: 74:4d:bd:62:05:5f
I (2288) NimBLE: our_id_addr_type=0 our_id_addr=
I (2294) NimBLE: 74:4d:bd:62:05:5f
I (2297) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (2303) NimBLE: 7c:9f:3e:33:b4:97
I (2307) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (2312) NimBLE: 7c:9f:3e:33:b4:97
I (2316) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (2327) NimBLE:

I (2330) NimBLE: advertise complete; reason=0
I (2336) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (2463) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (2516) NimBLE: GAP procedure initiated: stop extended advertising.

I (2520) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (2527) NimBLE: connection established; status=0
I (2531) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (2533) NimBLE: 74:4d:bd:62:05:5f
I (2537) NimBLE: our_id_addr_type=0 our_id_addr=
I (2542) NimBLE: 74:4d:bd:62:05:5f
I (2546) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (2552) NimBLE: 7c:9f:3e:33:b4:97
I (2557) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (2563) NimBLE: 7c:9f:3e:33:b4:97
I (2565) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (2576) NimBLE:

I (2580) NimBLE: advertise complete; reason=0

assert failed: ext_bleprph_advertise main.c:129 (rc == 0)
Core 0 register dump:
MEPC : 0x40800808 RA : 0x4080d7b4 SP : 0x40829110 GP : 0x40814d14
0x40800808: panic_abort at F:/esp/v5.3.1/esp-idf/components/esp_system/panic.c:463
0x4080d7b4: assist_debug_hal_get_sp_bounds at F:/esp/v5.3.1/esp-idf/components/hal/include/hal/assist_debug_hal.h:54
(inlined by) esp_hw_stack_guard_get_bounds at F:/esp/v5.3.1/esp-idf/components/esp_system/hw_stack_guard.c:76

TP : 0x408293e0 T0 : 0x37363534 T1 : 0x7271706f T2 : 0x33323130
S0/FP : 0x0000008e S1 : 0x00000001 A0 : 0x4082914c A1 : 0x408164e5
A2 : 0x00000001 A3 : 0x00000029 A4 : 0x00000001 A5 : 0x40818000
A6 : 0x0000000c A7 : 0x76757473 S2 : 0x00000009 S3 : 0x40829259
S4 : 0x408164e4 S5 : 0x00000000 S6 : 0x00000000 S7 : 0x00000000
S8 : 0x00000000 S9 : 0x00000000 S10 : 0x00000000 S11 : 0x00000000
T3 : 0x6e6d6c6b T4 : 0x6a696867 T5 : 0x66656463 T6 : 0x62613938
MSTATUS : 0x00001881 MTVEC : 0x40800001 MCAUSE : 0x00000007 MTVAL : 0x00000000
0x40800001: _vector_table at F:/esp/v5.3.1/esp-idf/components/riscv/vectors_intc.S:54

MHARTID : 0x00000000

Stack memory:
40829110: 0x00000004 0x40826538 0x4208d250 0x4081347e 0x408164cc 0x4208d250 0x40815e40 0x42083970
0x4081347e: newlib_include_assert_impl at F:/esp/v5.3.1/esp-idf/components/newlib/assert.c:92

40829130: 0x408164dc 0x40829144 0x408164e0 0x42083960 0x408164e4 0x00393231 0x408282c8 0x65737361
40829150: 0x66207472 0x656c6961 0x65203a64 0x625f7478 0x7270656c 0x615f6870 0x72657664 0x65736974
40829170: 0x69616d20 0x3a632e6e 0x20393231 0x20637228 0x30203d3d 0x00000029 0x40828378 0x4080e234
0x4080e234: prvCopyDataToQueue at F:/esp/v5.3.1/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:2470

40829190: 0x00000000 0x00000000 0x40828378 0x4080e864 0x408291f4 0x00002036 0x0000020c 0x00000000
0x4080e864: xQueueGenericSend at F:/esp/v5.3.1/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:1057

408291b0: 0x00000019 0x00002036 0x00000000 0x4201ea94 0x0000020c 0x408291f0 0x00000001 0x00000000
0x4201ea94: ble_hs_hci_cmd_tx at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs_hci.c:361

408291d0: 0x0000020c 0x408293e8 0x40828378 0x4080ea26 0x00000000 0x40829244 0x408201e0 0x408036b4
0x4080ea26: xQueueGiveMutexRecursive at F:/esp/v5.3.1/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:796
0x408036b4: npl_freertos_mutex_release at F:/esp/v5.3.1/esp-idf/components/bt/porting/npl/freertos/src/npl_os_freertos.c:470 (discriminator 1)

408291f0: 0x00000000 0x40829244 0x00000000 0x42012c3a 0x00000000 0x00000000 0x01020001 0x42012c56
0x42012c3a: ble_hs_unlock_nested at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:209
0x42012c56: ble_hs_unlock at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:240

40829210: 0x00000000 0x00000000 0x00000000 0x42000000 0x00000000 0x00000000 0x00000000 0x00000000
40829230: 0x00000012 0x408241a6 0x408292ec 0x4200e480 0x00000000 0x00000001 0x00000030 0x00000030
0x4200e480: ext_bleprph_advertise at F:/Embedded/ESP32/power_save/main/main.c:135 (discriminator 1)

40829250: 0x00000000 0x00000000 0x02010000 0x00000100 0x4208376c 0x00000000 0x408292ec 0x4200e8e2
0x4200e8e2: bleprph_gap_event at F:/Embedded/ESP32/power_save/main/main.c:345

40829270: 0x408292cc 0x00002016 0x00000000 0x00000000 0x408292e8 0x408293e8 0x40828378 0x4080ea26
0x4080ea26: xQueueGiveMutexRecursive at F:/esp/v5.3.1/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:796

40829290: 0x408292e8 0x408292e4 0x408201e0 0x408036b4 0x40818931 0x408292e4 0x00000000 0x42012c3a
0x408036b4: npl_freertos_mutex_release at F:/esp/v5.3.1/esp-idf/components/bt/porting/npl/freertos/src/npl_os_freertos.c:470 (discriminator 1)
0x42012c3a: ble_hs_unlock_nested at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:209

408292b0: 0x40818931 0x40819a60 0x40818918 0x42012c56 0x00000000 0x00000000 0x00000000 0x42018446
0x42012c56: ble_hs_unlock at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:240
0x42018446: ble_gap_slave_extract_cb at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_gap.c:1013

408292d0: 0x00000012 0x408241a6 0x00000000 0x420187ba 0x42013fbe 0x00000000 0x4200e5d0 0x00000009
0x420187ba: ble_gap_adv_finished at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_gap.c:1038
0x42013fbe: ble_hs_hci_evt_process at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs_hci_evt.c:1127
0x4200e5d0: bleprph_gap_event at F:/Embedded/ESP32/power_save/main/main.c:280

408292f0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
40829310: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000004 0x00000000 0x408241a6 0x42019428
0x42019428: ble_gap_rx_adv_set_terminated at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_gap.c:1829

40829330: 0x00000012 0x408241a6 0x408241a6 0x42013aee 0x00000000 0x00000000 0x00000006 0x42013460
0x42013aee: ble_hs_hci_evt_le_adv_set_terminated at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs_hci_evt.c:956
0x42013460: ble_hs_hci_evt_le_meta at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs_hci_evt.c:440

40829350: 0x40818000 0x0000003e 0x408241a4 0x42013fbc 0x40818000 0x408241a4 0x40818864 0x42012b16
0x42013fbc: ble_hs_hci_evt_process at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs_hci_evt.c:1124
0x42012b16: ble_hs_event_rx_hci_ev at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:532

40829370: 0x00000000 0x00000000 0x40818864 0x40802d86 0x00000000 0x00000000 0x40818000 0x40802c6a
0x40802d86: npl_freertos_event_run at F:/esp/v5.3.1/esp-idf/components/bt/porting/npl/freertos/src/npl_os_freertos.c:403
0x40802c6a: nimble_port_run at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/porting/nimble/src/nimble_port.c:307

40829390: 0x420837a8 0x00000865 0x00000000 0x4200e276 0x00000000 0x00000000 0x00000000 0x40810ace
0x4200e276: bleprph_host_task at F:/Embedded/ESP32/power_save/main/main.c:534
0x40810ace: vPortTaskWrapper at F:/esp/v5.3.1/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:258

408293b0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
408293d0: 0x00000000 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x00000150 0x40829000 0x00000000
408293f0: 0x408176f8 0x408176f8 0x408293e8 0x408176f0 0x00000004 0x40820218 0x40820218 0x408293e8
40829410: 0x00000000 0x00000015 0x408283e4 0x626d696e 0x685f656c 0x0074736f 0x00000000 0x408293e0
40829430: 0x00000015 0x00000000 0x00000000 0x00000000 0x00000000 0x4081aa68 0x4081aad0 0x4081ab38
40829450: 0x00000000 0x00000000 0x00000001 0x00000000 0x00000000 0x00000000 0x420088d2 0x00000000
0x420088d2: esp_cleanup_r at F:/esp/v5.3.1/esp-idf/components/newlib/newlib_init.c:43

40829470: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
40829490: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
408294b0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
408294d0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
408294f0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000

ELF file SHA256: 441742955

Rebooting...
ESP-ROM:esp32h2-20221101
Build:Nov 1 2022
rst:0xc (SW_CPU),boot:0xc (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x408460e0,len:0x17ac
load:0x4083cad0,len:0xefc
load:0x4083efd0,len:0x2ce4
entry 0x4083cada
I (25) boot: ESP-IDF v5.3.1 2nd stage bootloader
I (26) boot: compile time Nov 14 2024 01:59:05
I (27) boot: chip revision: v0.1
I (28) boot.esp32h2: SPI Speed : 64MHz
I (33) boot.esp32h2: SPI Mode : DIO
I (37) boot.esp32h2: SPI Flash Size : 2MB
I (42) boot: Enabling RNG early entropy source...
I (48) boot: Partition Table:
I (51) boot: ## Label Usage Type ST Offset Length
I (58) 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 (81) boot: End of partition table
I (85) esp_image: segment 0: paddr=00010020 vaddr=42080020 size=1b0c4h (110788) map
I (144) esp_image: segment 1: paddr=0002b0ec vaddr=40800000 size=04f2ch ( 20268) load
I (156) esp_image: segment 2: paddr=00030020 vaddr=42000020 size=7e4dch (517340) map
I (393) esp_image: segment 3: paddr=000ae504 vaddr=40804f2c size=0f5d8h ( 62936) load
I (427) esp_image: segment 4: paddr=000bdae4 vaddr=40814510 size=02cbch ( 11452) load
I (435) esp_image: segment 5: paddr=000c07a8 vaddr=50000000 size=00050h ( 80) load
I (437) esp_image: segment 6: paddr=000c0800 vaddr=50000050 size=00008h ( 8) load
I (454) boot: Loaded app from partition at offset 0x10000
I (455) boot: Disabling RNG early entropy source...
I (466) cpu_start: Unicore app
W (2003) clk: 32 kHz clock not found, switching to internal 150 kHz oscillator
I (2027) cpu_start: Pro cpu start user code
I (2028) cpu_start: cpu freq: 96000000 Hz
I (2028) app_init: Application information:
I (2031) app_init: Project name: power_save
I (2036) app_init: App version: 1
I (2040) app_init: Compile time: Nov 14 2024 01:58:49
I (2046) app_init: ELF file SHA256: 441742955...
I (2052) app_init: ESP-IDF: v5.3.1
I (2057) efuse_init: Min chip rev: v0.0
I (2061) efuse_init: Max chip rev: v0.99
I (2066) efuse_init: Chip rev: v0.1
I (2071) heap_init: Initializing. RAM available for dynamic allocation:
I (2079) heap_init: At 40819F90 len 000333F0 (204 KiB): RAM
I (2085) heap_init: At 4084D380 len 00002B60 (10 KiB): RAM
I (2092) spi_flash: detected chip: generic
I (2096) spi_flash: flash io: dio
W (2100) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (2114) sleep: Enable automatic switching of GPIO sleep configuration
I (2121) sleep_clock: System Power, Clock and Reset sleep retention initialization
I (2143) pm: Frequency switching config: CPU_MAX: 96, APB_MAX: 32, APB_MIN: 32, Light sleep: DISABLED
I (2144) coexist: coex firmware version: 4482466
I (2149) main_task: Started on CPU0
I (2152) main_task: Calling app_main()
I (2165) pm: Frequency switching config: CPU_MAX: 96, APB_MAX: 32, APB_MIN: 32, Light sleep: ENABLED
W (2167) BLE_INIT: 32.768kHz XTAL not detected, fall back to main XTAL as Bluetooth sleep clock
I (2175) BLE_INIT: Using main XTAL as clock source
I (2187) BLE_INIT: ble controller commit:[a95ec45]
W (2187) BLE_INIT: BLE modem sleep is enabled
I (2192) BLE_INIT: Modem BLE MAC retention initialization
W (2197) BLE_INIT: Enable light sleep, the wake up source is BLE timer
I (2218) phy: phy_version: 310,2, 8fa9cb4, Jun 5 2024, 14:19:10
I (2236) phy: libbtbb version: a024da6, Jun 5 2024, 14:19:22
I (2237) sleep_clock: Modem Power, Clock and Reset sleep retention initialization
I (2242) NimBLE_BLE_PRPH: BLE Host Task Started
I (2250) NimBLE: Device Address:
I (2250) NimBLE: 74:4d:bd:62:05:5f
I (2253) NimBLE:

I (2257) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (2267) uart: queue free spaces: 8
I (2269) main_task: Returned from app_main()
I (2273) NimBLE: connection established; status=0
I (2279) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (2284) NimBLE: 74:4d:bd:62:05:5f
I (2288) NimBLE: our_id_addr_type=0 our_id_addr=
I (2294) NimBLE: 74:4d:bd:62:05:5f
I (2298) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (2303) NimBLE: 7c:9f:3e:33:b4:97
I (2308) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (2313) NimBLE: 7c:9f:3e:33:b4:97
I (2317) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (2327) NimBLE:

I (2331) NimBLE: advertise complete; reason=0
I (2338) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (2464) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (2516) NimBLE: GAP procedure initiated: stop extended advertising.

I (2523) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (2735) NimBLE: connection established; status=0
I (2736) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (2786) NimBLE: 74:4d:bd:62:05:5f
I (2789) NimBLE: our_id_addr_type=0 our_id_addr=
I (2789) NimBLE: 74:4d:bd:62:05:5f
I (2791) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (2797) NimBLE: 7c:9f:3e:33:b4:97
I (2801) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (2806) NimBLE: 7c:9f:3e:33:b4:97
I (2810) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (2821) NimBLE:

I (2825) NimBLE: advertise complete; reason=0
I (2831) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (2921) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (2974) NimBLE: GAP procedure initiated: stop extended advertising.

I (2977) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (2985) NimBLE: connection established; status=0
I (2989) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (2990) NimBLE: 74:4d:bd:62:05:5f
I (2995) NimBLE: our_id_addr_type=0 our_id_addr=
I (2999) NimBLE: 74:4d:bd:62:05:5f
I (3003) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (3009) NimBLE: 7c:9f:3e:33:b4:97
I (3013) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (3019) NimBLE: 7c:9f:3e:33:b4:97
I (3023) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (3033) NimBLE:

I (3037) NimBLE: advertise complete; reason=0

assert failed: ext_bleprph_advertise main.c:129 (rc == 0)
Core 0 register dump:
MEPC : 0x40800808 RA : 0x4080d7b4 SP : 0x40829110 GP : 0x40814d14
0x40800808: panic_abort at F:/esp/v5.3.1/esp-idf/components/esp_system/panic.c:463
0x4080d7b4: assist_debug_hal_get_sp_bounds at F:/esp/v5.3.1/esp-idf/components/hal/include/hal/assist_debug_hal.h:54
(inlined by) esp_hw_stack_guard_get_bounds at F:/esp/v5.3.1/esp-idf/components/esp_system/hw_stack_guard.c:76

TP : 0x408293e0 T0 : 0x37363534 T1 : 0x7271706f T2 : 0x33323130
S0/FP : 0x0000008e S1 : 0x00000001 A0 : 0x4082914c A1 : 0x408164e5
A2 : 0x00000001 A3 : 0x00000029 A4 : 0x00000001 A5 : 0x40818000
A6 : 0x0000000c A7 : 0x76757473 S2 : 0x00000009 S3 : 0x40829259
S4 : 0x408164e4 S5 : 0x00000000 S6 : 0x00000000 S7 : 0x00000000
S8 : 0x00000000 S9 : 0x00000000 S10 : 0x00000000 S11 : 0x00000000
T3 : 0x6e6d6c6b T4 : 0x6a696867 T5 : 0x66656463 T6 : 0x62613938
MSTATUS : 0x00001881 MTVEC : 0x40800001 MCAUSE : 0x00000007 MTVAL : 0x00000000
0x40800001: _vector_table at F:/esp/v5.3.1/esp-idf/components/riscv/vectors_intc.S:54

MHARTID : 0x00000000

Stack memory:
40829110: 0x408291f0 0x00000000 0x4208d250 0x4081347e 0x408164cc 0x4208d250 0x40815e40 0x42083970
0x4081347e: newlib_include_assert_impl at F:/esp/v5.3.1/esp-idf/components/newlib/assert.c:92

40829130: 0x408164dc 0x40829144 0x408164e0 0x42083960 0x408164e4 0x00393231 0x408282c8 0x65737361
40829150: 0x66207472 0x656c6961 0x65203a64 0x625f7478 0x7270656c 0x615f6870 0x72657664 0x65736974
40829170: 0x69616d20 0x3a632e6e 0x20393231 0x20637228 0x30203d3d 0x00000029 0x40828378 0x4080e234
0x4080e234: prvCopyDataToQueue at F:/esp/v5.3.1/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:2470

40829190: 0x00000000 0x00000000 0x40828378 0x4080e864 0x408291f4 0x00002036 0x0000020c 0x00000000
0x4080e864: xQueueGenericSend at F:/esp/v5.3.1/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:1057

408291b0: 0x00000019 0x00002036 0x00000000 0x4201ea94 0x0000020c 0x408291f0 0x00000001 0x00000000
0x4201ea94: ble_hs_hci_cmd_tx at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs_hci.c:361

408291d0: 0x0000020c 0x408293e8 0x40828378 0x4080ea26 0x00000000 0x40829244 0x408201e0 0x408036b4
0x4080ea26: xQueueGiveMutexRecursive at F:/esp/v5.3.1/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:796
0x408036b4: npl_freertos_mutex_release at F:/esp/v5.3.1/esp-idf/components/bt/porting/npl/freertos/src/npl_os_freertos.c:470 (discriminator 1)

408291f0: 0x00000000 0x40829244 0x00000000 0x42012c3a 0x00000000 0x00000000 0x01020001 0x42012c56
0x42012c3a: ble_hs_unlock_nested at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:209
0x42012c56: ble_hs_unlock at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:240

40829210: 0x00000000 0x00000000 0x00000000 0x42000000 0x00000012 0x00000000 0x00000000 0x00000000
40829230: 0x00000012 0x408241a6 0x408292ec 0x4200e480 0x00000000 0x00000001 0x00000030 0x00000030
0x4200e480: ext_bleprph_advertise at F:/Embedded/ESP32/power_save/main/main.c:135 (discriminator 1)

40829250: 0x00000000 0x00000000 0x02010000 0x00000100 0x4208376c 0x00000000 0x408292ec 0x4200e8e2
0x4200e8e2: bleprph_gap_event at F:/Embedded/ESP32/power_save/main/main.c:345

40829270: 0x408292cc 0x00002016 0x00000000 0x00000000 0x408292e8 0x408293e8 0x40828378 0x4080ea26
0x4080ea26: xQueueGiveMutexRecursive at F:/esp/v5.3.1/esp-idf/components/freertos/FreeRTOS-Kernel/queue.c:796

40829290: 0x408292e8 0x408292e4 0x408201e0 0x408036b4 0x40818931 0x408292e4 0x00000000 0x42012c3a
0x408036b4: npl_freertos_mutex_release at F:/esp/v5.3.1/esp-idf/components/bt/porting/npl/freertos/src/npl_os_freertos.c:470 (discriminator 1)
0x42012c3a: ble_hs_unlock_nested at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:209

408292b0: 0x40818931 0x40819a60 0x40818918 0x42012c56 0x00000000 0x00000000 0x00000000 0x42018446
0x42012c56: ble_hs_unlock at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:240
0x42018446: ble_gap_slave_extract_cb at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_gap.c:1013

408292d0: 0x00000012 0x408241a6 0x00000000 0x420187ba 0x00000000 0x00000000 0x4200e5d0 0x00000009
0x420187ba: ble_gap_adv_finished at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_gap.c:1038
0x4200e5d0: bleprph_gap_event at F:/Embedded/ESP32/power_save/main/main.c:280

408292f0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
40829310: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0xb4970101 0x408241a6 0x42019428
0x42019428: ble_gap_rx_adv_set_terminated at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_gap.c:1829

40829330: 0x00000012 0x408241a6 0x408241a6 0x42013aee 0x40818000 0x00000000 0x00000006 0x42013460
0x42013aee: ble_hs_hci_evt_le_adv_set_terminated at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs_hci_evt.c:956
0x42013460: ble_hs_hci_evt_le_meta at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs_hci_evt.c:440

40829350: 0x40818000 0x0000003e 0x408241a4 0x42013fbc 0x40818000 0x408241a4 0x40818868 0x42012b16
0x42013fbc: ble_hs_hci_evt_process at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs_hci_evt.c:1124
0x42012b16: ble_hs_event_rx_hci_ev at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs.c:532

40829370: 0x00000000 0x00000000 0x40818868 0x40802d86 0x00000000 0x00000000 0x40818000 0x40802c6a
0x40802d86: npl_freertos_event_run at F:/esp/v5.3.1/esp-idf/components/bt/porting/npl/freertos/src/npl_os_freertos.c:403
0x40802c6a: nimble_port_run at F:/esp/v5.3.1/esp-idf/components/bt/host/nimble/nimble/porting/nimble/src/nimble_port.c:307

40829390: 0x420837a8 0x00000865 0x00000000 0x4200e276 0x00000000 0x00000000 0x00000000 0x40810ace
0x4200e276: bleprph_host_task at F:/Embedded/ESP32/power_save/main/main.c:534
0x40810ace: vPortTaskWrapper at F:/esp/v5.3.1/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/port.c:258

408293b0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
408293d0: 0x00000000 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x00000150 0x408290c0 0x00000000
408293f0: 0x408176f8 0x408176f8 0x408293e8 0x408176f0 0x00000004 0x40820218 0x40820218 0x408293e8
40829410: 0x00000000 0x00000015 0x408283e4 0x626d696e 0x685f656c 0x0074736f 0x00000000 0x408293e0
40829430: 0x00000015 0x00000000 0x00000000 0x00000000 0x00000000 0x4081aa68 0x4081aad0 0x4081ab38
40829450: 0x00000000 0x00000000 0x00000001 0x00000000 0x00000000 0x00000000 0x420088d2 0x00000000
0x420088d2: esp_cleanup_r at F:/esp/v5.3.1/esp-idf/components/newlib/newlib_init.c:43

40829470: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
40829490: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
408294b0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
408294d0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
408294f0: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000

ELF file SHA256: 441742955

Rebooting...
ESP-ROM:esp32h2-20221101
Build:Nov 1 2022
rst:0xc (SW_CPU),boot:0xc (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x408460e0,len:0x17ac
load:0x4083cad0,len:0xefc
load:0x4083efd0,len:0x2ce4
entry 0x4083cada
I (25) boot: ESP-IDF v5.3.1 2nd stage bootloader
I (26) boot: compile time Nov 14 2024 01:59:05
I (27) boot: chip revision: v0.1
I (28) boot.esp32h2: SPI Speed : 64MHz
I (33) boot.esp32h2: SPI Mode : DIO
I (37) boot.esp32h2: SPI Flash Size : 2MB
I (42) boot: Enabling RNG early entropy source...
I (48) boot: Partition Table:
I (51) boot: ## Label Usage Type ST Offset Length
I (58) 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 (81) boot: End of partition table
I (85) esp_image: segment 0: paddr=00010020 vaddr=42080020 size=1b0c4h (110788) map
I (144) esp_image: segment 1: paddr=0002b0ec vaddr=40800000 size=04f2ch ( 20268) load
I (156) esp_image: segment 2: paddr=00030020 vaddr=42000020 size=7e4dch (517340) map
I (393) esp_image: segment 3: paddr=000ae504 vaddr=40804f2c size=0f5d8h ( 62936) load
I (427) esp_image: segment 4: paddr=000bdae4 vaddr=40814510 size=02cbch ( 11452) load
I (435) esp_image: segment 5: paddr=000c07a8 vaddr=50000000 size=00050h ( 80) load
I (437) esp_image: segment 6: paddr=000c0800 vaddr=50000050 size=00008h ( 8) load
I (454) boot: Loaded app from partition at offset 0x10000
I (455) boot: Disabling RNG early entropy source...
I (466) cpu_start: Unicore app
W (2003) clk: 32 kHz clock not found, switching to internal 150 kHz oscillator
I (2027) cpu_start: Pro cpu start user code
I (2028) cpu_start: cpu freq: 96000000 Hz
I (2028) app_init: Application information:
I (2031) app_init: Project name: power_save
I (2036) app_init: App version: 1
I (2040) app_init: Compile time: Nov 14 2024 01:58:49
I (2046) app_init: ELF file SHA256: 441742955...
I (2052) app_init: ESP-IDF: v5.3.1
I (2057) efuse_init: Min chip rev: v0.0
I (2061) efuse_init: Max chip rev: v0.99
I (2066) efuse_init: Chip rev: v0.1
I (2071) heap_init: Initializing. RAM available for dynamic allocation:
I (2079) heap_init: At 40819F90 len 000333F0 (204 KiB): RAM
I (2085) heap_init: At 4084D380 len 00002B60 (10 KiB): RAM
I (2092) spi_flash: detected chip: generic
I (2096) spi_flash: flash io: dio
W (2100) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (2114) sleep: Enable automatic switching of GPIO sleep configuration
I (2121) sleep_clock: System Power, Clock and Reset sleep retention initialization
I (2143) pm: Frequency switching config: CPU_MAX: 96, APB_MAX: 32, APB_MIN: 32, Light sleep: DISABLED
I (2144) coexist: coex firmware version: 4482466
I (2149) main_task: Started on CPU0
I (2152) main_task: Calling app_main()
I (2165) pm: Frequency switching config: CPU_MAX: 96, APB_MAX: 32, APB_MIN: 32, Light sleep: ENABLED
W (2167) BLE_INIT: 32.768kHz XTAL not detected, fall back to main XTAL as Bluetooth sleep clock
I (2175) BLE_INIT: Using main XTAL as clock source
I (2187) BLE_INIT: ble controller commit:[a95ec45]
W (2187) BLE_INIT: BLE modem sleep is enabled
I (2192) BLE_INIT: Modem BLE MAC retention initialization
W (2197) BLE_INIT: Enable light sleep, the wake up source is BLE timer
I (2216) phy: phy_version: 310,2, 8fa9cb4, Jun 5 2024, 14:19:10
I (2234) phy: libbtbb version: a024da6, Jun 5 2024, 14:19:22
I (2234) sleep_clock: Modem Power, Clock and Reset sleep retention initialization
I (2239) NimBLE_BLE_PRPH: BLE Host Task Started
I (2247) NimBLE: Device Address:
I (2248) NimBLE: 74:4d:bd:62:05:5f
I (2251) NimBLE:

I (2255) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (2265) uart: queue free spaces: 8
I (2266) main_task: Returned from app_main()
I (2314) NimBLE: connection established; status=0
I (2315) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (2365) NimBLE: 74:4d:bd:62:05:5f
I (2366) NimBLE: our_id_addr_type=0 our_id_addr=
I (2367) NimBLE: 74:4d:bd:62:05:5f
I (2369) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (2374) NimBLE: 7c:9f:3e:33:b4:97
I (2378) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (2384) NimBLE: 7c:9f:3e:33:b4:97
I (2388) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (2398) NimBLE:

I (2405) NimBLE: advertise complete; reason=0
I (2409) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (2503) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (2555) NimBLE: GAP procedure initiated: stop extended advertising.

I (2560) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (2614) NimBLE: connection established; status=0
I (2615) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (2665) NimBLE: 74:4d:bd:62:05:5f
I (2666) NimBLE: our_id_addr_type=0 our_id_addr=
I (2667) NimBLE: 74:4d:bd:62:05:5f
I (2669) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (2674) NimBLE: 7c:9f:3e:33:b4:97
I (2678) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (2684) NimBLE: 7c:9f:3e:33:b4:97
I (2690) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (2698) NimBLE:

I (2703) NimBLE: advertise complete; reason=0
I (2711) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (2802) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (2854) NimBLE: GAP procedure initiated: stop extended advertising.

I (2859) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (2911) NimBLE: connection established; status=0
I (2912) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (2962) NimBLE: 74:4d:bd:62:05:5f
I (2963) NimBLE: our_id_addr_type=0 our_id_addr=
I (2963) NimBLE: 74:4d:bd:62:05:5f
I (2965) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (2971) NimBLE: 7c:9f:3e:33:b4:97
I (2975) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (2981) NimBLE: 7c:9f:3e:33:b4:97
I (2985) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (2995) NimBLE:

I (3001) NimBLE: advertise complete; reason=0
I (3005) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (3097) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (3149) NimBLE: GAP procedure initiated: stop extended advertising.

I (3156) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (3245) NimBLE: connection established; status=0
I (3246) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (3296) NimBLE: 74:4d:bd:62:05:5f
I (3299) NimBLE: our_id_addr_type=0 our_id_addr=
I (3300) NimBLE: 74:4d:bd:62:05:5f
I (3301) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (3307) NimBLE: 7c:9f:3e:33:b4:97
I (3311) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (3317) NimBLE: 7c:9f:3e:33:b4:97
I (3321) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (3331) NimBLE:

I (3338) NimBLE: advertise complete; reason=0
I (3342) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (3431) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (3483) NimBLE: GAP procedure initiated: stop extended advertising.

I (3487) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (3542) NimBLE: connection established; status=0
I (3543) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (3593) NimBLE: 74:4d:bd:62:05:5f
I (3594) NimBLE: our_id_addr_type=0 our_id_addr=
I (3595) NimBLE: 74:4d:bd:62:05:5f
I (3597) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (3602) NimBLE: 7c:9f:3e:33:b4:97
I (3607) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (3612) NimBLE: 7c:9f:3e:33:b4:97
I (3616) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (3626) NimBLE:

I (3631) NimBLE: advertise complete; reason=0
I (3639) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (3733) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (3785) NimBLE: GAP procedure initiated: stop extended advertising.

I (3790) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (3841) NimBLE: connection established; status=0
I (3842) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (3892) NimBLE: 74:4d:bd:62:05:5f
I (3893) NimBLE: our_id_addr_type=0 our_id_addr=
I (3893) NimBLE: 74:4d:bd:62:05:5f
I (3895) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (3901) NimBLE: 7c:9f:3e:33:b4:97
I (3905) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (3911) NimBLE: 7c:9f:3e:33:b4:97
I (3915) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (3925) NimBLE:

I (3931) NimBLE: advertise complete; reason=0
I (3935) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (4024) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (4076) NimBLE: GAP procedure initiated: stop extended advertising.

I (4081) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (4170) NimBLE: connection established; status=0
I (4172) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (4222) NimBLE: 74:4d:bd:62:05:5f
I (4223) NimBLE: our_id_addr_type=0 our_id_addr=
I (4223) NimBLE: 74:4d:bd:62:05:5f
I (4225) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (4231) NimBLE: 7c:9f:3e:33:b4:97
I (4235) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (4240) NimBLE: 7c:9f:3e:33:b4:97
I (4244) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (4255) NimBLE:

I (4260) NimBLE: advertise complete; reason=0
I (4267) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (4363) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (4415) NimBLE: GAP procedure initiated: stop extended advertising.

I (4420) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (4473) NimBLE: connection established; status=0
I (4474) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (4524) NimBLE: 74:4d:bd:62:05:5f
I (4525) NimBLE: our_id_addr_type=0 our_id_addr=
I (4526) NimBLE: 74:4d:bd:62:05:5f
I (4528) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (4533) NimBLE: 7c:9f:3e:33:b4:97
I (4537) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (4543) NimBLE: 7c:9f:3e:33:b4:97
I (4549) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (4557) NimBLE:

I (4562) NimBLE: advertise complete; reason=0
I (4567) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (4662) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (4714) NimBLE: GAP procedure initiated: stop extended advertising.

I (4720) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (4773) NimBLE: connection established; status=0
I (4774) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (4824) NimBLE: 74:4d:bd:62:05:5f
I (4825) NimBLE: our_id_addr_type=0 our_id_addr=
I (4825) NimBLE: 74:4d:bd:62:05:5f
I (4827) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (4833) NimBLE: 7c:9f:3e:33:b4:97
I (4837) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (4843) NimBLE: 7c:9f:3e:33:b4:97
I (4847) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (4857) NimBLE:

I (4863) NimBLE: advertise complete; reason=0
I (4867) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (4955) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (5007) NimBLE: GAP procedure initiated: stop extended advertising.

I (5012) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (5099) NimBLE: connection established; status=0
I (5101) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (5151) NimBLE: 74:4d:bd:62:05:5f
I (5152) NimBLE: our_id_addr_type=0 our_id_addr=
I (5152) NimBLE: 74:4d:bd:62:05:5f
I (5154) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (5160) NimBLE: 7c:9f:3e:33:b4:97
I (5164) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (5169) NimBLE: 7c:9f:3e:33:b4:97
I (5173) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (5184) NimBLE:

I (5190) NimBLE: advertise complete; reason=0
I (5194) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (5289) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (5342) NimBLE: GAP procedure initiated: stop extended advertising.

I (5347) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (5396) NimBLE: connection established; status=0
I (5397) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (5447) NimBLE: 74:4d:bd:62:05:5f
I (5448) NimBLE: our_id_addr_type=0 our_id_addr=
I (5449) NimBLE: 74:4d:bd:62:05:5f
I (5451) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (5456) NimBLE: 7c:9f:3e:33:b4:97
I (5460) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (5466) NimBLE: 7c:9f:3e:33:b4:97
I (5470) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (5480) NimBLE:

I (5485) NimBLE: advertise complete; reason=0
I (5490) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (5586) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (5638) NimBLE: GAP procedure initiated: stop extended advertising.

I (5643) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (5970) NimBLE: connection established; status=0
I (5973) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (6023) NimBLE: 74:4d:bd:62:05:5f
I (6024) NimBLE: our_id_addr_type=0 our_id_addr=
I (6024) NimBLE: 74:4d:bd:62:05:5f
I (6026) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (6033) NimBLE: 7c:9f:3e:33:b4:97
I (6040) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (6042) NimBLE: 7c:9f:3e:33:b4:97
I (6046) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (6056) NimBLE:

I (6062) NimBLE: advertise complete; reason=0
I (6067) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (6106) NimBLE: mtu update event; conn_handle=0 cid=4 mtu=256

@Shreeyash-17
Copy link

@Tnze I have added print statements to help identify the cause of the crash, and I’m sharing a patch below. Please apply this patch and share the log with us. Let me know the results after doing this.

path you need to use while applying patch is :
esp-idf/components/bt/host/nimble/nimble

patch.txt

@Tnze
Copy link
Author

Tnze commented Nov 14, 2024

@Tnze I have added print statements to help identify the cause of the crash, and I’m sharing a patch below. Please apply this patch and share the log with us. Let me know the results after doing this.

path you need to use while applying patch is : esp-idf/components/bt/host/nimble/nimble

patch.txt

@Shreeyash-17 Your patch cannot be applied even by hand because file nimble/host/src/ble_gap.c doesn't have a function named ble_gap_ext_adv_params_tx_v1.

https://github.com/espressif/esp-nimble/blob/2cf7edde63866f5663bbcdfb8776cf29c0809456/nimble/host/src/ble_gap.c

@Shreeyash-17
Copy link

@Tnze The previous patch I shared was not compatible with version 5.3.1. I am sending a new patch—please apply this one and share the log and results with us.

Path : esp-idf/ components/bt/host/nimble/nimble :
ble_gap_nimble.txt
Path : esp-idf :
power_save.txt

@Tnze
Copy link
Author

Tnze commented Nov 14, 2024

I have patched my codebase. I tested it twice. During the first test, due to setting too few Scrollback lines on the terminal, the previous logs were flushed out, so I tested again for the second time. I saw Failed rc!=0 in both logs.

Log1
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (18408) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (18419) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (18423) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (18512) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (18524) NimBLE: connection established; status=0
I (18530) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (18531) NimBLE: 74:4d:bd:62:05:5f
I (18534) NimBLE: our_id_addr_type=0 our_id_addr=
I (18540) NimBLE: 74:4d:bd:62:05:5f
I (18544) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (18551) NimBLE: 46:62:1e:cc:75:f1
I (18554) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (18560) NimBLE: 46:62:1e:cc:75:f1
I (18564) NimBLE: conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (18574) NimBLE:

I (18579) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (18672) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (18684) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (18686) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (18776) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (18788) NimBLE: connection established; status=0
I (18792) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (18794) NimBLE: 74:4d:bd:62:05:5f
I (18798) NimBLE: our_id_addr_type=0 our_id_addr=
I (18804) NimBLE: 74:4d:bd:62:05:5f
I (18808) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (18814) NimBLE: 46:62:1e:cc:75:f1
I (18818) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (18825) NimBLE: 46:62:1e:cc:75:f1
I (18828) NimBLE: conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (18838) NimBLE:

I (18842) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (18936) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (18947) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (18949) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (19040) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (19052) NimBLE: connection established; status=0
I (19056) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (19058) NimBLE: 74:4d:bd:62:05:5f
I (19062) NimBLE: our_id_addr_type=0 our_id_addr=
I (19068) NimBLE: 74:4d:bd:62:05:5f
I (19072) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (19078) NimBLE: 46:62:1e:cc:75:f1
I (19082) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (19088) NimBLE: 46:62:1e:cc:75:f1
I (19096) NimBLE: conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (19103) NimBLE:

I (19107) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (19200) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (19212) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (19213) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_paE (19257) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:
E (19257) task_wdt: - IDLE (CPU 0)
E (19257) task_wdt: Tasks currently running:
E (19257) task_wdt: CPU 0: nimble_host
E (19257) task_wdt: Print CPU 0 (current core) backtrace
Print CPU 0 (current core) registers
Core 0 register dump:
MEPC : 0x42009484 RA : 0x4200a570 SP : 0x40828da0 GP : 0x40814d14
0x42009484: uart_tx_char at F:/esp/v5.3.1/esp-idf/components/esp_driver_uart/src/uart_vfs.c:170 (discriminator 1)
0x4200a570: uart_write at F:/esp/v5.3.1/esp-idf/components/esp_driver_uart/src/uart_vfs.c:215 (discriminator 2)

TP : 0x408293e0 T0 : 0x40011128 T1 : 0x40828f6c T2 : 0x00000000
0x40011128: __retarget_lock_acquire_recursive in ROM

S0/FP : 0x00000012 S1 : 0x00000000 A0 : 0x00000000 A1 : 0x00000072
A2 : 0x00000004 A3 : 0x60000000 A4 : 0x00000001 A5 : 0x00000001
A6 : 0x4200a4fc A7 : 0x0000000a S2 : 0x00000072 S3 : 0x00000059
0x4200a4fc: uart_write at F:/esp/v5.3.1/esp-idf/components/esp_driver_uart/src/uart_vfs.c:207

S4 : 0x4081c190 S5 : 0x40828f60 S6 : 0x42084a40 S7 : 0x00000000
S8 : 0x00000001 S9 : 0x00000064 S10 : 0x00000038 S11 : 0x00000002
T3 : 0x00000000 T4 : 0x00000103 T5 : 0x00000000 T6 : 0x00000000
MSTATUS : 0x00000039 MTVEC : 0x0000000a MCAUSE : 0x00000058 MTVAL : 0x7200a530
MHARTID : 0x0000004d
rams_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (19451) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (19463) NimBLE: connection established; status=0
I (19467) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (19469) NimBLE: 74:4d:bd:62:05:5f
I (19473) NimBLE: our_id_addr_type=0 our_id_addr=
I (19479) NimBLE: 74:4d:bd:62:05:5f
I (19483) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (19489) NimBLE: 46:62:1e:cc:75:f1
I (19495) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (19501) NimBLE: 46:62:1e:cc:75:f1
I (19503) NimBLE: conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (19513) NimBLE:

I (19517) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (19611) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (19623) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (19627) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (19716) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (19727) NimBLE: connection established; status=0
I (19731) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (19734) NimBLE: 74:4d:bd:62:05:5f
I (19738) NimBLE: our_id_addr_type=0 our_id_addr=
I (19743) NimBLE: 74:4d:bd:62:05:5f
I (19747) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (19753) NimBLE: 46:62:1e:cc:75:f1
I (19757) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (19765) NimBLE: 46:62:1e:cc:75:f1
I (19767) NimBLE: conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (19777) NimBLE:

I (19784) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (19876) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (19887) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (19890) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (19980) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (19991) NimBLE: connection established; status=0
I (19995) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (19998) NimBLE: 74:4d:bd:62:05:5f
I (20002) NimBLE: our_id_addr_type=0 our_id_addr=
I (20007) NimBLE: 74:4d:bd:62:05:5f
I (20011) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (20017) NimBLE: 46:62:1e:cc:75:f1
I (20022) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (20027) NimBLE: 46:62:1e:cc:75:f1
I (20031) NimBLE: conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (20042) NimBLE:

I (20045) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 524
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 524
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 524
Failed rc!=0I (20140) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (20147) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (20154) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (20245) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (20840) NimBLE: connection established; status=0
I (20842) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (20892) NimBLE: 74:4d:bd:62:05:5f
I (20893) NimBLE: our_id_addr_type=0 our_id_addr=
I (20893) NimBLE: 74:4d:bd:62:05:5f
I (20896) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (20902) NimBLE: 46:62:1e:cc:75:f1
I (20906) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (20911) NimBLE: 46:62:1e:cc:75:f1
I (20915) NimBLE: conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (20927) NimBLE:

I (20930) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (21023) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (21035) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (21039) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (21128) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (21183) NimBLE: connection established; status=0
I (21185) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (21235) NimBLE: 74:4d:bd:62:05:5f
I (21236) NimBLE: our_id_addr_type=0 our_id_addr=
I (21236) NimBLE: 74:4d:bd:62:05:5f
I (21238) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (21244) NimBLE: 46:62:1e:cc:75:f1
I (21248) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (21254) NimBLE: 46:62:1e:cc:75:f1
I (21258) NimBLE: conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (21269) NimBLE:

I (21273) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (21366) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (21995) NimBLE: disconnect; reason=520
I (21996) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (22046) NimBLE: 74:4d:bd:62:05:5f
I (22047) NimBLE: our_id_addr_type=0 our_id_addr=
I (22050) NimBLE: 74:4d:bd:62:05:5f
I (22050) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (22056) NimBLE: 46:62:1e:cc:75:f1
I (22060) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (22065) NimBLE: 46:62:1e:cc:75:f1
I (22069) NimBLE: conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (22080) NimBLE:

I (22296) NimBLE: connection established; status=0
I (22297) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (22347) NimBLE: 74:4d:bd:62:05:5f
I (22348) NimBLE: our_id_addr_type=0 our_id_addr=
I (22349) NimBLE: 74:4d:bd:62:05:5f
I (22351) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (22357) NimBLE: 46:62:1e:cc:75:f1
I (22362) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (22366) NimBLE: 46:62:1e:cc:75:f1
I (22371) NimBLE: conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (22381) NimBLE:

I (22386) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (22478) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (22490) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (22494) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (22583) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (22898) NimBLE: connection established; status=0
I (22899) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (22949) NimBLE: 74:4d:bd:62:05:5f
I (22950) NimBLE: our_id_addr_type=0 our_id_addr=
I (22951) NimBLE: 74:4d:bd:62:05:5f
I (22953) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (22959) NimBLE: 46:62:1e:cc:75:f1
I (22964) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (22968) NimBLE: 46:62:1e:cc:75:f1
I (22973) NimBLE: conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (22983) NimBLE:

I (22987) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (23080) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (23092) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (23096) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (23185) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (24122) NimBLE: connection established; status=0
I (24123) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (24173) NimBLE: 74:4d:bd:62:05:5f
I (24174) NimBLE: our_id_addr_type=0 our_id_addr=
I (24175) NimBLE: 74:4d:bd:62:05:5f
I (24177) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (24185) NimBLE: 46:62:1e:cc:75:f1
I (24187) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (24193) NimBLE: 46:62:1e:cc:75:f1
I (24197) NimBLE: conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (24207) NimBLE:

I (24212) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (24304) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (24316) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (24320) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (24409) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (24500) NimBLE: connection established; status=0
I (24501) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (24551) NimBLE: 74:4d:bd:62:05:5f
I (24552) NimBLE: our_id_addr_type=0 our_id_addr=
I (24553) NimBLE: 74:4d:bd:62:05:5f
I (24556) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (24561) NimBLE: 46:62:1e:cc:75:f1
I (24565) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (24570) NimBLE: 46:62:1e:cc:75:f1
I (24575) NimBLE: conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (24585) NimBLE:

I (24591) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (24682) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (24694) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (24698) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (24787) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (24845) NimBLE: connection established; status=0
I (24848) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (24900) NimBLE: 74:4d:bd:62:05:5f
I (24901) NimBLE: our_id_addr_type=0 our_id_addr=
I (24901) NimBLE: 74:4d:bd:62:05:5f
I (24903) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (24909) NimBLE: 46:62:1e:cc:75:f1
I (24913) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (24919) NimBLE: 46:62:1e:cc:75:f1
I (24923) NimBLE: conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (24935) NimBLE:

I (24938) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (25031) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (25043) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (25047) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (25136) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (25229) NimBLE: connection established; status=0
I (25230) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (25282) NimBLE: 74:4d:bd:62:05:5f
I (25283) NimBLE: our_id_addr_type=0 our_id_addr=
I (25283) NimBLE: 74:4d:bd:62:05:5f
I (25285) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (25291) NimBLE: 46:62:1e:cc:75:f1
I (25295) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (25301) NimBLE: 46:62:1e:cc:75:f1
I (25305) NimBLE: conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (25315) NimBLE:

I (25320) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (25413) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (25425) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (25429) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (25518) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (25569) NimBLE: connection established; status=0
I (25571) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (25621) NimBLE: 74:4d:bd:62:05:5f
I (25622) NimBLE: our_id_addr_type=0 our_id_addr=
I (25622) NimBLE: 74:4d:bd:62:05:5f
I (25626) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (25630) NimBLE: 46:62:1e:cc:75:f1
I (25634) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (25640) NimBLE: 46:62:1e:cc:75:f1
I (25644) NimBLE: conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (25654) NimBLE:

I (25659) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (25752) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (25764) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (25770) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (25857) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (25870) NimBLE: connection established; status=0
I (25874) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (25875) NimBLE: 74:4d:bd:62:05:5f
I (25881) NimBLE: our_id_addr_type=0 our_id_addr=
I (25884) NimBLE: 74:4d:bd:62:05:5f
I (25889) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (25894) NimBLE: 46:62:1e:cc:75:f1
I (25898) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (25904) NimBLE: 46:62:1e:cc:75:f1
I (25908) NimBLE: conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (25919) NimBLE:

I (25923) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 524
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 524
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 524
Failed rc!=0I (26017) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (26024) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (26031) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (26122) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (26175) NimBLE: connection established; status=0
I (26177) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (26227) NimBLE: 74:4d:bd:62:05:5f
I (26228) NimBLE: our_id_addr_type=0 our_id_addr=
I (26228) NimBLE: 74:4d:bd:62:05:5f
I (26230) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (26236) NimBLE: 46:62:1e:cc:75:f1
I (26240) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (26246) NimBLE: 46:62:1e:cc:75:f1
I (26250) NimBLE: conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (26261) NimBLE:

I (26265) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (26358) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (26370) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (26374) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (26463) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (26557) NimBLE: connection established; status=0
I (26558) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (26608) NimBLE: 74:4d:bd:62:05:5f
I (26609) NimBLE: our_id_addr_type=0 our_id_addr=
I (26610) NimBLE: 74:4d:bd:62:05:5f
I (26612) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (26618) NimBLE: 46:62:1e:cc:75:f1
I (26623) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (26627) NimBLE: 46:62:1e:cc:75:f1
I (26632) NimBLE: conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (26642) NimBLE:

I (26647) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (26739) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (26751) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (26755) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (26844) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (26937) NimBLE: connection established; status=0
I (26938) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (26988) NimBLE: 74:4d:bd:62:05:5f
I (26989) NimBLE: our_id_addr_type=0 our_id_addr=
I (26990) NimBLE: 74:4d:bd:62:05:5f
I (26992) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (26998) NimBLE: 46:62:1e:cc:75:f1
I (27002) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (27008) NimBLE: 46:62:1e:cc:75:f1
I (27012) NimBLE: conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (27022) NimBLE:

I (27027) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (27119) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (27131) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (27135) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (27224) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (27283) NimBLE: connection established; status=0
I (27284) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (27334) NimBLE: 74:4d:bd:62:05:5f
I (27335) NimBLE: our_id_addr_type=0 our_id_addr=
I (27336) NimBLE: 74:4d:bd:62:05:5f
I (27338) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (27344) NimBLE: 46:62:1e:cc:75:f1
I (27349) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (27353) NimBLE: 46:62:1e:cc:75:f1
I (27358) NimBLE: conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (27368) NimBLE:

I (27373) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (27466) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (27477) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (27481) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (27570) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (27625) NimBLE: connection established; status=0
I (27626) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (27676) NimBLE: 74:4d:bd:62:05:5f
I (27677) NimBLE: our_id_addr_type=0 our_id_addr=
I (27678) NimBLE: 74:4d:bd:62:05:5f
I (27680) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (27686) NimBLE: 46:62:1e:cc:75:f1
I (27690) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (27696) NimBLE: 46:62:1e:cc:75:f1
I (27700) NimBLE: conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

Log2
--- WARNING: GDB cannot open serial ports accessed as COMx
--- Using \\.\COM20 instead...
--- esp-idf-monitor 1.4.0 on \\.\COM20 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ESP-ROM:esp32h2-20221101
Build:Nov  1 2022
rst:0x1 (POWERON),boot:0xc (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x408460e0,len:0x17ac
load:0x4083cad0,len:0xefc
load:0x4083efd0,len:0x2ce4
entry 0x4083cada
I (23) boot: ESP-IDF v5.3.1 2nd stage bootloader
I (24) boot: compile time Nov 14 2024 01:59:05
I (25) boot: chip revision: v0.1
I (27) boot.esp32h2: SPI Speed      : 64MHz
I (31) boot.esp32h2: SPI Mode       : DIO
I (36) boot.esp32h2: SPI Flash Size : 2MB
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 nvs              WiFi data        01 02 00009000 00006000
I (64) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (72) boot:  2 factory          factory app      00 00 00010000 00100000
I (80) boot: End of partition table
I (84) esp_image: segment 0: paddr=00010020 vaddr=42080020 size=1b4cch (111820) map
I (127) esp_image: segment 1: paddr=0002b4f4 vaddr=40800000 size=04b24h ( 19236) load
I (134) esp_image: segment 2: paddr=00030020 vaddr=42000020 size=7e6e8h (517864) map
I (295) esp_image: segment 3: paddr=000ae710 vaddr=40804b24 size=0f9e0h ( 63968) load
I (318) esp_image: segment 4: paddr=000be0f8 vaddr=40814510 size=02cbch ( 11452) load
I (323) esp_image: segment 5: paddr=000c0dbc vaddr=50000000 size=00050h (    80) load
I (324) esp_image: segment 6: paddr=000c0e14 vaddr=50000050 size=00008h (     8) load
I (339) boot: Loaded app from partition at offset 0x10000
I (339) boot: Disabling RNG early entropy source...
I (356) cpu_start: Unicore app
W (1892) clk: 32 kHz clock not found, switching to internal 150 kHz oscillator
I (1916) cpu_start: Pro cpu start user code
I (1916) cpu_start: cpu freq: 96000000 Hz
I (1917) app_init: Application information:
I (1919) app_init: Project name:     power_save
I (1924) app_init: App version:      1
I (1929) app_init: Compile time:     Nov 14 2024 01:58:49
I (1935) app_init: ELF file SHA256:  4390739e8...
I (1940) app_init: ESP-IDF:          v5.3.1
I (1945) efuse_init: Min chip rev:     v0.0
I (1950) efuse_init: Max chip rev:     v0.99 
I (1955) efuse_init: Chip rev:         v0.1
I (1960) heap_init: Initializing. RAM available for dynamic allocation:
I (1967) heap_init: At 40819F90 len 000333F0 (204 KiB): RAM
I (1973) heap_init: At 4084D380 len 00002B60 (10 KiB): RAM
I (1981) spi_flash: detected chip: generic
I (1984) spi_flash: flash io: dio
W (1988) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (2002) sleep: Enable automatic switching of GPIO sleep configuration
I (2009) sleep_clock: System Power, Clock and Reset sleep retention initialization
I (2031) pm: Frequency switching config: CPU_MAX: 96, APB_MAX: 32, APB_MIN: 32, Light sleep: DISABLED
I (2032) coexist: coex firmware version: 4482466
I (2037) main_task: Started on CPU0
I (2040) main_task: Calling app_main()
I (2053) pm: Frequency switching config: CPU_MAX: 96, APB_MAX: 32, APB_MIN: 32, Light sleep: ENABLED
W (2055) BLE_INIT: 32.768kHz XTAL not detected, fall back to main XTAL as Bluetooth sleep clock
I (2063) BLE_INIT: Using main XTAL as clock source
I (2075) BLE_INIT: ble controller commit:[a95ec45]
W (2075) BLE_INIT: BLE modem sleep is enabled
I (2080) BLE_INIT: Modem BLE MAC retention initialization
W (2085) BLE_INIT: Enable light sleep, the wake up source is BLE timer
I (2104) phy: phy_version: 310,2, 8fa9cb4, Jun  5 2024, 14:19:10
I (2121) phy: libbtbb version: a024da6, Jun  5 2024, 14:19:22
I (2122) sleep_clock: Modem Power, Clock and Reset sleep retention initialization
I (2127) NimBLE_BLE_PRPH: BLE Host Task Started
I (2135) NimBLE: Device Address: 
I (2136) NimBLE: 74:4d:bd:62:05:5f
I (2138) NimBLE: 

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (2230) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (2241) uart: queue free spaces: 8
I (2243) main_task: Returned from app_main()
I (8177) NimBLE: connection established; status=0
I (8178) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (8228) NimBLE: 74:4d:bd:62:05:5f
I (8229) NimBLE: our_id_addr_type=0 our_id_addr=
I (8230) NimBLE: 74:4d:bd:62:05:5f
I (8232) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (8237) NimBLE: 46:62:1e:cc:75:f1
I (8243) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (8247) NimBLE: 46:62:1e:cc:75:f1
I (8251) NimBLE: conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (8263) NimBLE:

I (8265) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (8359) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (8375) NimBLE: mtu update event; conn_handle=0 cid=4 mtu=256

I (14559) NimBLE: disconnect; reason=531
I (14560) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (14610) NimBLE: 74:4d:bd:62:05:5f
I (14611) NimBLE: our_id_addr_type=0 our_id_addr=
I (14611) NimBLE: 74:4d:bd:62:05:5f
I (14615) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (14621) NimBLE: 46:62:1e:cc:75:f1
I (14624) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (14629) NimBLE: 46:62:1e:cc:75:f1
I (14633) NimBLE: conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (14644) NimBLE:

I (15860) NimBLE: connection established; status=0
I (15861) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (15911) NimBLE: 74:4d:bd:62:05:5f
I (15912) NimBLE: our_id_addr_type=0 our_id_addr=
I (15913) NimBLE: 74:4d:bd:62:05:5f
I (15916) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (15921) NimBLE: 46:62:1e:cc:75:f1
I (15925) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (15930) NimBLE: 46:62:1e:cc:75:f1
I (15935) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (15946) NimBLE:

I (15949) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (16043) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (16054) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (16060) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (16149) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (16159) NimBLE: connection established; status=0
I (16162) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (16165) NimBLE: 74:4d:bd:62:05:5f
I (16169) NimBLE: our_id_addr_type=0 our_id_addr=
I (16175) NimBLE: 74:4d:bd:62:05:5f
I (16179) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (16185) NimBLE: 46:62:1e:cc:75:f1
I (16189) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (16195) NimBLE: 46:62:1e:cc:75:f1
I (16199) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (16209) NimBLE:

I (16216) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (16308) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (16319) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (16323) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (16411) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (16422) NimBLE: connection established; status=0
I (16424) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (16429) NimBLE: 74:4d:bd:62:05:5f
I (16433) NimBLE: our_id_addr_type=0 our_id_addr=
I (16439) NimBLE: 74:4d:bd:62:05:5f
I (16443) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (16450) NimBLE: 46:62:1e:cc:75:f1
I (16454) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (16460) NimBLE: 46:62:1e:cc:75:f1
I (16463) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (16473) NimBLE:

I (16477) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (16571) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (16583) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (16588) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (16677) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (16687) NimBLE: connection established; status=0
I (16691) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (16693) NimBLE: 74:4d:bd:62:05:5f
I (16697) NimBLE: our_id_addr_type=0 our_id_addr=
I (16703) NimBLE: 74:4d:bd:62:05:5f
I (16707) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (16713) NimBLE: 46:62:1e:cc:75:f1
I (16718) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (16726) NimBLE: 46:62:1e:cc:75:f1
I (16727) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (16737) NimBLE:

I (16742) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (16837) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (16846) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (16849) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (16940) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (16951) NimBLE: connection established; status=0
I (16955) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (16958) NimBLE: 74:4d:bd:62:05:5f
I (16962) NimBLE: our_id_addr_type=0 our_id_addr=
I (16967) NimBLE: 74:4d:bd:62:05:5f
I (16971) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (16977) NimBLE: 46:62:1e:cc:75:f1
I (16981) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (16988) NimBLE: 46:62:1e:cc:75:f1
I (16991) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (17002) NimBLE:

I (17006) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (17099) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (17111) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (17112) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (17204) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (17215) NimBLE: connection established; status=0
I (17219) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (17222) NimBLE: 74:4d:bd:62:05:5f
I (17226) NimBLE: our_id_addr_type=0 our_id_addr=
I (17231) NimBLE: 74:4d:bd:62:05:5f
I (17235) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (17241) NimBLE: 46:62:1e:cc:75:f1
I (17245) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (17253) NimBLE: 46:62:1e:cc:75:f1
I (17255) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (17267) NimBLE:

I (17270) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (17364) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (17375) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (17378) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (17468) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (17479) NimBLE: connection established; status=0
I (17483) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (17486) NimBLE: 74:4d:bd:62:05:5f
I (17490) NimBLE: our_id_addr_type=0 our_id_addr=
I (17495) NimBLE: 74:4d:bd:62:05:5f
I (17499) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (17505) NimBLE: 46:62:1e:cc:75:f1
I (17509) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (17515) NimBLE: 46:62:1e:cc:75:f1
I (17524) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (17530) NimBLE:

I (17536) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (17628) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (17640) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (17644) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (17732) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (17744) NimBLE: connection established; status=0
I (17748) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (17750) NimBLE: 74:4d:bd:62:05:5f
I (17754) NimBLE: our_id_addr_type=0 our_id_addr=
I (17759) NimBLE: 74:4d:bd:62:05:5f
I (17764) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (17769) NimBLE: 46:62:1e:cc:75:f1
I (17774) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (17783) NimBLE: 46:62:1e:cc:75:f1
I (17783) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (17794) NimBLE:

I (17800) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (17892) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (17904) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (17908) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (17996) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (18008) NimBLE: connection established; status=0
I (18012) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (18014) NimBLE: 74:4d:bd:62:05:5f
I (18018) NimBLE: our_id_addr_type=0 our_id_addr=
I (18024) NimBLE: 74:4d:bd:62:05:5f
I (18028) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (18034) NimBLE: 46:62:1e:cc:75:f1
I (18038) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (18045) NimBLE: 46:62:1e:cc:75:f1
I (18048) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (18058) NimBLE:

I (18062) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (18158) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (18167) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (18170) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (18260) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (18272) NimBLE: connection established; status=0
I (18276) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (18278) NimBLE: 74:4d:bd:62:05:5f
I (18282) NimBLE: our_id_addr_type=0 our_id_addr=
I (18288) NimBLE: 74:4d:bd:62:05:5f
I (18292) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (18298) NimBLE: 46:62:1e:cc:75:f1
I (18302) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (18308) NimBLE: 46:62:1e:cc:75:f1
I (18314) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (18322) NimBLE:

I (18326) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (18420) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (18432) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (18433) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (18524) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (18536) NimBLE: connection established; status=0
I (18540) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (18542) NimBLE: 74:4d:bd:62:05:5f
I (18546) NimBLE: our_id_addr_type=0 our_id_addr=
I (18552) NimBLE: 74:4d:bd:62:05:5f
I (18556) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (18562) NimBLE: 46:62:1e:cc:75:f1
I (18566) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (18572) NimBLE: 46:62:1e:cc:75:f1
I (18576) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (18587) NimBLE:

I (18591) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (18684) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (18696) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (18699) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (18788) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (18800) NimBLE: connection established; status=0
I (18804) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (18806) NimBLE: 74:4d:bd:62:05:5f
I (18810) NimBLE: our_id_addr_type=0 our_id_addr=
I (18816) NimBLE: 74:4d:bd:62:05:5f
I (18820) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (18826) NimBLE: 46:62:1e:cc:75:f1
I (18830) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (18838) NimBLE: 46:62:1e:cc:75:f1
I (18840) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (18850) NimBLE:

I (18857) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (18948) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (18960) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (18964) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (19053) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (19065) NimBLE: connection established; status=0
I (19069) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (19071) NimBLE: 74:4d:bd:62:05:5f
I (19075) NimBLE: our_id_addr_type=0 our_id_addr=
I (19080) NimBLE: 74:4d:bd:62:05:5f
I (19084) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (19090) NimBLE: 46:62:1e:cc:75:f1
I (19094) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (19100) NimBLE: 46:62:1e:cc:75:f1
I (19104) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (19114) NimBLE:

I (19118) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (19212) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (19225) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (19229) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (19317) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (19328) NimBLE: connection established; status=0
I (19332) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (19335) NimBLE: 74:4d:bd:62:05:5f
I (19339) NimBLE: our_id_addr_type=0 our_id_addr=
I (19344) NimBLE: 74:4d:bd:62:05:5f
I (19348) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (19354) NimBLE: 46:62:1e:cc:75:f1
I (19358) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (19364) NimBLE: 46:62:1e:cc:75:f1
I (19368) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (19379) NimBLE:

I (19382) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (19478) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (19487) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (19491) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (19581) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (19593) NimBLE: connection established; status=0
I (19596) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (19599) NimBLE: 74:4d:bd:62:05:5f
I (19603) NimBLE: our_id_addr_type=0 our_id_addr=
I (19608) NimBLE: 74:4d:bd:62:05:5f
I (19612) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (19618) NimBLE: 46:62:1e:cc:75:f1
I (19622) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (19628) NimBLE: 46:62:1e:cc:75:f1
I (19634) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (19643) NimBLE:

I (19647) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (19741) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (19751) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (19757) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (19845) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (19857) NimBLE: connection established; status=0
I (19861) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (19863) NimBLE: 74:4d:bd:62:05:5f
I (19867) NimBLE: our_id_addr_type=0 our_id_addr=
I (19872) NimBLE: 74:4d:bd:62:05:5f
I (19877) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (19882) NimBLE: 46:62:1e:cc:75:f1
I (19887) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (19892) NimBLE: 46:62:1e:cc:75:f1
I (19899) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (19907) NimBLE:

I (19911) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (20005) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (20016) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (20020) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (20109) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (20121) NimBLE: connection established; status=0
I (20125) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (20127) NimBLE: 74:4d:bd:62:05:5f
I (20131) NimBLE: our_id_addr_type=0 our_id_addr=
I (20137) NimBLE: 74:4d:bd:62:05:5f
I (20141) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (20147) NimBLE: 46:62:1e:cc:75:f1
I (20152) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (20160) NimBLE: 46:62:1e:cc:75:f1
I (20161) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (20171) NimBLE:

I (20177) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (20269) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (20280) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (20284) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (20373) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (20385) NimBLE: connection established; status=0
I (20389) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (20391) NimBLE: 74:4d:bd:62:05:5f
I (20395) NimBLE: our_id_addr_type=0 our_id_addr=
I (20401) NimBLE: 74:4d:bd:62:05:5f
I (20405) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (20411) NimBLE: 46:62:1e:cc:75:f1
I (20415) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (20421) NimBLE: 46:62:1e:cc:75:f1
I (20425) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (20435) NimBLE:

I (20439) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (20533) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (20545) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (20549) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (20637) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (20650) NimBLE: connection established; status=0
I (20652) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (20657) NimBLE: 74:4d:bd:62:05:5f
I (20659) NimBLE: our_id_addr_type=0 our_id_addr=
I (20665) NimBLE: 74:4d:bd:62:05:5f
I (20669) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (20675) NimBLE: 46:62:1e:cc:75:f1
I (20679) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (20685) NimBLE: 46:62:1e:cc:75:f1
I (20690) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (20699) NimBLE:

I (20703) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (20799) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (20808) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (20812) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_paramsE (20854) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:
E (20854) task_wdt: - IDLE (CPU 0)
E (20854) task_wdt: Tasks currently running:
E (20854) task_wdt: CPU 0: nimble_host
E (20854) task_wdt: Print CPU 0 (current core) backtrace
Print CPU 0 (current core) registers
Core 0 register dump:
MEPC : 0x42009474 RA : 0x4200a570 SP : 0x40828da0 GP : 0x40814d14
0x42009474: uart_ll_get_txfifo_len at F:/esp/v5.3.1/esp-idf/components/hal/esp32h2/include/hal/uart_ll.h:439
(inlined by) uart_tx_char at F:/esp/v5.3.1/esp-idf/components/esp_driver_uart/src/uart_vfs.c:170
0x4200a570: uart_write at F:/esp/v5.3.1/esp-idf/components/esp_driver_uart/src/uart_vfs.c:215 (discriminator 2)

TP : 0x408293e0 T0 : 0x40011128 T1 : 0x40828f6c T2 : 0x00000000
0x40011128: __retarget_lock_acquire_recursive in ROM

S0/FP : 0x00000016 S1 : 0x00000000 A0 : 0x00000000 A1 : 0x0000005f
A2 : 0x00000004 A3 : 0x60000000 A4 : 0x00000001 A5 : 0xe07f8000
A6 : 0x4200a4fc A7 : 0x0000000a S2 : 0x0000005f S3 : 0x00000059
0x4200a4fc: uart_write at F:/esp/v5.3.1/esp-idf/components/esp_driver_uart/src/uart_vfs.c:207

S4 : 0x4081c190 S5 : 0x40828f60 S6 : 0x42084a40 S7 : 0x00000000
S8 : 0x00000001 S9 : 0x00000064 S10 : 0x00000038 S11 : 0x00000002
T3 : 0x00000000 T4 : 0x000000ff T5 : 0x00000000 T6 : 0x00000000
MSTATUS : 0x00000039 MTVEC : 0x0000000a MCAUSE : 0x00000058 MTVAL : 0x5f00a530
MHARTID : 0x0000004d
_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (21048) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (21060) NimBLE: connection established; status=0
I (21064) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (21066) NimBLE: 74:4d:bd:62:05:5f
I (21070) NimBLE: our_id_addr_type=0 our_id_addr=
I (21076) NimBLE: 74:4d:bd:62:05:5f
I (21080) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (21086) NimBLE: 46:62:1e:cc:75:f1
I (21090) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (21097) NimBLE: 46:62:1e:cc:75:f1
I (21100) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (21110) NimBLE:

I (21115) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (21208) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (21220) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (21222) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (21313) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (21324) NimBLE: connection established; status=0
I (21328) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (21330) NimBLE: 74:4d:bd:62:05:5f
I (21335) NimBLE: our_id_addr_type=0 our_id_addr=
I (21340) NimBLE: 74:4d:bd:62:05:5f
I (21344) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (21350) NimBLE: 46:62:1e:cc:75:f1
I (21354) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (21362) NimBLE: 46:62:1e:cc:75:f1
I (21365) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (21374) NimBLE:

I (21378) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 524
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 524
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 524
Failed rc!=0I (21477) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (21485) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (21489) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (21580) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (21592) NimBLE: connection established; status=0
I (21593) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (21596) NimBLE: 74:4d:bd:62:05:5f
I (21600) NimBLE: our_id_addr_type=0 our_id_addr=
I (21606) NimBLE: 74:4d:bd:62:05:5f
I (21610) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (21617) NimBLE: 46:62:1e:cc:75:f1
I (21621) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (21627) NimBLE: 46:62:1e:cc:75:f1
I (21630) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (21640) NimBLE:

I (21647) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (21738) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (21750) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (21753) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (21842) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (21854) NimBLE: connection established; status=0
I (21858) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (21860) NimBLE: 74:4d:bd:62:05:5f
I (21864) NimBLE: our_id_addr_type=0 our_id_addr=
I (21870) NimBLE: 74:4d:bd:62:05:5f
I (21874) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (21880) NimBLE: 46:62:1e:cc:75:f1
I (21884) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (21890) NimBLE: 46:62:1e:cc:75:f1
I (21894) NimBLE: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (21904) NimBLE:

I (21908) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 524
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 524
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 524
Failed rc!=0I (22006) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (22010) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (22017) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (22108) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (22773) NimBLE: connection established; status=0
I (22775) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (22825) NimBLE: 74:4d:bd:62:05:5f
I (22826) NimBLE: our_id_addr_type=0 our_id_addr=
I (22826) NimBLE: 74:4d:bd:62:05:5f
I (22828) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (22834) NimBLE: 46:62:1e:cc:75:f1
I (22838) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (22844) NimBLE: 46:62:1e:cc:75:f1
I (22849) NimBLE: conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (22858) NimBLE:

I (22863) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (22956) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (22968) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (22972) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (23061) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (23117) NimBLE: connection established; status=0
I (23119) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (23169) NimBLE: 74:4d:bd:62:05:5f
I (23170) NimBLE: our_id_addr_type=0 our_id_addr=
I (23170) NimBLE: 74:4d:bd:62:05:5f
I (23172) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (23178) NimBLE: 46:62:1e:cc:75:f1
I (23182) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (23188) NimBLE: 46:62:1e:cc:75:f1
I (23192) NimBLE: conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (23203) NimBLE:

I (23207) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (23300) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (23312) NimBLE: Reattempt advertising; reason: 0x3e, status = 0
I (23316) NimBLE: GAP procedure initiated: stop extended advertising.

ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
I (23405) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (24006) NimBLE: connection established; status=0
I (24007) NimBLE: handle=0 our_ota_addr_type=0 our_ota_addr=
I (24057) NimBLE: 74:4d:bd:62:05:5f
I (24058) NimBLE: our_id_addr_type=0 our_id_addr=
I (24059) NimBLE: 74:4d:bd:62:05:5f
I (24061) NimBLE: peer_ota_addr_type=1 peer_ota_addr=
I (24067) NimBLE: 46:62:1e:cc:75:f1
I (24072) NimBLE: peer_id_addr_type=1 peer_id_addr=
I (24077) NimBLE: 46:62:1e:cc:75:f1
I (24081) NimBLE: conn_itvl=21 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0

I (24092) NimBLE:

I (24095) NimBLE: advertise complete; reason=0
ble_gap_ext_adv_configure -> (instance >= BLE_ADV_INSTANCES) :0
ble_gap_ext_adv_configure -> (!ble_hs_is_enabled()) : 0
ble_gap_ext_adv_params_validate -> !params : 0
ble_gap_ext_adv_params_validate -> params->own_addr_type > BLE_HCI_ADV_OWN_ADDR_MAX : 0
ble_gap_ext_adv_params_validate -> params->itvl_min : 48
ble_gap_ext_adv_params_validate -> (params->itvl_max && params->itvl_max > 0xFFFFFF) : 0
ble_gap_ext_adv_params_validate -> (params->connectable && !ble_hs_conn_can_alloc()) : 0
ble_gap_ext_adv_params_validate -> (params->legacy_pdu) : 0
ble_gap_ext_adv_params_validate -> (params->directed) : 0
ble_gap_ext_adv_params_validate -> (!params->legacy_pdu) : 1 , (params->connectable && params->scannable) : 0 , (params->high_duty_directed) : 0
ble_gap_ext_adv_configure -> ble_gap_adv_active_instance() : 0
ble_gap_ext_adv_params_tx -> ble_hs_hci_cmd_tx() : 0
ble_gap_ext_adv_configure -> rc = ble_gap_ext_adv_params_tx() = 0
ext_bleprph_advertise -> ble_gap_ext_adv_configure() : 0
I (24189) NimBLE: GAP procedure initiated: extended advertise; instance=0

I (24205) NimBLE: mtu update event; conn_handle=0 cid=4 mtu=256

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Opened Issue is new Type: Bug bugs in IDF
Projects
None yet
Development

No branches or pull requests

4 participants