Page Tree
Other Releases
...
To verify that data is flowing from the MQTT Driver to the cloud-based Azure IoT Hub, right click on the device and select ”Start Monitoring Built-In Event Endpoint”.
On In your Project’s project’s Engineering Environmentenvironment, navigate to Devices > Channels Devices>Channels and add a new MQTT channel.channel
On Devices > NodesIn Devices>Nodes, add a node for the newly created MQTT Channel. The Primary Station configuration is done as follows:
Code Block |
---|
URL = <Host Name> Port = <Port Number> Client ID = <Device Id> Username = <Host Name>/<Device Id> Password = <SAS Token> TLS Version = <TLSv1.0> X059 Certificate = <Certificate thumbprint> (optional) QoS = <Quality of Service> Keep Alive = <Message sent to Broker to prevent the link from being broken> (in seconds) |
For our the IoT Hub and Device device configured in VSCode, the parameters are as follows.
Code Block |
---|
URL = TatsoftTestHub.azure-devices.net Port = 8883 Client ID = NewDevice Username = TatsoftTestHub.azure-devices.net/NewDevice Password = SharedAccessSignature sr=TatsoftTestHub.azure-devices.net&sig=pzzXCZK%2 BQ6dJUe2Hf1SptTR1oPMbfyip0K9M4TQPZc4%3D&skn=iothubowner&se=1593008673 TLS Version = <TLSv1.0> X059 Certificate = QoS = AtMostOnce Keep Alive = 1 |
Lastly, on Devices > Points the Address Finally, in Devices>Points, the address information is filled according to the syntax below
...