Machine automation and IoT use various APIs for communication with each other.
I like to say that you cannot have IoT without sensors. They truly define IoT. Sensors are everywhere these days. Cars, lights, and mobile phones all have a myriad of sensors. Laptop computers have led, light, touch, and proximity sensors.
MQTT and WebSockets are communication and messaging protocols. One use of them is to send sensors to remote locations.
You will learn about using Qt APIs for machine-to-machine automation and communication to web applications using the QWebSocket and QWebSocketServer classes.
MQTT is a publish-and-subscribe-based TCP/IP protocol for sending sensor data over a limited bandwidth network using QMqttMessage to a QMqttClient and QMqttSubscription.
We will be covering the following topics:
- Sensory control - QtSensor data
- WebSockets...