how stop bluetooth #592
-
sir , bluetooth rsv audio is working but later at some point need to connect esp with with wifi so before connecting wifi how to off the blue tooth ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
The best way is to restart the ESP32 (e.g. with ESP.restart()). |
Beta Was this translation helpful? Give feedback.
-
You obviously try to output some audio where the audio format is not known. Why don't you just configure it with a default value ? |
Beta Was this translation helpful? Give feedback.
The best way is to restart the ESP32 (e.g. with ESP.restart()).
This is the only way to make sure that it is in a clean state. Just closing A2DP does not release all memory or it leaves it in a state where A2DP can not be started any more...