本文介绍了IOTHub示例错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试运行IOTHUB示例并按照文档中提供的说明进行操作。

I have been trying to run the IOTHUB sample and have followed the instructions provided in the documentation.

但是当球体设备尝试向IOTHub发送消息时,它会失败并且:

However when the sphere device tries to send message to IOTHub it fails with:

[Azure IoT] IoTHubDeviceClient_CreateWithAzureSphereDeviceAuthProvisioning返回'AZURE_SPHERE_PROV_RESULT_DEVICEAUTH_NOT_READY'。

设备配置服务和IOTHub已经从我所知道的和应用程序清单中正确配置和链接.json也有正确的端点地址 和设备配置服务范围Id填充

The Device Provisioning service and IOTHub have been provisioned and linked correctly from what I can tell and application manifest.json also has the right endpoint address and Device Provisioning Service scope Id populated

任何想法我需要什么如何让设备为auth做好准备?

Any ideas what I need to do to get device ready for auth?

推荐答案

您能确认安装了4.2.1版吗?该命令的输出是什么  azsphere设备show-ota-status?



来自
教程
可以更好地详细介绍它失败的步骤?我会尝试在我身边重现它。

Can you confirm that you have version 4.2.1 installed? What is the output for the command azsphere device show-ota-status ?

From the tutorial that you are following can you detail better in which step it is failing? I will try to reproduce it on my side.

谢谢!


这篇关于IOTHub示例错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-12 17:36