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

1-Visitor
September 5, 2019

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.