question

TimHewitt-1055 avatar image
0 Votes"
TimHewitt-1055 asked rkiss answered

Unmodeled data for component with defined telemetry in IoT Central

I've just started using iot central, but am unable to get telemetry sent from my device to be correctly modelled when using an additional component in the device template. Telemetry sent using the default component works, and I believe I have formatted the JSON string correctly but the data still remains as unmodeled.

My component - https://gyazo.com/041dff322a3910b81e29b7fe496bf4a9

Raw data - https://gyazo.com/57e4d5514ae468e9500cccb7ed4fdae0

I'm sending a test string like this (have also tried with "__t" : "c" to specify component)

char *serializedTelemetry = "{\"carTest636\":{\"Temperature\":63.53314544}}";


I also recieve status code 0 when sending the telemtry but not sure if that is related?

Thanks in advance!


azure-iot-central
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

rkiss avatar image
1 Vote"
rkiss answered

See more details here, in the case if the telemetry is defined in the component.

Thanks
Roman


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.