Thanks for everything @risolis ,
For anyone passing by, removing the module Id from the config file is the solution as the new device created by DPS has no module as a default.
P.
MQTT connection refused ESP iot kit Sample Code
Pierre C
6
Reputation points
Hello,
I tried to use https://github.com/Azure-Samples/iot-middleware-freertos-samples/tree/main/demos/projects/ESPRESSIF/aziotkit to get my ESP connected to Azure Iot Hub. I am running it on a custom board but the structure is very close to what is on the AZIOTKIT.
I don't understand why the MQTT is unauthorized after the first successful step of the DPS. The ESP crashes on the assert after that.
You can find the log below:
00:30:48.328 -> [0;32mI (11509) sample_azureiotkit: Waiting for time synchronization with SNTP server [0m
00:30:52.973 -> W (16139) wifi:
1 answer
Sort by: Most helpful
-
Pierre C 6 Reputation points
2022-05-24T06:56:42.25+00:00