Closed bhnaphade closed 2 years ago
May I ask you which SDK or library are you using to send telemetry?
This is without SDK, my setup includes Cellular modem connected to COM port terminal on PC and I am sending AT commands to publish message
I am seeing this as well. The SDK in use is the JavaScript library.
+1
Hi, After version 0.14.7, we have updated the Event Hub's SDK for telemetry monitoring, where their older SDK has been depcreated. The message body type in their SDK is now an 'any' type.
Explorer will be showing the body as is without any conversion as a dev tool to reveal what's truly under the cover. If you are sending the string properly, we will be able to show it properly as well.
For example, I am sending az iot device simulate --device-id test1 --login "
We will release 0.14.10 soon to revert this sdk change.
Tested on 0.15.0, still get decimal numbers output when publish string.
az iot device send-d2c-message -n igstesthub -d igstestdevice --data "\nHELLO"
{ "body": { "0": 92, "1": 110, "2": 72, "3": 69, "4": 76, "5": 76, "6": 79 }, "enqueuedTime": "Mon Oct 24 2022 14:09:37 GMT+0800 (台北標準時間)" }
Test env: az version { "azure-cli": "2.39.0", "azure-cli-core": "2.39.0", "azure-cli-telemetry": "1.0.6", "extensions": { "azure-iot": "0.15.0" } }
The telemetry data displays messages in ascii associated decimal numbers instead of Characters that were sent.
This message should display "Hello" but is shows up as decimal values for each character.
I had v013.5 previously , which showed messages in characters.