I need to send a 30 second audio file that is saved on the esp32d via Bluetooth to a Bluetooth connected speaker.
So I need help making the 32d connect and stay connected to the Bluetooth speaker. Then when it receives a signal on pin 16 it will transmit the 30 second audio file to the speaker playing it.
It needs to stay connected to the speaker at all times if the speaker is turned off the 32d needs to go in to be able to reconnect automatically to the speaker when the speaker is turned on with out any other action from the user.
The speaker is the same always so I have a list of the bt devices that it needs to be able to connect to.
I NEED THE CONNECTION TO THE SPEAKER TO BE RELIABLE AND 100% always working with out connection issues or disconnecting
We have to be able to get code on our devices to verify if is successfully working
Will need the code in a format that we are able to load it onto the 32d board via micro usb connection
- UART COM on our pins (or only on the RX pin) to receive a string and check its value.
- If it is PLAY and if BT is connected, play the audio.
- if it is STOP, the BT is connected and the audio is been played, stop playing the audio.
and a SPIFFS to store the audio file
This is a simple project so should take less than a day. Bonus will be paid if after testing code works flawlessly and delivered in less than 24 hours