Each thing has its own compute module running a software and can be connected with multiple sensors or other devices • Things can be controlled or monitored remotely, not necessarily from the same physical network or location • Approach when the data is being preprocessed by a thing and then sent to the cloud/hub/control software is called edge computing.
• Authentication and authorisation are required by the standard, but are implementation-specific • Transport level security is recommended by the standard. TLS is suggested
the following command: mosquitto_sub -h localhost -t "testme" -v In another one, execute the following command mosquitto_pub -h localhost -t "testme" -m Hello This will send a “Hello” message to the “testme” topic. If everything was configured correctly, the window running the mosquitto_sub command will show the “Hello” message.
It can be whatever • MQTT is a really simple protocol • Arduino IDE can be a great tool for extremely fast prototyping, even for non-Arduino devices • Pick a right tool, not the “only true” tool for the task. No need to reinvent the wheel, especially for prototyping