MQTT Client - publish or subscribe JSON
An iX script module that shows how to connect to a Mosquitto MQTT Broker and publish a JSON object “MachineData” containing 10 Tags, DeviceId and TimeStamp to the subscribed topic. Tag.
Target device: X2 series, C2 series and iX PC RT (iX Runtime)
This is an enhancement to give iX users the possibility to connect to a MQTT Broker via MQTT protocol. The MQTT client subscribes to 1 topics and writes a JSON object to the topic.
The JSON object (class “MachineData”) consists of 10 iX Tags + TimeStamp and DeviceId.
The MQTT client can optionally work with certificates and different encryption protocols (SSLv3, TLSv1.0, TLSv1.1, TLSv1.2).
• Package V1.0.0 is the first version.
• iX Developer 2.40 SP5 / SP6
• X2 series, C2 series, iX PC RT (iX runtime)
The zip file contains a iX sample project with script module and a quick start guide:
• SER0053_V1.0.0_iX_MQTT_Client_JSON.zip (iX application folder)
• SER0053_QS_iX_MQTT Client-JSON_V1.0.0-EN.pdf
Free for United Extended
level and above.
Read more about the UNITED partner program: click here
If you previously downloaded the package file from SmartStore, find the download link in submenu My account > My apps, when logged in!