Azure IoT Hub/IoT Central messages using multiple time stamps

Andirly 16 Reputation points
2022-05-19T11:47:13.357+00:00

Hello,

I'm going to have the following scenario where I'm ingesting data every 5s into IoT Central (IoT Hub). The containing data block consists of multiple data points of which each is supposed to have their own time stamp.

Is there a certain format I have to follow so IoT Central is correctly interpreting the individually time-stamped telemetry in the block? If so, can someone point that out to me.

Thank you in advance.

Andy

Azure IoT Central
Azure IoT Central
An Azure hosted internet of things (IoT) application platform.
359 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
{count} votes

1 answer

Sort by: Most helpful
  1. Sander van de Velde | MVP 31,116 Reputation points MVP
    2022-05-19T12:12:31.287+00:00

    Hello @Andirly ,

    you are sending a custom message containing multiple 'sub' messages to the cloud.

    Compared to the IoT Hub offers IoT Central some additional mapping but I'm not sure if this can be used to 'split' your message.

    The IoT Hub handles an incoming message as-is so if you want to split your message into multiple messages, you need to add extra logic after the IoT Hub (for example, Azure Stream Analytics is a great solution for this).

    Next to that, the Azure IoT Hub offers message batching using the Azure IoT Device SDKs (features can differ per programming language eg. C#).

    Then two or more messages can be batched on the device and sent to the IoT Hub. This will slow down the ingest (only when the required batch is collected, the application will send the messages) but makes more efficient use of the number of daily messages supported by your hub.

    The IoT HUb will do the splitting of the individual messages as part of this batching solution.