Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To be able to send test messages to the Azure IoT Hub, a device has to be registered. See the following example of the Azure Portal where on the IoT device a device has been registered called "deltares-test-iot-device".


When looking at the details of a client registration, among others the Primary or Secondary connection string can be determined and used for testing.



There are different ways to test the import. 

...

Microsoft Visual Studio Code has a IoT Hub extension that can be used to send Device to Cloud messages (D2C messages). See the following screenshot to see how to send a D2C message from the test client.


Azure IoT Hub Tester

See: https://www.codeproject.com/Articles/1173356/Azure-IoT-Hub-Tester

With this tool a connection can be made to the IOT hub using the primary or secondary connection string that is given with the client registration. 

Info

The namespace is NOT the name of the iot client, but the name of the iot hub. In this case: delft-fews-iot-hub


Image Added

Once connected, test message can be sent with the tool

Image Added