AZ3166 MXChip DevKit:未接受连接:0x5:未授权 [英] AZ3166 MXChip DevKit: Connection Not Accepted: 0x5: Not Authorized

查看:104
本文介绍了AZ3166 MXChip DevKit:未接受连接:0x5:未授权的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

仔细跟踪(重复两次)所有先决条件并成功连接到Azure IoT Hub。 上载了入门示例的设备代码(将IoT DevKit传感器数据发送到物联网中心)并在最后一步中出现以下错误:

Carefully followed (repeated twice) all prerequisites and successfully connected to Azure IoT Hub.  Uploaded Device Code for Get-Started Example (send the IoT DevKit sensor data to the IoT Hub) and getting following error in final step:

[启动]打开串口 - COM4

[信息]打开串口 - COM4

2019-02-09 06:31:12信息:  >>> IoTHubClient_LL_SendEventAsync接受消息传输到IoT Hub。

2019-02-09 06:31:17错误:文件:C:\ Users \v-zuhu \ AppData \本地\ Arduino15 \ packagesages \ AZ3166 \ hardware \stm32f4 \1.6.0 \cores \ carduino \azure-iot-sdk-c \iothub_client \src \ iothubtransport_mqtt_common.c Func :mqtt_operation_complete_callback行:1724,未接受连接:
0x5:未授权

[完成]关闭串口

[Starting] Opening the serial port - COM4
[Info] Opened the serial port - COM4
2019-02-09 06:31:12 INFO:  >>>IoTHubClient_LL_SendEventAsync accepted message for transmission to IoT Hub.
2019-02-09 06:31:17 ERROR: File:C:\Users\v-zuhu\AppData\Local\Arduino15\packages\AZ3166\hardware\stm32f4\1.6.0\cores\arduino\azure-iot-sdk-c\iothub_client\src\iothubtransport_mqtt_common.c Func:mqtt_operation_complete_callback Line:1724, Connection Not Accepted: 0x5: Not Authorized
[Done] Closed the serial port

无法解决此问题。  ;任何帮助将不胜感激。

Unable to resolve this.  Any help would be much appreciated.

推荐答案

请检查

检测并解决与Azure IoT中心的断开连接问题
,看看它是否有助于解决问题。

Please check the Detect and troubleshoot disconnects with Azure IoT Hub and see if it helps to resolve the issue.

这篇关于AZ3166 MXChip DevKit:未接受连接:0x5:未授权的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆