Azure / azure-sdk-for-c

This repository is for active development of the Azure SDK for Embedded C. For consumers of the SDK we recommend visiting our versioned developer docs at https://azure.github.io/azure-sdk-for-c.
MIT License
224 stars 120 forks source link

What MQTT library is being used in the paho iot hub twin device sample #2570

Closed OhmV-IR closed 1 year ago

OhmV-IR commented 1 year ago

I am trying to integrate twin device properties into my device code but I have found that this sample uses a different MQTT library and I couldn't find the file in the repo. I am using platformIO and vscode and was wondering where I could find the .h file to import into my project. (https://github.com/Azure/azure-sdk-for-c/blob/main/sdk/samples/iot/paho_iot_hub_twin_sample.c)

RLeclair commented 1 year ago

Hi @boura0013, this sample uses the paho mqtt library which is obtained via vcpkg. You can take a look at our sample instructions to see how we do it: https://github.com/Azure/azure-sdk-for-c/tree/main/sdk/samples/iot.

RLeclair commented 1 year ago

Hi @OhmV-IR, closing this issue because it has been 3 weeks since the last response.