Page 1 of 1

The launch and operation of Bluetooth by cores

Posted: Thu Nov 07, 2024 7:48 am
by mikl604
Hello everybody!
The configuration states that bluetooth runs on the 0 core. And what exactly is launched from Bluetooth there? For example, I have bluetooth event handlers in my program: "esp_spp_cb" and "esp_bt_gap_cb", designed as functions. Where will they be launched? Is it also on 0 core, or is it on 1 core like everything else?

Re: The launch and operation of Bluetooth by cores

Posted: Thu Nov 07, 2024 8:15 am
by aliarifat794
Bluetooth event callbacks like esp_spp_cb and esp_bt_gap_cb are managed through the ESP-IDF’s event task. It usually runs on core 1 (APP CPU), unless you explicitly configure them otherwise.

Re: The launch and operation of Bluetooth by cores

Posted: Thu Nov 07, 2024 8:46 am
by mikl604
Thank you. And how can they be transferred to the 0 core? Arrange them into separate tasks?