2

I am working on IoT Technology. I have doubt as I developed an IoT Project which is sending different sensors data to the Azure IoT Hub.

Next I bought one more Raspberry Pi 2 device and deployed my application into it. This new device can’t send sensors data to my IoT hub because, in my application, I have written a connection string for only one device.

So, there is only one chance is to edit my code but I want, without disturbing my existing code, to register my new device with my IoT hub. After deploying my application into this Pi I will then send the sensors data to IoT hub.

Please tell me how I can achieve the above scenario.

goobering
  • 10,750
  • 4
  • 40
  • 64
Pradeep
  • 171
  • 4

0 Answers0