This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Will sending large data to mobile phone block other task?

Hi all,

I am working on a project which receives data from UART (15 bytes at every 40ms interval). I want to store 1 minute of data on the NRF52832 RAM before sending it to a mobile phone.

This can be quite a lot of data to transfer and I am planning to use the ble_app_uart example. I believe it will take quite some time to transfer this data to the mobile phone. But at the same time while data is sent to the mobile phone, I want to continue and receive data via UART at every 40ms.

So my question is, while there is an active connection and there is data transfer via BLE to a mobile phone, can the UART interrupt the connection?

Otherwise, is there another better strategy for this? Ultimately, I have 15 bytes of data coming from UART every 40ms, and I want to send this data to a mobile phone. I hope to fill up a large buffer first then send out the data.

Thanks in advance.

Related