Azure/azure-iot-sdk-csharp

How do I send data stored in array (floating type) from my robot to IoT hub? [Technical Question]

addy1997 opened this issue · 0 comments

Hello there,

Azure-IoT-Preview
This figure shows data received at the IoT hub (a screenshot of Azure Iot preview)

Telemetry-sent-using-SDK
This figure shows the telemetry data being sent to the hub.

This data includes:

  1. RobotState (a string data type) - Sent successfully and received at the hub
  2. JointName(an array of string data type) - Sent successfully but received at the hub in System.Single[] form
  3. JointPose(an array of arrays of floating point data) - Not sent successfully and received in System.Single[][] format.

My query:
How do I send string and array (multi dimensional) array as telemetry to the hub?

Note: I am reading robot's joint data which is a 1x16 matrix from a CSV file. I'll be happy to provide more details including the code if required.

I'll be thankful for any guidance.

Thanks