node.js - How to make use of Function Apps for Azure IoT Hub? -


so i've been trying generate small function app (in js) responds message sent azure iot hub. output simple console log. however, unable load event hub compatible end point of iot hub trigger (the option available create new event hub). how proceed? code device send azure' iot hub working , able view messages via device explorer tool.

you need create new event hub connection , use event hub-compatible endpoint iot hub messaging section. need change match service bus connection string format - "endpoint=[your iot hub compatible end point];sharedaccesskeyname=[your key name];sharedaccesskey=[your key];entitypath=[your event hub compatible name]"

key name , key can taken "shared access policy" section.

good luck


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -