简体   繁体   中英

Azure Iot Hub Device to Cloud Communication with Backend

Hi i already have cloud to device communication through Direct Methods. Now I want to setup Device to Backend Communication through Iot Hub , I have read we can do this with device to cloud communication but is there any way we can route these messages to backend app that is my web api.

is there any way we can route these messages to backend app that is my web api.

Your app can consume the messages directly using the EventHub APIs , or create an Azure Function with an Event Hub Binding .

In addition to David's answer, the following screen snippet shows forwarding a telemetry data to the Web App using the Azure Event Grid ( Push-Push Pattern ) with different subscribers such as the Hybrid Connection , WeebHook and EventGridTrigger function with a SignalR Service output binding:

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM