Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

How to send a 'delivery acknowledgement' from ESP8266 device? #76

Open
uckoo opened this issue Mar 11, 2018 · 1 comment
Open

How to send a 'delivery acknowledgement' from ESP8266 device? #76

uckoo opened this issue Mar 11, 2018 · 1 comment

Comments

@uckoo
Copy link

uckoo commented Mar 11, 2018

Hi,

I am able to successfully run the simplesample_mqtt. Thank you. I have used this method #59

But now, can anyone help me on how to send a Cloud-to-device "delivery feedback"?

I am referring to this below document where it talks about this function.
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-csharp-csharp-c2d

Also, is there a way I can customize this deliver feedback which can send data as "running", "stopped", "starting" kind of custom messages?

Thank you any reference to the example or approach would be appreciated!

@ftaibi
Copy link

ftaibi commented Oct 12, 2020

Hi there,

Have solved this?

Im trying to implement C2D in my Arduino

I have everything done, I can send telemetry but I cant receive the message from Direct Method from the device options in Azure portal.

Result:
{"message":"Device {"Message":"{\"errorCode\":404103,\"trackingId\":\"cbbb8d4b7e384991a9a940b2752dbae5-TimeStamp:10/12/2020 03:04:54\",\"message\":\"The operation failed because the requested device isn't online or hasn't registered the direct method callback. To learn more, see https://aka.ms/iothub404103\\\",\\\"info\\\":{\\\"timeout\\\":\\\"00:00:57\\\"},\\\"timestampUtc\\\":\\\"2020-10-12T03:04:54.2139532Z\\\"}\",\"ExceptionMessage\":\"\"} not registered"}

Cheers

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants