Skip to main content
1-Visitor
September 4, 2019
Solved

thingworx agent to connect to Azure IoT hub

  • September 4, 2019
  • 1 reply
  • 1728 views

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 ?

Best answer by slangley

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

1 reply

16-Pearl
September 5, 2019

@soumya-hcl 

You may refer to this guide for more information.

Please let us know if this is helpful.

 

Thanks,

Vibhuti

slangleyCommunity ManagerAnswer
Community Manager
September 5, 2019

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

Community Manager
September 12, 2019

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