I'd like to know if this is possible more than anything - then maybe steps on how to accomplish it.
I have a Pi with a camera, this should take a picture and upload to a blobContainer using azure iot hub
I want to be able to process that image, but also send a message back to the device. i.e - I need to know the DeviceId then send a message back to the device (Pi). I want to achieve this step using an Azure Function... I was previously able to send messages D2C, process in azure functions then (C2D) send back a message to the device in question like in this link
http://www.10thmagnitude.com/tech-blog/step-step-guide-creating-functions-within-azures-iot-hub/
I need to be able to know the device an image came from - can this be done?
EventData
that you receive? – Mikhail Shilkovstring
type toEventData
in your function argument (step 5) to get message metadata – Mikhail Shilkov