Download file To IoT Edge device

Petr Maslak 61 Reputation points
2021-03-19T09:27:36.24+00:00

Hallo,
is it possible to download greater file to IoT Edge device? Messages can have maximal size of 4KB. I would like to use endpoint of Iot-Hub.
Thank you

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,222 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,156 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sander van de Velde | MVP 31,126 Reputation points MVP
    2021-03-19T22:22:03.89+00:00

    Hello @Petr Maslak ,

    Messages sent from (azure iot edge) devices to the cloud using an IoT Hub are limited to the size of 256KB. These messages are measured in 4KB parts to check the daily consumption limits.

    There are multiple ways to send C2D messages with different limitations:

    1. Direct methods, max size 128KB
    2. desired properties, max size 32KB (shared with other logic; it's not advertised for large chunks of information)
    3. cloud-to-device messages, max size 64KB

    So, you are able to send larger messages.

    Check the pros and cons of all three ways, before you decide what to do.

    This functionality is specialized in secure device registration and D2C / C2D messaging. If you wish to send actual files from the cloud to the edge, you have to bring your own logic implementation.

    0 comments No comments

0 additional answers

Sort by: Most helpful