Hello,
I'm working on an application that uses the aws_iot_send function (https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/networking/aws_iot.html). I want to ensure that no data is lost as the function sends to an AWS endpoint, which is then routed via a rule to a dynamoDB table. I handle the error for the return value of the aws_iot_send function, but was wondering what this guarantees. I also have the QOS level set to send at least once.
What does the 0 error code guarantee? Is it possible that a 0 error code is generated but the data was not received by the endpoint or that the rule failed? Or is it safe to clear the data once the 0 has been received?
Thanks!