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

Receiving properties with message from Azure IOT hub #6

Open
JB-Mars opened this issue Jul 2, 2018 · 1 comment
Open

Receiving properties with message from Azure IOT hub #6

JB-Mars opened this issue Jul 2, 2018 · 1 comment

Comments

@JB-Mars
Copy link

JB-Mars commented Jul 2, 2018

Hi, I can receive the message when sending a message from the Azure IOT hub to the ESP32 but cannot figure out how to retrieve the properties (key/value) that's part of the message, only thing returned is (const char* payLoad, int size) and payLoad only contains the message. Please see image below, thank you:

image

@lirenhe
Copy link
Contributor

lirenhe commented Jul 20, 2018

Please follow this example on how to get properties for c2d message: https://github.com/Azure/azure-iot-sdk-c/blob/master/iothub_client/samples/iothub_ll_c2d_sample/iothub_ll_c2d_sample.c

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

2 participants