我有
STM32H723ZG 板。我想连接到 Azure IoT Hub 并从此 STM32H723ZG 发送遥测数据,
Azure IoT 中心和设备已在 Azure 门户中创建。
我下载了 x-cube-azrtos-h7。但是我找不到连接到 Azure IoT 中心的示例。
我找到了样本
https://github.com/azure-rtos/samples。但这是 STM32F746G-DISCOVERY 的示例。
此示例使用 sample_azure_iot_embedded_sdk.c。x-cube-azrtos-h7 在 MiddlewaresSTnetxduoaddonsazure_iotsamples 中也有这个。
但我不知道如何在带有 STM32CubeIDE 的 x-cube-azrtos-h7 中使用它。
如何使用 MiddlewaresSTnetxduoaddonsazure_iotsamples?
如何使用 x-cube-azrtos-h7 连接到 Azure IoT 中心?