Open uckoo opened 6 years ago
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
Hi,
I am able to successfully run the simplesample_mqtt. Thank you. I have used this method https://github.com/Azure/azure-iot-arduino/issues/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!