acquire a semaphore for the esp32 antenna (bluetooth/wifi dualmode)
I am trying to build a esp32 application, where I have bluetooth and wifi enabled at the same time. Bluetooth is used with the a2dp profile, where the esp is a sink. After receiving the data, it should be published over a UDP socket as a broadcast to the network. The problem is the antenna. Both bt and wifi are sharing it. The a2dp stream seems to permanently acquiring the antenna and releasing it very rarely (~2 packages/min, I have ~3000 packages/min). So my question: Is there some kind of semaphore, which can be acquired to have the full control over the antenna? So my socket would be able