Hello,
I have an application where I send the data I receive over UART, directly to a phone connected with BLE. However, the BLE connection is often not fast enough to send the large quantities of data I receive on my UART lines. This results in buffers being overrun inside my application. Currently I have hardware flow control enabled, interrupts enabled, and I'm not using the HAL layer of the SDK. Because of the interrupts, the hardware flow control is not signaling the sender of the data that it has no more space left to buffer the incoming data.
My question is: can I somehow tell the UART driver to halt reading until the data has been send via BLE while using interrupts, do I have to implement the RTS and CTS toggling myself, or is there a better way to fix this, preferably without having to rewrite the interrupt way of receiving data over UART.
Thanks in advance!
(SDK v16.0.0)