Hi,
we are using a sensor which streams out buffered data to an ios or android app. If we face a disconnection the data gets buffered and send when reconnected.
But the issue is that the smart device detects the disconnection quiet early while the sensor still thinks it is connected and still acknowledges the sending via NUS.
Since these packages are acknowlegded but not received by the App the data is lost.
It takes several 100 miliseconds until the sensor detects a disconnection. Is there something I am missing. During normal sending the return value
NRF_ERROR_RESOURCES just indicates fine when the package was successfully transferred but short before the disconnect it fails.
Best regards,
Constantin