Communicating between Greengrass components
This section aims to build and deploy a few components, pull data from our Modbus simulator, and send it to IoT Core in the cloud. This section is going to be a little like drinking from a firehose. It is just a lot of information poured into one chapter. Because of this, we will gloss over information that can easily be gathered from online resources and focus on the solution’s core. Less technical readers will gain a lot from this as it bypasses some of the minutiae of deploying components. More technical readers will need to spend additional time researching some of the steps we outline, but not in much detail.
The basic steps we will take are as follows:
- Modbus Request component: Build and deploy a component requesting data from the Modbus slave.
- Modbus TCP component: Deploy a function to query the simulator and retrieve the data.
- Modbus Response component: Look at two options to retrieve the simulator data...