Hi there,
I would like to have Web Radio and Bluetooth Speaker mode in a single system. A GPIO button will be used to select between the two, i.e only one is running at any time. The algorithms I would use as below. However, please feel free to comment. I presume by enabling Bluetooth Speaker mode and setting up the WiFI credential will make both binaries available for users.
if WebRadio is set
Deinit BlueTooth
init WiFi hardware
Establish WiFI connection
Get url of station
play incoming data stream
else
Deinit WiFi hardware
init Bluetooth
Establish Bluetooth connectin
play incoming data stream
Any advise or comment, please?
Best regards
vibnwis
ESP32 Web Radio and Bluetooth Speaker Mode
Who is online
Users browsing this forum: Bing [Bot], Dennie and 133 guests