Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Is it possible to connect a Thingworx agent( made by the c sdk) to send messages to Azure IoT hub. If we have to connect Thingworx agent based devices with Azure then how it should be done ?
Solved! Go to Solution.
Hi @soumya-hcl.
To answer your original question, it's not possible to use our SDK to send messages directly to the Azure IoT Hub. You would need to use an SDK that talks with the Azure IoT Hub to accomplish this. As Vibhuti stated, we do have an IoT Hub connector that allows you to interact with the Azure IoT Hub, but this interaction is between ThingWorx platform (not an agent) and the Azure IoT Hub.
Regards.
--Sharon
You may refer to this guide for more information.
Please let us know if this is helpful.
Thanks,
Vibhuti
Thanks Vibhuti.
Probably you did not understand my query. I am looking for connectivity between a device which is running a ThingWorx sdk based agent with Azure IoTHub. The guide which you shared lets connect Azure SDK based devices to connect to ThingWorx. I am looking for the reverse.
Hi @soumya-hcl.
To answer your original question, it's not possible to use our SDK to send messages directly to the Azure IoT Hub. You would need to use an SDK that talks with the Azure IoT Hub to accomplish this. As Vibhuti stated, we do have an IoT Hub connector that allows you to interact with the Azure IoT Hub, but this interaction is between ThingWorx platform (not an agent) and the Azure IoT Hub.
Regards.
--Sharon
Hi @soumya-hcl.
If one of the previous responses answered your question, please mark the appropriate one as the Accepted Solution for the benefit of others with the same question.
Regards.
--Sharon