The launch and operation of Bluetooth by cores

mikl604
Posts: 26
Joined: Thu Aug 24, 2023 3:15 pm

The launch and operation of Bluetooth by cores

Postby mikl604 » Thu Nov 07, 2024 7:48 am

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?

aliarifat794
Posts: 180
Joined: Sun Jun 23, 2024 6:18 pm

Re: The launch and operation of Bluetooth by cores

Postby aliarifat794 » Thu Nov 07, 2024 8:15 am

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.

mikl604
Posts: 26
Joined: Thu Aug 24, 2023 3:15 pm

Re: The launch and operation of Bluetooth by cores

Postby mikl604 » Thu Nov 07, 2024 8:46 am

Thank you. And how can they be transferred to the 0 core? Arrange them into separate tasks?

Who is online

Users browsing this forum: No registered users and 49 guests