The example shows an implementation of MQTT Subscriber. For details please refer to the documentation.
Before you begin, ensure that you have met the following requirements:
You have installed the latest version of KasperskyOS Community Edition
You have Debian GNU/Linux "Buster" 10 x64
To build the example and run the resulting image use the cross-build.sh script. A static IP address 10.0.2.2 is set for Mosquito broker using env variable MQTT_BROKER_ADDRESS. You can change the broker's address in the file env/src/env.c according to your network configuration.
© 2022 AO Kaspersky Lab