Search found 3 matches

by masterq
Fri Feb 23, 2024 9:38 am
Forum: ESP-IDF
Topic: Bledroid BLE Init/Deinit memory leak issue
Replies: 3
Views: 1148

Re: Bledroid BLE Init/Deinit memory leak issue

Ok, I found something. The memory leak only happens if: BTDM_CTRL_BR_EDR_SCO_DATA_PATH_HCI BT_HFP_AUDIO_DATA_PATH_HCI If both options are set the leak appears always. I think there was a special case where the leak did not appear with one of the options enabled. But with both enabled it always appea...
by masterq
Fri Feb 23, 2024 8:48 am
Forum: ESP-IDF
Topic: Bledroid BLE Init/Deinit memory leak issue
Replies: 3
Views: 1148

Re: Bledroid BLE Init/Deinit memory leak issue

I did an incomplete analysis of this... im looping: while(true) { heap_trace_start(HEAP_TRACE_LEAKS); esp_bt_controller_config_t bt_cfg = BT_CONTROLLER_INIT_CONFIG_DEFAULT(); esp_bt_controller_init(&bt_cfg); esp_bt_controller_enable(ESP_BT_MODE_BTDM); esp_bluedroid_init(); esp_bluedroid_enable(); es...
by masterq
Fri Feb 23, 2024 8:22 am
Forum: ESP-IDF
Topic: Bledroid BLE Init/Deinit memory leak issue
Replies: 3
Views: 1148

Re: Bledroid BLE Init/Deinit memory leak issue

Yes have the same problem, did really search long for the leak as I expected it somewhere else...
Did you find a solution?

Best regards