Přeskočit na hlavní obsah

Azure IoT Middleware for Azure RTOS

Azure IoT Middleware for Azure RTOS is a platform specific library that acts as a binding layer between the Azure RTOS and the Azure SDK for Embedded C. Goals of this layer are following:

  • Expose smart client interfaces (IoTHub_Client, DeviceProvisioning_Client) for the customers, to be consumed in their application.
  • Orchestrate the interaction between Embedded C SDK and platform.
  • Provide Azure RTOS platform initialization.
  • IoT Plug and Play support.
  • Security capabilities.
  • Resource limitation aware.
  • Protocol support.

Getting Started​

See the following samples on how to get started on development boards with Azure IoT Middleware for Azure RTOS:

ManufacturerDeviceSamples
STMicroelectronicsSTM32F746GDISCOVERYIAR • STM32Cube
STMicroelectronicsB-L4S5I-IOT01 / B-L475E-IOT01GCC/CMake • IAR • STM32Cube
NXPMIMXRT1060-EVKGCC/CMake • IAR • MCUXpresso
RenesasRX65N-RSK-2MBGCC/CMake • IAR • E2Studio CCRX • E2Studio GNURX
RenesasRX65N-Cloud-KitE2Studio CCRX • E2Studio GNURX
MicrochipATSAME54-XPROGCC/CMake • IAR • MPLAB
MXCHIPAZ3166GCC/CMake

Building​

The Azure IoT Middleware for Azure RTOS is built as part of the NetX Duo. Make sure you have defined the following macros in the CMakeLists.txt or nx_user.h when building it:

ModuleMacros
Azure IoT Middleware for Azure RTOSNX_ENABLE_EXTENDED_NOTIFY_SUPPORT
NX_SECURE_ENABLE
NXD_MQTT_CLOUD_ENABLE

Follow nx_user_sample.h to see how to define these macros in the NetX user header file.

Features​

Azure IoT Middleware for Azure RTOS stays as an addon module for the Azure RTOS NetX Duo. It facilitates the MQTT and TLS stacks that are also as part of NetX Duo addons.

diagram

Basic features​

  • Connect to Azure IoT Hub via MQTT.
  • Support of IoT Hub primitive data format: device to cloud (D2C) message, Device Twins and Direct methods.
  • Support of IoT Plug and Play data format: Telemetry, Properties and Commands.
  • Authentication: SAS Token and X.509 client certificate.
  • JSON parsers.

Device Update for IoT Hub​

Device Update for IoT Hub is an Azure service that enables you to deploy over-the-air updates (OTA) for your IoT devices. The Device Update for IoT Hub agent in the IoT Middleware provides simple APIs for device builders to integrate the OTA capability easily.

See the samples of semiconductor's hero development boards with detailed guides to learn configure, build and deploy the over-the-air (OTA) updates to the devices.

APIs​

Need Help?​

Find support channels in the Resources list.

Licensing​

View Licensing of Azure RTOS NetX Duo.