Bluetooth send data timing problem

Hello community,
how can you tell the Bluetooth client that it should only send data if it is not currently receiving data?
greet Stefan

Hallo @Eisenklotz
one way to synchronize the Tx against a RX is to use a clock that polls frequently the incoming line from the BT (i.e. a clock that fires a BytesAvailableTo Receive >0), and as soon as it has received a complete frame, it transmits immediately. This should avoid collisions.
Another way is to put a "semaphore" in your trasmitting device: in other words, the device that transmits to your app, after having transmitted, waits until a "semaphore" character (or handshake) has been received as answer, before tramsitting again. This is possible only if you have access to the code of your transmitting device.