The software package “IIoT Libraries SL” contains libraries for IIoT communication, and libraries for reading and writing of data structures.
The CODESYS documentation does not serve as a tutorial for setting up and administering a Google Cloud IoT service. |
After the Install, please read the datasheet from the installation folder:
f.e. C:\Users\<USERNAME>\IIoT Libraries SL\<version>\DataSheets\en\Google Cloud IoT Core Client SL_en.pdf
This datasheet gives an overview of the steps required to get started. |
With the MQTT sample application, you must enter all the info (see picture, green boxes) from your Google Cloud account:
Execute the "Execute" button (see image, red box - button).
Now you can use the four functions above.
The correct JSON you should enter, you have to get from the Google Cloud IoT documentation.