iothub icon indicating copy to clipboard operation
iothub copied to clipboard

C2D Commands should be completed

Open reddyduggempudi opened this issue 4 years ago • 3 comments

C2D commands are getting notified in the client. But, as per the protocol, client application is expected to "Complete" the message so that it will be deleted from the queue.

E.g.: in .NET SDK https://github.com/Azure/azure-iot-sdk-csharp/blob/master/iothub/device/src/DeviceClient.cs#L362

reddyduggempudi avatar Feb 25 '21 05:02 reddyduggempudi

For that we would need to get a lock token for each message, I'm not sure where from.

amenzhinsky avatar Feb 26 '21 15:02 amenzhinsky

Let me find out from our SDK team and let you know.

On Fri, Feb 26, 2021 at 7:30 AM Aliaksandr Mianzhynski < [email protected]> wrote:

For that we would need to get a lock token for each message, I'm not sure where from.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/amenzhinsky/iothub/issues/45#issuecomment-786717301, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB5273ZENQRYOJ74VDDCM53TA65C7ANCNFSM4YF2Z46Q .

reddyduggempudi avatar Feb 26 '21 15:02 reddyduggempudi

@reddyduggempudi did you find out?

martinwebrant avatar Nov 28 '22 14:11 martinwebrant