-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
esp_bt_init falied : 259 #11181
Comments
is |
I see it being called here: https://github.com/pschatzmann/ESP32-A2DP/blob/8b29acb85bf5edeb321c2c0cd234a29661eb4f45/src/BluetoothA2DPCommon.cpp#L400 Does the sketch work in Arduino IDE? |
Yes it works on Arduino IDE |
Nope still the same error. If I am correct we only remove the duplicate call from esp32-hal-bt.c ? |
No it removes the weak trickery. It solved the issue for this example https://github.com/pioarduino/test-rainmaker/tree/wifiprov |
btw. latest Arduino master needs IDF 5.4! |
I see , I was under the impression that IDF version > 5.3 should suffice, will check for the same |
Checked with your code (commented the SD part...) and my PR. Sample code is here https://github.com/Jason2866/audio-tools-test/tree/issue11181
|
That is quite strange, so is the SD part causing a bluetooth issue? |
No, everything is working. Don't have a board with a SD Card for testing. SD Card code needs to be commented for avoiding errors stopping at this code part without a connected SD Card. |
Sorry for my previous comment, this commit indeed works and weak attributes seem to be the problem. Closing this issue as resolved. |
@me-no-dev The issue is not fixed. |
Closed because "Closing this issue as resolved." was stated. I do know we still need to fix this for component and pioarduino |
Board
ESP32 CHIP
Device Description
ESP32 One : https://www.waveshare.com/wiki/ESP32_One
Hardware Configuration
OV2460 Camera with SD Card reader, Classic BT and TLS enabled
Version
latest master (checkout manually)
IDE Name
ESP-IDF v5.3
Operating System
Windows 11
Flash frequency
40 Mhz
PSRAM enabled
yes
Upload speed
115200
Description
I am currently using an A2DP library : https://github.com/pschatzmann/arduino-audio-tools
This library need arduino-eps32 to run some of it's program and also i had initially written my code on Arduino IDE and then migrated to ESP-IDF.
I went through this related issue with the same error : #3436
This has put me in doubt that if the issue above is solved in the latest version of esp-idf , if not , there is a workaround provided in the issue but I am not sure how to use it in my case.
Sketch
Debug Message
Other Steps to Reproduce
Pleas apply this configuration: https://github.com/pschatzmann/ESP32-A2DP/wiki/Espressif-IDF-as-a-Component
and it should lead you to the error i am stuck with.
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: