Hello,
in our project we have a nRF52840DK as Central and a custom nRF52832 board as Peripheral. The software on the Central is based on the ble_app_uart_c example and the software on the Peripheral is based on the ble_app_uart example. So we are using the NUS to send data over BLE.
We want to expand our software on the Peripheral. For this we need to check, if there are already NUS Packets in the TX Buffer before we call the ble_nus_data_send(...) function and add a new packet.
Can you please tell us, how to implement this properly?
Thank you very much in advance.