Hi,
I am running peipheral_uart sample with nRF connect 1.9.1 . After running the sample for 10-15 min, I start getting the following error
"Not able to allocate UART send data buffer"
Is there any fix available for the same?
Hi,
I am running peipheral_uart sample with nRF connect 1.9.1 . After running the sample for 10-15 min, I start getting the following error
"Not able to allocate UART send data buffer"
Is there any fix available for the same?
You get that message when the heap has no more memory left to allocate. Previous allocations are freed up once the received UART data has been sent to the receiving Central BLE device. So basically your UART is receiving more data over time than can be sent over BLE.
How much UART data are you receiving ? Large bursts of received UART data ?
By default, the "peripheral_uart" sample project is not set up optimized/faster throughput on the BLE link.
If your Central BLE device supports you can improve the BLE throughput.
You get that message when the heap has no more memory left to allocate. Previous allocations are freed up once the received UART data has been sent to the receiving Central BLE device. So basically your UART is receiving more data over time than can be sent over BLE.
How much UART data are you receiving ? Large bursts of received UART data ?
By default, the "peripheral_uart" sample project is not set up optimized/faster throughput on the BLE link.
If your Central BLE device supports you can improve the BLE throughput.