Quickstart: Defender-IoT-micro-agent for Azure RTOS
This article provides an explanation of the prerequisites before getting started and explains how to enable the Defender-IoT-micro-agent for Azure RTOS service on an IoT Hub. If you don't currently have an IoT Hub, see Create an IoT hub using the Azure portal.
- ST STM32F746G Discovery Kit
- NXP i.MX RT1060 EVK
- Microchip SAM E54 Xplained Pro EVK
Download, compile, and run one of the .zip files for the specific board and tool (IAR, semi's IDE or PC) of your choice from the Defender-IoT-micro-agent for Azure RTOS GitHub resource.
The next stage for getting started is preparing your Azure resources. You'll need an IoT Hub and we suggest a Log Analytics workspace. For IoT Hub, you'll need your IoT Hub connection string to connect to your device.
IoT Hub connection
An IoT Hub connection is required to get started.
Open your IoT Hub in Azure portal.
Navigate to IoT Devices.
Copy the IoT connection string to the configuration file.
The connections credentials are taken from the user application configuration HOST_NAME, DEVICE_ID, and DEVICE_SYMMETRIC_KEY.
The Defender-IoT-micro-agent for Azure RTOS uses Azure IoT Middleware connections based on the MQTT protocol.
Advance to the next article to finish configuring and customizing your solution.