Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defining system properties on iotMessage #26

Open
olaplassen opened this issue Aug 6, 2021 · 0 comments
Open

Defining system properties on iotMessage #26

olaplassen opened this issue Aug 6, 2021 · 0 comments

Comments

@olaplassen
Copy link

Hi,
Is it possible to define contentEncoding(ex: "utf-8") and contentType(ex: "application/json") on the message sent to IoTHub?

I am currently working on an digital twin setup where i am using an ESP32 with a BME280 sensor, where IoThub fires an event which runs an Azure function which in turn updates my digital twin values. I am able to publish the messages to IoThub but my function cant read them because the encoding an contentType isn't defined.

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant