What is the internal method to play audio in hfp_hf? (IDFGH-13872) #14718
Labels
Resolution: Done
Issue is done internally
Status: Done
Issue is done internally
Type: Feature Request
Feature request for IDF
Is your feature request related to a problem?
No response
Describe the solution you'd like.
Hello,
I am trying to create something similar to a Bluetooth answering machine using hfp_hf. The main function would be to automatically answer calls from my Android phone and play a greeting message stored in a WAV file on the SD card connected to the ESP32. The message will be played to the caller as if someone is speaking into the microphone, and immediately after playing the message, the call will be terminated.
I have already managed to automatically answer the call and initialize the SD card in the ESP32 code, but I have not found a method to play the 'greeting.wav' file for the caller.
Since the project is only about automatically answering, playing the greeting, and hanging up the call, I am trying to keep it as simple as possible by only using the ESP32 and an SD card module.
Is there a method I can use to play 'greeting.wav' within the ESP32 with hfp_hf so that the caller can hear it right after the code answers the call, without using any external peripherals?
Describe alternatives you've considered.
No response
Additional context.
No response
The text was updated successfully, but these errors were encountered: